Re: xfs_rapair fails with err 117. Can I fix the fs or recover individual files somehow?

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

 



On 6/24/23 1:25 PM, Fernando CMK wrote:
It seems that the only problem w/ the filesystem detected by repair is a
ridiculously large stripe width, and that's found on every superblock.
If that's the issue, is there a way to set the correct stripe width?
Also... the md array involved has 3 disks, if that's of any help.


Yes, you can rewrite each superblock (all 42) with xfs_db in -x mode.

I would suggest trying it on a fresh copy of the image file in case something goes wrong.

for S in `seq 0 41`; do
 xfs_db -x -c "sb $S" -c "write swidth 256" <image_file>
done

or something similar

I'm really baffled about how your filesystem possibly got into this shape, though.



[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