To get this file you must compile LVM2 with --with-cluster=shared. <br><br>I have tried doing this on Debian Squeeze with the source package. <br><br>apt-get source clvm<br>cd lvm2_2.02.66<br>vim debian/rules<br><br>On line 76 make it look like this. <br>
<br>        ./configure CFLAGS="$(CFLAGS)" \<br>                $(CONFIGURE_FLAGS) \<br>                --with-optimisation="" \<br>                --with-device-uid=0 \<br>                --with-device-gid=6 \<br>
                --with-device-mode=0660 \<br>                --enable-applib \<br>                --enable-cmdlib \<br>                --enable-pkgconfig \<br>                --enable-readline \<br>                --enable-udev_sync \<br>
                --with-clvmd=all \<br>                --with-cluster=shared<br><br>vim debian/clvm.install<br><br>usr/sbin/clvmd<br>usr/share/man/man8/clvmd*<br>lib/liblvm2clusterlock*<br>lib/lvm2/liblvm2clusterlock.so<br>
<br>then run debuild -us -uc and use the new deb file produced. <br><br>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. <br>
<br>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. <br><br>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? <br clear="all">
<br>-- <br>Hälsningar / Greetings<br><br>Stefan Midjich<br>[De omnibus dubitandum]<br>