Page 1 of 1

Cat tripped my RAID-disk: RAID Array degraded

Posted: 10 Oct 2012, 12:37
by RichoDemus
Hi, my setup is a b3 with an extra disk connected via cable with /home mirrored. I came home today and saw that the extra disk was on the floor (luckily it fell on a soft bag). I shutdown b3 and plugged it back in but the administration interface says "RAID Array degraded".

running fdisk -l shows both my disks (I think)

Code: Select all

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      121602   976762583+  ee  GPT

Disk /dev/md0: 988.4 GB, 988391792640 bytes
2 heads, 4 sectors/track, 241306590 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table
am I right in my guess that /dev/md0 is one disk and /dev/sda is another? or is md0 just a partition of /dev/sda?

Selecting "Recover RAID array" from the web GUI simply says "There are no usable external disks attached, please add an external e-SATA disk and try again"

EDIT: I connected it to my workstation and I can see the disk, now I'm afraid that my S1 (the disk chassi) might have broken

Re: Cat tripped my RAID-disk: RAID Array degraded

Posted: 10 Oct 2012, 13:55
by nobody
No you are incorrect. /dev/md0 is the RAID device. this virtual device consists of physical devices /dev/sda1 (internal disk /dev/sda and partition 1) and /dev/sdb1 (external disk, partition 1). You can verify this by reading /proc/mdstat. If /dev/sdb* does not exist, then the external disk is not connected or not recognised by the OS.

You do not need the gui to rebuild the array though. It auto rebuilds when both disks are connected. The status of. The rebuild is in /proc/mdstat as well.

Re: Cat tripped my RAID-disk: RAID Array degraded

Posted: 10 Oct 2012, 15:29
by RichoDemus
Ok thanks for the clarification.

I tried to connect the disk again to verify if I had /dev/sdb1 and now everything seems to work again, I can see the disk and I have started rebuilding the array. I have no idea why it works now :) The only difference is that the disk is lying naked on a desk with cables connected instead of inside the chassis, I'll try to insert it later and see if it stop working again

Thanks for your response!