Help! Linux RAID is dying, can anyone help me?

I have two gigabit NAS boxes, one has 4 x 1.5TB and the other 4 x 2TB, both configured into RAID5. Due to a power surge the machines seem to have totally lost all their configuration. I had to reset the IP addresses manually, and the passwords have reset too. I had to re-enable telnet access – in short they reverted to the base state.

However I am certain that the data should still be there. I checked the mdsdm.conf file and it seems to be empty. I get the following from sfdisk:

nas1> sfdisk -l /dev/sda

Disk /dev/sda: 243201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+     21      22-    176714+  fd  Linux raid autodetect
/dev/sda2         22  243184  243163  1953206797+  fd  Linux raid autodetect
/dev/sda3     243185  243200      16     128520   82  Linux swap / Solaris
/dev/sda4          0       –       0          0    0  Empty

Both boxes are saying there is no raid, and unfortunately the option to restore a backup of the old configuration doesn’t appear until there is a disk config of some kind! Any ideas welcome, I’m stumped and short of time. TIA….


~ by Lynn Duffy on March 22, 2011.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: