I had an XFS-filesystem within a KVM-VM (32 bit Gentoo, so it isn't that off-topic, btw ;-) )
... and I did a lot of work within that filesystem over the last 2 days. Unfortunately it ran full so I decided to shutdown the VM, use qemu-img to resize that image-file (raw format), reboot the VM ... and deleted the partition /dev/vdb1 (virtio ...) and recreated vdb1 with the full size of the underlying image-file. XFS doesn't like that. Now I lost my xfs-superblock and xfs_check/xfs_repair tell me that they find "candidates for 2nd superblock" but can't decide to actually use them :-( The XFS-fs was fine before, unmounted correctly ... I am googling and trying ... does anyone have a hint on this? If I lose it, OK. No backup (ok, maybe one from a week ago ... without the latest work of today), but it was mostly a pulled git-repo I worked with. I got the generated binaries and have the learned steps documented so I can live with it. But it would be great to somehow get that stuff online again. Thanks, greets, Stefan