开机出现以下类似代码
[3.034163] XFS (dm-0):Failed to recover intents
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.
最开始以为是自己内存满了,去查看占用内存后发现才占了一半。
后面觉得应该是之前的电脑强制关机导致的错误。
于是输入
journalctl
然后出现信息后一直按空格到末尾,会出现XFS()的信息,
观察XFS()里面是什么内容就在末尾输入什么(我这个是XFS(dm-0)
)
xfs_repair -v -L /dev/ dm-0
最后等待修复完成 输入reboot重启就好了
