[linux-lvm] the lvm shared storage question of the week
john at johnleach.co.uk
Thu Aug 7 18:22:09 UTC 2008
On Wed, 2008-08-06 at 08:38 +0200, Jean Spirat wrote:
> > LVM manual briefly mentions CLVM (should apply equally well to debian):
> > http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Cluster_Logical_Volume_Manager/index.html
> yes it just speak about it but there is no doc at all, nothing tells us
> if it listen on a tcp port or just communicate by using data on the disk
> or anything about the setup. Also it speak about special configuration
> in lvm.conf but nowhere i see WHAT should be configured :)
CLVM needs a distributed lock manager to work (which communicates over
the network, not via the disk). This is usually provided with the help
of the RedHat Cluster Suite.
>that it should use
>but is this enough ?
by default, locking type 2 or 3 requires clvmd, which as I say will
require a cluster setup of some kind.
You *can* work without a cluster manager but I'm not sure how advised it
is. So you leave your locking type as 1 and use "lvchange
--refresh /dev/vg/*" on all nodes to reload metadata from disk whenever
you make a change. Can be a bit risky.
More information about the linux-lvm