Copying LVM from one system to another

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

 



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/

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

  Powered by Linux