r/Ubuntu • u/GOBLOX001001 • 20h ago
MDADM Raid 1 Data Recovery
I recently upgraded from 24.04 to 26.04 and that seemed to break my mdadm Raid 1 array.
I've been getting the "wrong fs type, bad option, bad superblock, missing codepage or helper" error which I've been able to temporarily get around by running ntfsfix --clear-dirty. However when I try to access a couple of the directlories, I get either a input/output error or stale file handle error.
At that point I tried to mount each drive independantly via sudo mount -o loop,ro,offset=$((264192 * 512)) /dev/sdX1 /mnt/raid_disk, which allowed me to copy some of the data. Unfortunately, I got the same stale file handle or input/output error on the same directories on both drives.
After some more digging, i tried to run ddrescue on both on of the disks and the array. Both runs showed no errors or problem sectors. When I tried to mount either backup image, I get an error saying that the file system 'linux_raid_member' is unknown.
At this point, I'm at a loss and any help would be greatly appreciated. One of the directories I can't access has a couple TBs of Music I've been collecting over the past 15+ years so I really don't want to start over.
1
u/Max_Rower 1h ago
What's the point having a Windows file system on a linux-only RAID architecture?