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

相关推荐
星恒随风4 小时前
MySQL 从零入门(六):复合查询详解——多表查询、自连接、子查询与 UNION
linux·服务器·数据库·mysql
少司府4 小时前
嵌入式入门篇(二):初识STM32F103ZET6
linux·python·stm32·单片机·嵌入式硬件·mcu·嵌入式软件
无足鸟ICT5 小时前
【RHCA+】IO调度算法
linux·服务器
打工仔折腾 AI5 小时前
Changedetection.io 网页变动监控:Docker 部署、通知配置与公网暴露实践
运维·人工智能·后端·python·docker·容器·性能优化
wacsii5 小时前
【Linux进程(四)】命令行参数与环境变量
linux·服务器
无奈笑天下5 小时前
银河麒麟上lsblk命令教程详解
linux·运维·服务器·数据库
fengkai45456 小时前
Prometheus+K8s弹性伸缩综合项目
运维·kubernetes·k8s·prometheus·hpa·vpa
科研邪修法7 小时前
培训PDF保护配置:把需求转换成可验收权限
linux·服务器·网络
Felven7 小时前
中科驭数100G网卡RDMA性能测试
linux·rdma·中科驭数·100g网卡
分布式存储与RustFS8 小时前
镜像仓库的层别只堆本地盘:用 RustFS 给 Harbor 当 S3 后端
运维·云原生·开源·对象存储·分布式存储·s3·性能基准