Hi All,

I'm having a problem trying to do a simple re-organisation of my raid arrays for a private Xen system.
The box in question is running Debian Lenny v5.02 (AMD64).

sda1 & sdb1 raid1 /boot (md3)
sda2 & sdb2 raid1 / (md5)
sda3 & sdb3 raid1 swap (md4)

I want to rename the arrays to be /boot on md0, /root on md1 and swap on md2
Now according to my understanding I should just be able to do (via rescue mode btw):

mdadm --stop /dev/md4
mdadm -A /dev/md2 -m4 --update=super-minor /dev/sd[ab]2

which works as expected, md4 is indeed stopped and a new array md2 shows as active in /proc/mdstat. I've modified the /etc/fstab file to reflect the change in swap location and edited /etc/mdadm/mdadm.conf,
reboot and low and behold md4 is back and md2 is no where to be seen.

Can anyone please give me a clue stick to hit this with ? :)





--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to