记一次 centos7 意外断电导致的 "generating /run/initramfs/rdsosreport.txt" 问题

  • 今早打开Centos集群,发现其中一台分支无法连接,开机就进入命令窗口,窗口提示信息如下:
generating “/run/initramfs/rdsosreport.txt”
entering emergencymode. 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_repair /dev/mapper/centos-root -L

  • 重启一下

reboot

  • 就OK了
原文地址:https://www.cnblogs.com/shook/p/12749850.html