Hello,
I was attempting to upgrade my Unraid to a newer version, then had issues with it not shutting down for over 40 minutes, then messed up by hard shutting down, causing the flash drive to break. Was able to get a new flash drive working, but the only config was from a couple months ago, and a previous layout of disks. Between then and now, I'd upgraded the parity drive and moved it into the rotation of disks; now, the disk with data on it was assigned to be the parity (as it was in the old days), and because of an oversight, I started the array. Not too long after, I noticed there was an unassigned drive (the one that held the current parity data, but the old config wasn't aware of), and immediately recognized my mistake.
Now, I'm unable to mount that drive at all. Based on some of the errors, I'm hoping the data is relatively intact in the middle of the drive/blocks, and it's mainly the headers that are broken.
For debugging, it is `/dev/sde`, the 6 TB drive that is the one failing to mount.
dmesg when mounting:
[140844.853987] XFS (sde1): Failed to read root inode 0x80, error 117
[140868.791678] XFS (sde1): Mounting V5 Filesystem
[140868.891545] XFS (sde1): Metadata corruption detected at xfs_dir2_sf_verify+0xbf/0x1d8 [xfs], inode 0x80 data fork
[140868.892386] XFS (sde1): Unmount and run xfs_repair
[140868.893073] XFS (sde1): First 117 bytes of corrupted metadata buffer:
[140868.893752] 00000000: 0a 04 00 00 00 00 00 00 00 80 05 00 60 4d 65 64 ............`Med
[140868.894404] 00000010: 69 61 02 00 00 00 00 00 00 00 83 04 00 78 52 79 ia...........xRy
[140868.895125] 00000020: 6e 6f 02 00 00 00 02 06 74 5c 4d 05 00 88 47 61 no......t\M...Ga
[140868.895825] 00000030: 6d 65 73 02 00 00 00 01 8b 36 02 a4 03 00 a0 76 mes......6.....v
[140868.896536] 00000040: 6d 73 02 00 00 00 02 8f 90 aa 48 11 00 b0 72 65 ms........H...re
[140868.897228] 00000050: 73 69 6c 69 6f 5f 64 6f 77 6e 6c 6f 61 64 73 02 silio_downloads.
[140868.897927] 00000060: 00 00 00 01 01 e1 9b 07 00 00 00 00 00 00 00 00 ................
[140868.898632] 00000070: 00 00 00 00 00 .....
[140868.899342] XFS (sde1): Failed to read root inode 0x80, error 117
The final output of running `xfs_repair` on the drive:
.......................................................................................................................................................................Sorry, could not find valid secondary superblock
Exiting now.
If there are any other actions/logs I need to attach/run please let me know.
vault-diagnostics-20231123-1111.zip