[linux-lvm] LVM backup server

Patrick Caulfield caulfield at sistina.com
Wed Dec 3 08:21:02 UTC 2003


On Wed, Dec 03, 2003 at 08:36:44AM -0500, George Campbell wrote:
>    Link: File-List
> 
>    I followed the LVM HOW-TO to install and configure LVM on a Linux server.
>    I defined a single volume group, a single logical volume, and about 14
>    separate physical extents on a SAN. It works fine.
> 
>    My question is, what steps need to be done beyond the initial rpm install
>    and activation to configure LVM on a second server that will only be used
>    for backup if the first server goes down. I don't want to do anything that
>    would wipe out any data on the logical volume, but I want the volume group
>    and logical volume to be defined exactly as the original server has them
>    defined.
> 
>    It seems I should NOT do any pvcreates. Can I just do the vgcreate,
>    followed by the lvcreate, skip doing the mk2fs, and do the mount of the
>    logical volume?

You don't need to do anything apart from vgscan/vgchange -ay when you need to
use the volumes, the mount them.

Don't redo vgcreate/lvcreate as that will mangle the metadata for the other
node.

-- 

patrick





More information about the linux-lvm mailing list