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

Re: [linux-lvm] Copying LVM from one system to another



if HW is the same, why not use ghost or alike software to do a clone?

Ming

On Mon, 2006-07-10 at 16:01 +0200, Shaun Mccullagh wrote:
> Hi,
> 
> I would like to copy an entire volume group to another PC with identical
> hardware and the same disc config.
> 
> I would like to do this using a method like this:
> 
> Boot destination PC from a USB stick with a full copy of RH ES v4 on it.
> 
> Create a Volume Group and all necessary Logical Volumes etc on
> destination hard discs so that they are the same sizes as on the source.
> All the filesystems associated with these logical volumes will be mount
> under /restore.
> 
> Restore all the data that was on the source to the destination to
> /restore.
> 
> Note that /restore/boot is a small primary partition.
> 
> Once I have done this, do I copy /etc/lvm to /restore/etc/lvm, and then
> chroot /restore, then do vgscan? Finally label the discs, exec grub,
> then reboot
> 
> I guess the last bit is wrong?
> 
> TIA
> 
> Shaun
> 
> 
> 
> 
> 
> Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.xb.nl/disclaimer.html
> 
> 
> 
> 
> _______________________________________________
> 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/


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