Thread (6 messages) 6 messages, 5 authors, 2005-02-01

Re: Migrating from SINGLE DISK to RAID1

From: Robert Heinzmann <hidden>
Date: 2005-02-01 21:40:56

Hello Mike,

Mike Hardy wrote:
Robert Heinzmann wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help