Bug#508544: Must compiled LVM2 with --with-cluster=shared
Stefan Midjich
swehack at gmail.com
Wed Nov 21 09:41:22 UTC 2012
To get this file you must compile LVM2 with --with-cluster=shared.
I have tried doing this on Debian Squeeze with the source package.
apt-get source clvm
cd lvm2_2.02.66
vim debian/rules
On line 76 make it look like this.
./configure CFLAGS="$(CFLAGS)" \
$(CONFIGURE_FLAGS) \
--with-optimisation="" \
--with-device-uid=0 \
--with-device-gid=6 \
--with-device-mode=0660 \
--enable-applib \
--enable-cmdlib \
--enable-pkgconfig \
--enable-readline \
--enable-udev_sync \
--with-clvmd=all \
--with-cluster=shared
vim debian/clvm.install
usr/sbin/clvmd
usr/share/man/man8/clvmd*
lib/liblvm2clusterlock*
lib/lvm2/liblvm2clusterlock.so
then run debuild -us -uc and use the new deb file produced.
Now I did not need locking_type 2 so I never used this library, I can't
verify that it works. Just wanted to add to this bug report and ping it so
it gets some attention.
I've been forced to build my own deb for cmirrord in clvm. Also a lot of
resource agents could be added for pacemaker. For example clvmd and
cmirrord.
Where can one submit clvm deb file for review? I've been building a cluster
and have had to add many necessary things to clvm_2.02.66-5_amd64.deb to
get it working with pacemaker. Perhaps a clvm-common package is in order?
--
Hälsningar / Greetings
Stefan Midjich
[De omnibus dubitandum]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20121121/9bc8c6ed/attachment.html>
More information about the pkg-lvm-maintainers
mailing list