Re: Cloning LVM

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



On Jun 8, 2011, at 8:59 AM, Christopher Hearn <Christopher.Hearn@xxxxxxxxx> wrote:

> I have a workstation with two separate drives set up with LVM.  I'm buying an LSI RAID controller to set up mirrored drives.  I'd like to clone the existing drives over to the new mirrored drives somehow, but not sure the best way to do it.  The original drives & their respective replacements are all identical in size (250GB + 1TB).  I thought about using Clonezilla but wasn't sure how LVM would handle the /dev devices changing.  Any suggestions?

You can add the new mirror to the existing VG and pvmove the LVs over to it.

If this is your boot drive you'll need to create an ext3 /boot partition and then an LVM partition with the rest of the space and then pvcreate the LVM partition before adding it to the VG.

You can rsync the boot partitions.

If you can create your /boot partition on sector 2048 and make sure it is in megabytes and not cylinders that would make sure that it is aligned with both RAID chunks and memory pages.

-Ross

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux