Re: Migrating from SINGLE DISK to RAID1

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

 



Hello Mike,

Mike Hardy wrote:

Robert Heinzmann wrote:

Hello,

can someone verify if the following statements are true ?

- It's not possible to simply convert a existing partition with a filesystem on it to a raid1 mirror set.


I believe you're right, but I'm not totally sure on this one. I'd take the second disk, create a new RAID1 with the first drive "missing" on the mdadm --create commandline, copy everything over to it, put grub on it, then test that it boots correctly by pulling the first drive out.

Only once the RAID1 is working (in degraded mode) add the original first drive back in, but booting off the RAID1, then add it to the RAID set to complete the pair. With that process, the question is somewhat moot, although I'm interested in the real answer too

Thats how I'm going to do it althought the version Paul Celemens is mentioning sound very elegant (resizing the fs 128 KB prior to creating the array).


Bye,
Robert

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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