On 07/15/2020 10:03 PM, Andrei Borzenkov wrote:
16.07.2020 07:47, Lew Wolfgang пишет:
So my future problem will be fixing old XFS filesystems when the time comes soon to update from 15.1 to 15.2. It may involve saving the data elsewhere, remove the volume, recreate with the right default stripe size, recreate the filesystem on the volume, and restore the data. Lots of it... Anthony came up with a process to edit the filesystem metadata, I haven't tried that yet. It's a bit scary.
If you read kernel bug report that was mentioned previously to the end. you will see that you can simply mount XFS on older kernel with correct parameters and they will be persisted to filesystem. Parameters were initialized incorrectly based on what device reported, remounting with correct parameters will update them in superblock.
Right, but I had no idea what the correct parameters should be! Going forward. we have multiple RAID controller model numbers, with different RAID volume and disk types. Then, how do those numbers translate to the sunit and swidth metadata parameters? It might be safer to start from scratch and let the RAID controller do its thing, correctly this time. I'll have a 10-gigE link to back them up with, so it might not be too bad. Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org