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.
    
  • 相关阅读:
    基于Html5的爱情主题网站–表白神器
    一个基于WebGL的仿真3D水池有逼真的水波纹效果
    一些纯css3写的公司logo
    IIS、SQL SERVER和VS的安装顺序
    SQL Server 2008 收缩日志 清空删除大日志文件
    判断SqlConnection连接是否关闭
    正则
    C# MD5加密字符串
    sqlServer MD5
    sqlserver 连接数
  • 原文地址:https://www.cnblogs.com/fan-gx/p/13190323.html
Copyright © 2011-2022 走看看