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

相关推荐
yueyuexiaokeai17 分钟前
linux kernel常用函数整理
linux·c语言
cg_ssh17 分钟前
Docker 下启动 Nacos 3.1.1 单机模式
运维·docker·容器
修己xj21 分钟前
使用 Docker 部署 SQL Server 并导入 .mdb 文件的完整指南
运维·docker·容器
郝亚军2 小时前
ubuntu-18.04.6-desktop-amd64安装步骤
linux·运维·ubuntu
雨笋情缘2 小时前
在 CentOS 7 系统中通过定时任务自动执行 Shell 脚本
centos·crontab
Konwledging2 小时前
kernel-devel_kernel-headers_libmodules
linux
Web极客码2 小时前
CentOS 7.x如何快速升级到CentOS 7.9
linux·运维·centos
一位赵2 小时前
小练2 选择题
linux·运维·windows
qq_312920112 小时前
Nginx+Keepalived双主架构:消除单点故障的最佳实践
运维·nginx·架构
代码游侠3 小时前
学习笔记——Linux字符设备驱动开发
linux·arm开发·驱动开发·单片机·嵌入式硬件·学习·算法