Re: is it possible to move lvm2 logvols?

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

 



On Wed, 12 Sep 2007 00:42:06 +0200,
 Farkas Levente <lfarkas@bppiac.hu> wrote:
> hi,
> hi we've got a server with a lvm2 pv with a dozen of logvol in it. under
> the lvm we'd like to create a raid1 array on 2 disk. unfortunately we
> create raid0 under it. but the logvols contains a lots of important
> data. we'd like to
> - put 2 new disks into the system,
> - create the raid1 array on it,
> - put a new volgroup over the raid1,

Hi!

Do not create a new vg.
Add the raid1 as a second pv to the existing vg.
Use pvmove to move the logical volumes from one pv to the other.
This is an online operatipn.

Greetings
-- 
Robert Sander                     Senior Manager Information Systems
Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
phone:+49-30-24345-0                            fax:+49-30-24345-555
http://www.epigenomics.com             robert.sander@epigenomics.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux