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

相关推荐
墨痕诉清风30 分钟前
docker无法pull镜像问题解决
运维·docker·容器
DeskUI~~1 小时前
8.4M,我把 Linux 变成了一块“磁盘”
linux·运维·服务器
少陽君1 小时前
如何在 PVE 中下载并导入 Ubuntu 24.04 Server 云镜像
linux·数据库·ubuntu
无足鸟ICT1 小时前
【RHCA+】_proc_pid_environ
linux·运维·服务器
wacsii3 小时前
【Linux操作系统】从零手写 mystdio:静态库、动态库制作与第三方链接踩坑
linux·服务器
嵌入式 Linux手记4 小时前
静态库动态库到底差在哪
linux·c语言·嵌入式
7177774 小时前
2026 中国企业 DevOps 平台怎么选:从排名诉求回到可核验的选型维度
运维·devops
信安IT租赁4 小时前
小公司服务器的自启动脚本:用 systemd 做成服务,开机自动跑
linux·运维·服务器
陈秋月4 小时前
从一句注释到 root:GoldenEye 靶机通关记录
linux
东鹏特饮4 小时前
Docker 容器技术详细指南
运维·docker·容器