[linux-lvm] (no subject)

Luca Berra bluca at comedia.it
Sun Jul 3 22:09:00 UTC 2005


On Sun, Jul 03, 2005 at 06:56:45PM +0000, Jean-Luc Coulon (f5ibh) wrote:
>Hi,
>
>Is there a safe way to convert from a working LVM (with root on LVM) to  
>a software RAID1 including the device where is the existing LVM ?
>
>Regards
>
>Jean-Luc

create a degraded raid1 array with only the other disk

add the new md to the existing vg

pvmove all lv on the new pv

remove the old (now empty pv)

use dd to make it forget it was a pv

hotadd this disk to the array

L.


-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list