Rename mdadm device
by mfoley from LinuxQuestions.org on (#6MS8A)
I was having some trouble with the boot partition(s) of my RAID-1. My fstab has this as /dev/md2. When I booted from the DVD to check things, /proc/mdstat showed it as /dev/md125, not /dev/md2. I ran the following in an attempt to rename it correctly:
Code:mdadm --stop /dev/md125
mdadm --assemble /dev/md2 --name=2 --update=name /dev/sda3 /dev/sdb3but I got:
Code:mdadm: Merging with already-assembled /dev/md/125Apparently, I didn't do this right. What is the correct procedure?
Thanks
Code:mdadm --stop /dev/md125
mdadm --assemble /dev/md2 --name=2 --update=name /dev/sda3 /dev/sdb3but I got:
Code:mdadm: Merging with already-assembled /dev/md/125Apparently, I didn't do this right. What is the correct procedure?
Thanks