Re: LVM backup server

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

 



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


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.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