833 B
833 B
本文作者:丁辉
Linux启动进入急救模式
报错如下:
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report.
:/#
问题分析:
XFS(dm-0)有元数据损坏。
问题解决方案:
-
查看系统日志
journalctl -r
日志如下
# 查看红色报错()内名称 XFS (dm-0):****** # 或如 vda1 类报错
-
使用()内名称查询对应映射区
ls -l /dev/mapper
-
xfs 修复
xfs_repair -v -L /dev/dm-0
-
最后退出急救模式重启启动成功
完美解决