If XFSB signature exists anywhere on the device, or all found signatures fail validation, the XFS file system is unrecoverable with standard tools. Possible next steps:
XFS divides the disk into . Each AG is like a miniature filesystem with its own superblock. These are the secondary superblocks . They are stored at the first block of every AG except the first one (AG 0). xfs-repair sorry could not find valid secondary superblock
Always attempt to dd or ddrescue a disk image to a healthy drive before performing destructive repairs. To help you find the right command, tell me: Are you using or a standard partition ? Did this happen after a power failure or a failed resize ? Do you have a current backup of the data? If XFSB signature exists anywhere on the device,
Only use the -L (Force Log Zeroing) flag if you have exhausted all other options. It will clear the metadata journal, which may lead to some file fragmentation or loss. Step 5: Data Recovery if Metadata is Gone These are the secondary superblocks
sudo xfs_repair -o bsize=4096 -L /dev/sdb1
If you know the block size (e.g., 4096 bytes), you can try to force xfs_repair to use that geometry.