zoukankan      html  css  js  c++  java
  • Linux 下XFS 文件系统修复指导书

    参考:Linux 下XFS 文件系统修复指导书
    Centos 7 LVM xfs文件系统修复
    ls -l /dev/mapper
    xfs_repair /dev/mapper/centos-root
    xfs_repair -L /dev/mapper/centos-root
    init 6 #重启

    fsck from util-linux 2.23.2
    e2fsck 1.42.9 (28-Dec-2013)
    ext2fs_open2: Bad magic number in super-block
    fsck.ext2: Superblock invalid, trying backup blocks...
    fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
    
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    

    参考大神博客:恢复xfs文件系统superblock实验

    phase l - find and verify superblock
    bad primary superblock - bad magic number
    attempting to find secondary superblock
    ................................................................................................................................................................................................................................................................................................................................................found candidate secondary superblock...
    verified secondary superblock...
    writing modified primary superblock
    sb realtime bitmap inode 18446744073709551615 (NULLFSINO) inconsistent with calculated value 97
    resetting superblock realtime bitmap ino pointer to 97
    sb realtime summary inode 18446744073709551615 (NULLFSINO) inconsistent with calculated value 98
    resetting superblock realtime summary ino pointer to 98
    Phase 2 - using internal log
            - zero log...
    ERROR: The filesystem has valuable metadata changes in a log which needs to
    be replayed.  Mount the filesystem to replay the log, and unmount it before
    re-running xfs_repair.  If you are unable to mount the filesystem, then use
    the -L option to destroy the log and attempt a repair.
    Note that destroying the log may cause corruption -- please attempt a mount
    of the filesystem before doing this.
    
  • 相关阅读:
    图片压缩ShareSDK的简化压缩和使用例子
    qml 调试
    BSP 算法
    粒子系统(Particle System)
    QML Item Element
    Chapter 13. Playing God: Basic Physics Modeling (Tricks.of.the.Windows.Game.Programming.Gurus,.Second.Edition)
    qml资料
    wpf教程
    凸包
    QML Animation
  • 原文地址:https://www.cnblogs.com/fan-gx/p/13190323.html
Copyright © 2011-2022 走看看