Raid Weirdness -- /dev/md0: Invalid argument
This was all working just fine and dandy...
Then this guy named murphy came by, and he told me that if something goes wrong you won't have a clue what happened or how it happened. And Damnit he was right. The bearings on my power supply fan went bad and the noise was driving me mad, so I halted my fileserver and put in a new power supply (I didn't have any spare fans laying around, but I did have a new power supply laying around). When I turned my fileserver back on the Raid didn't come up. When I turned my fileserver back on the Raid
didn't come up. Running:
md: array md0 already exists!
and I got:
/dev/md0: Invalid argument
looking in dmesg it showed more detail:
md: invalid raid superblock magic on ide/host2/bus0/target0/lun0/part1
md: ide/host2/bus0/target0/lun0/part1 has invalid sb, not importing!
md: could not import ide/host2/bus0/target0/lun0/part1!
md: autostart ide/host2/bus0/target0/lun0/part1 failed!
I did an lsmod to verify that the appropriate raid drivers were loaded, and they were. The disks are fine, both show up in the bios search and under /proc. cat'ing the drives produced copious amounts of binary gobbly gook which is nice. I know my /etc/raidtab is fine (I will include it anyway) because this has been working for the past month since I first built this raid array. Any suggestions/pointers on how to recover this raid array without loss of data?
here is the relevent parts of my /etc/raidtab and /etc/fstab
### RaidTab ###
### FSTab ###
/dev/md0 /Raid reiserfs rw,user,exec 0 0
Other Misc info:
Home Grown 2.4.24 kernel.
Raid is on 2 160GB drives on a promise tx2 Ultra100 ide PCI controller card.