Re: changing MD device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 14, 2004 at 04:44:39PM -0500, Aaron Gee wrote:
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux