Public bug reported: Binary package hint: lvm2
When using clvm you need an external looking library in Debian/Ubuntu, the lib in included in the clvm pacakge. However when creating the very first thing in your clustered lvm setup it will fail with: r...@xyzeadf:~# pvcreate /dev/sda Unable to open external locking library liblvm2clusterlock.so: liblvm2clusterlock.so: cannot open shared object file: No such file or directory Unknown locking type requested. Locking type 2 initialisation failed. Thats because liblvm2clusterlock.so is located in /lib/lvm2/ where in this case pvcreate will not search for it. Workaround/fix is to either do ln -s /lib/lvm2/liblvm2clusterlock.so /lib/liblvm2clusterlock.so or edit /etc/ld.so.conf to include /lib/lvm2 and then exec ldconfig Cheers ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 NonfreeKernelModules: nvidia Package: clvm 2.02.39-0ubuntu9 ProcEnviron: SHELL=/bin/bash PATH=(custom, no user) LANG=en_GB.UTF-8 SourcePackage: lvm2 Uname: Linux 2.6.28-17-server i686 ** Affects: lvm2 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- liblvm2clusterlock not in library search path https://bugs.launchpad.net/bugs/504629 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs