[linux-lvm] lvm on a share environnement (SAN inside)
David Robinson
zxvdr.au at gmail.com
Fri Sep 28 07:12:59 UTC 2007
hubert chomette wrote:
> the two machine use the same lun, on this lun, there is one vg with a
> logical volume by virtual machine (10 virtual machine).
> The idea is if one xen is down, the other can launch the virtual machine
> ad continu service.
So its a high-availability cluster...
>>> - Is it possible to allow LVM metadata modification by only one server?
>>> - should I use clvm instead?
The link below describes what can happen.
http://www.tldp.org/HOWTO/LVM-HOWTO/sharinglvm1.html
It sounds like you should be using CLVM. CLVM extends LVM2 to provide
cluster-wide management of Logical Volumes. LVM and CLVM are essentially
the same thing, but CLVM is cluster aware, LVM is not.
Alasdair has some presentations which describe CLVM in detail here:
http://people.redhat.com/agk/talks/CLVM-UKUUG2007/
>>> - Is it possible to migrate lvm to clvm without any data lost?
There's no migration involved, you just need to enable cluster locking
for the shared volume group.
eg: vgchange -c y VolumeGroupName
--Dave
More information about the linux-lvm
mailing list