ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

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

2026/9/25 17:25:22 拓冰建站 浏览量
修复异常关机导致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