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

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

17.874068 xT'S (dm-8): Corruption of in-memory data detected. Shutting dowm filesystem17.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

相关推荐
一条代码鱼5 小时前
Linux 文件实时同步完全指南:Lsyncd vs Inotifywait+Rsync
linux·运维·服务器
艾莉丝努力练剑5 小时前
【Linux网络】Linux 网络编程:传输层协议TCP(三)
linux·运维·服务器·网络·tcp/ip·http
小程故事多_805 小时前
从想法到落地零返工,AI Agent六阶段自动化开发全流水线实践
运维·人工智能·自动化
keyipatience5 小时前
21,22 (半)深入理解Linux重定向与缓冲区机制
linux·运维·服务器
风向决定发型丶5 小时前
Logrotate配置nginx日志切割
运维·nginx
fengyehongWorld5 小时前
Linux command 命令
linux
yyuuuzz5 小时前
aws亚马逊云上运维常见问题梳理
运维·服务器·网络·云计算·aws
2201_761199045 小时前
python运维1
运维·开发语言·python
坤昱5 小时前
cfs调度类深入解刨——最新内核细节分析3
linux·linux内核·deadline·cfs调度·eevdf·kernel 7.1·最新内核调度
yn005 小时前
Docker 一键部署加密支付网关:从零开始完整教程
运维·docker·容器