changing MD device

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

 



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?

Why do I want to do this? I have several external FC arrays with software raid, and XFS file systems using an external log dev that is /dev/md0 which is defined as a raid1 on the same array. I want to be able to recover the external arrays - therefore my /dev/md0 on the backup machine needs to change to /dev/md1.

TIA
cluge

-
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