I have a system up and running, the root directory is mounted on device /dev/md0 which is a raid1 of 2 IDE drives. My question is, how can I change it so that the my raid device is /dev/md1 not /dev/md0 and not loose the data. Originally I was thinking of booting with a rescue disk, breaking the raid1, and rebooting. Once rebooted create the raid device again as /dev/md1. Is there a simpler way to do this?
if your rescue disk contains mdadm you can use the mdadm -A -U super-minor /dev/md1 /dev/hd?? once and the array will be started and the minor updated
L.
-- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html