修复异常关机导致CentOS文件系统内存数据损坏的问题

        今天一同事重启wifi直接拔的电源,导致服务器异常关机,重启之后发现虚拟机报错:

[17.874068] xT'S (dm-8): Corruption of in-memory data detected. Shutting dowm filesystem[17.874069] XTS (dm-8): Please umount the f ilesystem and rectify the problem(s)Entering emergency mode. Exit the shell to continue .Tupe ".journa lctl" to uiew system logs .You might uant to save "/runinitramf' s/rdsosreport .txt" to a USB stick or /bootaf ter mounting them and attach it to a bug report.

        呕吼,文件系统的内存数据损坏

1.查看报错的dm-8地址

 ls -l /dev/mapper

2. 修复文件系统

xfs_repair -L /dev/mapper/centos-root

3.重启虚拟机 

reboot 

你可能感兴趣的:(随笔,centos,linux,运维)