RE: LVM backup server

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

 



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@sistina.com [mailto:linux-lvm-admin@sistina.com]On Behalf Of Patrick Caulfield
Sent: Wednesday, December 03, 2003 9:20 AM
To: linux-lvm@sistina.com
Subject: Re:  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@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
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