RAID 5 after Power outage
We had a power outage and now my RAID 5 array is not being detected. I get a strange error when running fdisk on any of the 4 drives in the array
Code:
# fdisk /dev/hde mdstat shows nothing either: Code:
# cat /proc/mdstat |
Hey,
Are you using fakeraid? It sounds to me like this happened: 1) Fake-raid controller like Highpoint 1640a 2) Array is broken 3) You booted from a recovery disk that doesn't have the drivers for the raid controller modules loaded Generally speaking, if you pull a drive from a hardware raid array and connect it to a standard controller (as would happen in the above example) you won't see any partition information. Sometimes you will see partition info on the first drive, but nothing on any of the others (because of striping). what kind of raid controller do you have, or were you using 100% software? Also what distro are you using? |
Quote:
From everything I can tell, the drives are still in good shape (i.e. not a hardware failure). It looks like, for whatever reason, the partition information is screwed up. They are no longer recognized as "fd" or whatever the linux raid partition type is. dmesg says basically the same thing as fdisk: Code:
hde: WDC WD2500JB-00GVA0, ATA DISK drive Code:
raiddev /dev/md0 |
ooookay. I figured it out. I was booting to the incorrect kernel. For some reason my grub config was booting the default Debian 2.6 kernel... which apparently does not have support for software raid or that raid partition type. I should have figured that out by the fact that mdstat did not list any supported "Personalities".
It had been so long ago that I had made a custom kernel (Feb 8th timestamp) that I thought for sure I must have restarted since then. When you mentioned the modules above in #3 it got me thinking on the right line. Everything is gravy now. Partitions being detected, all data is still there. Thank god (and you). |
All times are GMT -5. The time now is 07:07 AM. |