Assembly problems with Raid 5 Array
Hello all,
My system: Gigabyte MB with Intel Core2 Quad, 6GB RAM, 3 internal SATAII drives, I internal SATA DVD/CD drive R/RW, Symbios SCSI controller and an external SUN D1000 Drive enclosure with 12 36GB SCSI drives in a Raid 5 Array with 10 disks in the Array and 2 spares. I am having a problem getting my Raid 5 Array to "re-assemble" and mount. This array was working fine, but a power "blink" caused it to power off last Thursday (July 17, '09). When the Array was powered back "On" and the PC re-booted, I noticed the array was not available and tried to get it to mount - array will not mount. I then tried to re-assemble the array manually with the following command and results: Quote:
Quote:
Any advice or pointers would be most welcome... Regards... TexasMike |
I mount mine without partition numbers, i.e.,
Code:
sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf Restart the box (or stop the existing array and fail/remove the array, whichever is faster) so you have a clean slate. Then assemble without partition numbers. Of course if you have multiple partitions on the drives that won't work but if you're using RAID 5 you probably don't. |
zeno771,
Thanks for the reply. I have never used the Assemble command without the partition numbers - didn't even think to try it without the numbers... Anyway, I rebooted the system and issued the command: mike@UE-2:~$ sudo mdadm /dev/md0 -S I then issued the following command: Quote:
Quote:
I'd like to re-assemble this array and save all the data to another array, then re-format this array to insure it is functional and stable. Can you suggest a method for repairing the Superblock on /dev/sdd that will not screw up my data? TIA for your assistance... Regards... TexasMike |
Yeah, that's usually the next error I get too :D. I take it, then, that you have this array in mdadm.conf? Anyway, comment out the array in mdadm.conf before restarting; stopping the array just idles it (which is ordinarily a good thing). I seem to remember having to use --zero-superblock for this once but I don't recall if that was before I loaded up the drives with data.
I *just* had this happen last week and I'm looking through my logs, but I'm not finding any magic fix. The only difference is I don't have my array in mdadm.conf; I start it manually to see if anything's gone wrong, so when I restart the machine the array isn't assembled. Again, however, mine's on a separate box so it's rarely restarted. On another note, with 2 spares you might want to consider RAID 6 instead of 5; tolerates the loss of 2 drives and as we know, the higher the number of drives in an array the more likely a multiple failure will occur. |
All times are GMT -5. The time now is 05:04 AM. |