Recover mdadm Raid5
Hi everyone,
i know this probably has been there before, but as you know every raid configuration differs a bit from the others so I hope you could help me recover mine. I use Debian Squeeze and have a Raid5 with 6 hard drives, which I created with mdadm. Now comes the stupid part. I wanted to boot the array on another pc but failed doing so. I then succeeded starting it with mdadm on another computer but it wanted to only assemble 5 of 6 devices. i confirmed and readded the 6th disk, but then while rebuilding it messed up and I had to shutdown the system. Now it says: Code:
mdadm: /dev/md0 assembled from 1 drive and 1 spare - not enough to start the array. The superblocks look like that: Code:
mdadm -E /dev/sdc Quote:
Code:
mdadm -E /dev/sde Code:
mdadm -E /dev/sdf Code:
mdadm -E /dev/sdg Code:
mdadm -E /dev/sdh I'd be very glad if someone could help me Regards |
Hi,
Before I start, I am NOT an expert on raid, so don't blindly do what I did. Since no one replied to your post for 2 days, I'll see if I can at least point you in write direction. I have a 2 disk (mdadm) raid1 array (md0), one day for some reason one of the disk in the array was not detected (by bios). My pc booted with the other disk in the array. I did, Code:
dmesg |grep -r md Code:
dmesg |grep -r md so I booted using my install cd (zenwalk 6.4) exist the install went to cli, had a look to to see if both hdd are there (they were) I fdisk the “failed” hdd (sda) repartitioned identical to (sdb) and used the following to add “sda” to “md0” Code:
mdadm -a /dev/md0 /dev/sda1 Code:
dmesg |grep -r md Anyway In your case see adding the drive that did not join the array is an option, Again, I am NOT an expert on raid, so don't blindly do what I did! Especially if you have important data in the array. Here are some threads in LQ regarding raid. http://www.linuxquestions.org/questi...-mdadm-551732/ http://www.linuxquestions.org/questi...semble-783687/ http://www.linuxquestions.org/questi...ess-up-584149/ hope this helps..... . |
All times are GMT -5. The time now is 01:28 PM. |