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

相关推荐
狂奔的sherry11 分钟前
一会儿能ping通一会ping不通解决方案
运维·网络·单片机·嵌入式硬件
用户4269427593981 小时前
Linux I/O 多路复用 Select/Poll,编程实战方案
linux
AI视觉网奇1 小时前
zsh 使用笔记 命令行智能提示 bash智能
linux·运维·笔记
IT成长日记2 小时前
【自动化运维神器Ansible】Playbook调用Role详解:从入门到精通
运维·自动化·ansible·playbook·role
xiaok2 小时前
使用PM2之后,是不是xshell断开了跟服务器的连接,退出来了,nodejs服务一样在线的
linux
2302_799525742 小时前
【ansible】4.实施任务控制
linux·服务器·ansible
2401_831501732 小时前
Linux之Ansible自动化运维(二)
运维·自动化·ansible
pwj去战斗吧2 小时前
一、部署LNMP
linux·运维
Tim风声(网络工程师)3 小时前
DNS有关知识(根域名服务器、顶级域名服务器、权威域名服务器)
linux·运维·服务器
热爱跑步的恒川3 小时前
告别服务器!Amazon Lambda无服务开发实战指南
运维·服务器