Xfs-repair Sorry Could Not Find Valid Secondary Superblock Exclusive Access

If you haven't tried it, do so now:

sudo xfs_repair -n /dev/sdb1

lsblk -f file -s /dev/sdX

cannot find any redundant copies of the filesystem's structural information. This typically occurs if the primary superblock is corrupted and the backup (secondary) superblocks are also missing or unreadable. Unix & Linux Stack Exchange Potential Causes Physical Disk Failure:

In every XFS filesystem, the primary superblock is located at the very first byte of the partition (Block 0). It contains metadata about the filesystem: block size, inode count, allocation group (AG) count, UUID, and pointers to the rest of the data. xfs-repair sorry could not find valid secondary superblock

: Before attempting any further repair commands that write to the disk, use a tool like GNU ddrescue to create a block-level clone or image of the failing drive.

You do the prudent thing. You unmount the drive (or boot from a rescue disk) and run the standard XFS repair tool: If you haven't tried it, do so now:

# Attempt repair forcing a specific block size (commonly 4096) xfs_repair -o force_geometry -b 4096 /dev/sdx1

Common causes:

Assume 4KB block size and 512 byte sectors.