[linux-lvm] LVM backup server

George Campbell george.campbell at bustech.com
Wed Dec 3 11:12:02 UTC 2003


I appreciate your reply. But, I'm confused. How can I do a mount /dev/lvg1/lvol1 /mnt/dvol1 command, when the logical volume group and logical volume have not been created on this server? Does the vgscan/vgchange ay build these entries in /dev?

-----Original Message-----
From: linux-lvm-admin at sistina.com [mailto:linux-lvm-admin at sistina.com]On Behalf Of Patrick Caulfield
Sent: Wednesday, December 03, 2003 9:20 AM
To: linux-lvm at sistina.com
Subject: Re: [linux-lvm] LVM backup server

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 at sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list