On Jun 8, 2011, at 9:25 AM, Ross Walker wrote:

> On Jun 8, 2011, at 8:59 AM, Christopher Hearn <[email protected]> 
> 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.

This is what I figured would be best, but I have never done it before.  I will 
look into pvmove.  The 250GB drive is my boot drive, so should I try to clone 
the MBR (grub) or just do grub-install once I've rsyncd/pvmoved everything over?

> 
> 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.

No idea what this means.

> 
> -Ross
> 
> _______________________________________________
> CentOS mailing list
> [email protected]
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to