zoukankan      html  css  js  c++  java
  • Corrupted Metadata/failed to mount /sysroot

    公司电脑CentOS系统突然断电,开机后,无法进入系统。查看系统log如下:
    mount: mount /dev/mapper/cl-root on /sysroot failed:Structure needs cleaning.
    XFS(dm-0): Metadata corruption detected at xfs_inode_buf_verify 0x70/0x120 [xfs]
    XFS(dm-0):Unmount and run xfs_repair
    XFS(dm-0):first 64 bytes of corrupted metadata buffer:
    ... ... ... ... ...
    XFS(dm-0):metadata I/O error:block0x32b4a001("xfs_trans_read_buff_map")error 
    sysroot.mount mount process exited,code=exited status=32
    failed to mount /sysroot.
    Dependency failed for Initrd root File System.
    Dependency failed for Reload configuration from the Real Root.
    从以上log来看,电脑强制断电时,造成包含分区信息的元数据的损坏。
    重启后系统分区sysroot无法正常挂载。
    •解决办法:
    xfs_repair -L /dev/mapper/cl-root //需要看出错log周围,确定是哪个挂载点的问题。
    -L选项指定强制日志清零。
    强制xfs_repair将日志归零,即使它包含脏数据(元数据更改)。
    列出分区信息: fdisk –l 
    查看文件系统的改变: df-l
    ------山的那一边
  • 相关阅读:
    软件工程课程设计团队项目总结与项目报告
    个人总结
    团队项目UI
    黄金点
    wordcount
    小学运算
    第七周
    第八周
    第六周博客
    第五周博客
  • 原文地址:https://www.cnblogs.com/mountain2011/p/9108520.html
Copyright © 2011-2022 走看看