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]

 



Ok, I'll try it on a new copy. BTW, are you sure it's "swidth"?

It's complaining as follows:

Metadata corruption detected at 0x5627b63fec08, xfs_sb block 0x98580000/0x1000
field swidth not found

Thanks for your help.



On Sat, Jun 24, 2023 at 10:48 PM Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
>
> 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