修复异常关机导致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

相关推荐
运维有小邓@7 分钟前
什么是重放攻击?如何避免成为受害者?
运维·网络·安全
我是伪码农26 分钟前
外卖餐具智能推荐
linux·服务器·前端
汤愈韬1 小时前
下一代防火墙通用原理
运维·服务器·网络·security
皮皮林5511 小时前
强烈建议大家使用 Linux 做开发?
linux
IMPYLH1 小时前
Linux 的 od 命令
linux·运维·服务器·bash
Kk.08022 小时前
Linux(十一)fork实例练习、文件操作示例及相关面试题目分享
linux·运维·算法
数据雕塑家3 小时前
Linux下大文件切割与合并实战:解决FAT32文件系统传输限制
linux·运维·服务器
IMPYLH3 小时前
Linux 的 nice 命令
linux·运维·服务器·bash
l1o3v1e4ding4 小时前
排查linux CentOS7.6的mysql磁盘 I/O 延迟过高问题
linux·运维·mysql
航Hang*4 小时前
Windows Server 配置与管理——第12章:配置数字证书服务器
运维·服务器·windows