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

最近更新

  1. TCP协议是安全的吗?

    2024-01-05 19:32:04       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-01-05 19:32:04       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-01-05 19:32:04       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-01-05 19:32:04       20 阅读

热门阅读

  1. python中的//

    2024-01-05 19:32:04       34 阅读
  2. leetcode28. 找出字符串中第一个匹配项的下标

    2024-01-05 19:32:04       35 阅读
  3. 如何用Rust编程访问未知结构的json串?

    2024-01-05 19:32:04       42 阅读
  4. 我的 2023,一个普通程序员的年度回顾

    2024-01-05 19:32:04       36 阅读
  5. LeetCode第98题 - 有效的括号

    2024-01-05 19:32:04       40 阅读
  6. (一)为什么要选择C++

    2024-01-05 19:32:04       34 阅读
  7. Linux 系统 find 命令详解

    2024-01-05 19:32:04       35 阅读
  8. 11. C++ inline函数消除重定义

    2024-01-05 19:32:04       36 阅读
  9. cocos creator人开发小游戏免费素材资源

    2024-01-05 19:32:04       38 阅读
  10. 算法:简单加密

    2024-01-05 19:32:04       31 阅读