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

相关推荐
切糕师学AI7 分钟前
Linux 操作系统简介
linux
南烟斋..33 分钟前
GDB调试核心指南
linux·服务器
爱跑马的程序员1 小时前
Linux 如何查看文件夹的大小(du、df、ls、find)
linux·运维·ubuntu
代码AI弗森3 小时前
n8n 专题:从“自动化脚本”到“可视化工作流引擎”(自建、节点、Webhook、生产部署)
运维·自动化
oMcLin3 小时前
如何在 Ubuntu 22.04 LTS 上部署并优化 Magento 电商平台,提升高并发请求的响应速度与稳定性?
linux·运维·ubuntu
Qinti_mm3 小时前
Linux io_uring:高性能异步I/O革命
linux·i/o·io_uring
优雅的38度3 小时前
linux环境下,使用docker安装apache kafka (docker-compose)
linux·架构
小李独爱秋4 小时前
计算机网络经典问题透视:TLS协议工作过程全景解析
运维·服务器·开发语言·网络协议·计算机网络·php
想唱rap4 小时前
表的约束条件
linux·数据库·mysql·ubuntu·bash
山上三树4 小时前
对比用户态线程与内核态轻量级进程
linux