centos7 断电导致 generating /run/initramfs/rdsosreport.txt 问题
centos7 断电导致 generating /run/initramfs/rdsosreport.txt 问题
物理断电,有时候会出现
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 或者xfs_repair /dev/mapper/centos-root -L
两个命令不一定哪个能成功,第一个不行就试下第二个。
最后reboot就行了