[linux-lvm] CLVM

Patrick Caulfeld pcaulfie at redhat.com
Wed Jan 9 14:27:20 UTC 2008

Bryn M. Reeves wrote:
> admin wrote:
>> Hi,
>> I wan't to use clvm but without cman and related packages, is this
>> possible. When i was trying to compile lvm to use clvm i need to add
>> --with-clvmd but there were problem with dependencies so I need to
>> compile cluster first. I'm using debian and don't need cluster and gfs,
>> only clvm.
> The clvm deamon currently depends on the RHCS infrastructure (cman, dlm).
> In principal it's possible to make it work with other cluster software
> but you'll need to add support for whatever locking and membership
> mechanisms you're using.
> See the code in daemons/clvmd/{clvmd-cman,clvmd-gulm,clvmd-openais}.c
> that interfaces to the different versions of RHCS and the cluster_ops
> struct in clvmd-comms.h to get some ideas.

That's good advice. clvmd will run with 'just' openais, but you need to
configure it yourself and it's not well tested. If you need to adapt
clvmd for other clustering infrastructures then clvmd-openais.c is the
file to adapt as it's by far the simplest. Though it does require that
the cluster software provides messaging as a service.


More information about the linux-lvm mailing list