CentOS 7 断电导致 generating /run/initramfs/rdsosreport.txt 问题

Centos 7 断电导致 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。

处理步骤:

  1. 切换到 /dev/mapper 目录 查找 -root 文件,代表通配符 (如 centos 系统,文件为:centos-root)。
cd /dev/mapper
  1. 执行 xfs_repair /dev/mapper/-rootxfs_repair /dev/mapper/-root -L

最后reboot重启就行。

添加新评论