Unable to fix metadata corruption with xfs_repair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I’m experiencing an issue with metadata corruption while trying to fix several corrupted xfs filesystems.
Here’s an excerpt of the kernel messages when the disk is mounted :

[…]
Jan 21 15:44:16 rescue kernel: XFS (sdb): Metadata corruption detected at xfs_inode_buf_verify+0x6d/0xf0, xfs_inode block 0x300160
Jan 21 15:44:16 rescue kernel: XFS (sdb): Unmount and run xfs_repair
Jan 21 15:44:16 rescue kernel: XFS (sdb): First 64 bytes of corrupted metadata buffer:
Jan 21 15:44:16 rescue kernel: XFS (sdb): metadata I/O error: block 0x300160 ("xfs_trans_read_buf_map") error 117 numblks 16
Jan 21 15:44:16 rescue kernel: XFS (sdb): xfs_imap_to_bp: xfs_trans_read_buf() returned error -117.

I tried to run a xfs_repair (see attached log) but it ends up the same way : metadata error on block 0x300160
Is there a way to fix this corruption ?

Linux kernel version is 4.14.17 but I encountered the exact same issue in several other hosts running an older kernel.
Xfsprogs version is 4.19.0


Best regards,
Julien Lutran


Attachment: xfs_repair.log
Description: Binary data




Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux