Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centos8虚拟机强制断电关机后XFS dm-0报错 :Generating “/run/initramfs/rdsosreport.txt” #170

Open
Zakariyya opened this issue Dec 8, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Zakariyya
Copy link
Owner

首先开机后显示下面信息

Generating “/run/initramfs/rdsosreport.txt”
“Entering emergency mode. Exit the shell to continue”
“Type ‘journalctl’ to view system log.”
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 dm-0 internal error ibtrec->ir_freecount !=1……

百度了半天没弄好,最后参考这个教程弄好的:https://www.jianshu.com/p/4b88b8e95690

我的修复流程:

xfs_repair /dev/dm-0

提示xfs_repair: cannot open /dev/dm-0: Device or resource busy

原因是需要先umount,再执行 xfs_repair 命令

umount /dev/dm-0
xfs_repair -L /dev/dm-0
reboot

摘自:https://www.jikesn.com/1650.html

@Zakariyya Zakariyya added the question Further information is requested label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant