mdadm raid 5 recovery / reassemble
Hi there,
so that's my first post, quite hard to solve I think. Here's the situation: - NAS with a Linux embedded OS installed - 4 500Gb hard drives that's supposed to be in raid 5 managed by mdadm. What's happened: I was moving all the docs from the NAS to another HDD via SMB and suddenly it stuck! After that I powered off the NAS, from that moment It seems that mdadm it's not able to find the arrays and mount them.. What I tried: 1. I know for sure that there was 2 arrays one md0 and one md1. If i try Code:
mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 Code:
mdadm: no recogniseable superblock Code:
DEVICE /dev/hd*[0-9] /dev/sd*[0-9] Code:
mdadm: No arrays found in config file Code:
HYDRA-LAN> fdisk -l Thanks a lot Update What if I edit my mdadm.conf with Code:
DEVICE /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 |
Hey... I am not an expert so be very cautious with what you do on a raid 5 setup as you might lose your data. To reassemble those arrays you will need a little more information for instance what your /proc/mdstat looks like (cat /proc/mdstat) then I would also run the following command:
mdadm --examine /dev/sda1 (every partition with linux raid type) see which partitions belong to which raid array, what slot they belong it etc, maybe that will give you more information on how it has to be reassembled. Hope that helps. |
All times are GMT -5. The time now is 04:04 PM. |