/home Raid Recovery Question
I have an existing /home RAID1 consisting of /dev/sdb1 and /dev/sdc1.
My root drive failed and have replaced. Slack14.1-64 is installed on the new /dev/sda & is running fine. Trying to assemble the raid so I can setup /home again, but it errors. So just looking for ideas as to what I’m doing wrong. No raid setup or running. Running this command: Code:
mdadm --assemble /dev/md0 /dev/sdb1 /dev/sdc1 Code:
mdadm: /dev/sdb1 is busy - skipping Do I need to create the raid again before I assemble? I’d rather not wipe out my /home data if I can help it. ie. Code:
mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sdb1 /dev/sdc1 Thanks |
When you boot the new system, what does
Code:
cat /proc/mdstat Your array may be auto-assembled but using a different device name than you expect. See this comment (and maybe the entire thread to get the full context). If you are using an initrd, it may have the default /etc/mdadm.conf file which will result in your array being assembled as /dev/md127 or similar. |
That was it. I thought I needed to assemble it after install, but it was already done.
Sheepish, but learned a lot about auto raid recovery in the kernel. Its impressive. Just added /dev/md127 to my fstab as /home and everything works perfectly. Thank you. |
All times are GMT -5. The time now is 01:55 PM. |