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

相关推荐
IT专业服务商31 分钟前
联想 SR550 服务器,配置 RAID 5教程!
运维·服务器·windows·microsoft·硬件架构
忧虑的乌龟蛋1 小时前
嵌入式Linux I2C驱动开发详解
linux·驱动开发·嵌入式·iic·i2c·读数据·写数据
I_Scholar2 小时前
OPENSSL-1.1.1的使用及注意事项
linux·ssl
Johny_Zhao2 小时前
K8S+nginx+MYSQL+TOMCAT高可用架构企业自建网站
linux·网络·mysql·nginx·网络安全·信息安全·tomcat·云计算·shell·yum源·系统运维·itsm
稳联技术2 小时前
Ethercat转Profinet网关如何用“协议翻译术“打通自动化产线任督二脉
linux·服务器·网络
烟雨迷2 小时前
Linux环境基础开发工具的使用(yum、vim、gcc、g++、gdb、make/Makefile)
linux·服务器·学习·编辑器·vim
Bruk.Liu3 小时前
Linux 上安装RabbitMQ
linux·服务器·rabbitmq
UpUpUp……3 小时前
Linux--JsonCpp
linux·运维·服务器·c++·笔记·json
Willis_m4 小时前
Linux 服务器用 SSH 拉取多个 Git 工程
linux·服务器·git·ssh
紫金修道4 小时前
【Linux】在Arm服务器源码编译onnxruntime-gpu的whl
linux·服务器·arm开发