[linux-lvm] vgcreate failed when using iscsi + dm-multipath + lvm

David Teigland teigland at redhat.com
Wed Mar 15 14:29:23 UTC 2017

On Tue, Mar 14, 2017 at 03:40:56PM -0700, Neutron Sharc wrote:
> Thank you David!
> I grabbed lvm2 src (git://sourceware.org/git/lvm2.git)  and build from
> tag v2_02_168.  It seems the basic "./configure" doesn't include a lot
> of components such as lvmetad.  What are the config options you would
> recommend to use?  Thanks.

Finding configure options is a hassle.  One way to go is to look at the
lvm package build logs for your distribution, and start with the configure
used there (perhaps removing some things you know you don't need).  The
configure used by the latest Fedora 26 build is


./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu
--program-prefix= --disable-dependency-tracking --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm
--with-default-pid-dir=/run --with-default-locking-dir=/run/lock/lvm
--with-usrlibdir=/usr/lib64 --enable-lvm1_fallback --enable-fsadm
--with-pool=internal --enable-write_install --with-user= --with-group=
--with-device-uid=0 --with-device-gid=6 --with-device-mode=0660
--enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd
--enable-blkid_wiping --enable-python2-bindings --enable-python3-bindings
--with-cluster=internal --with-clvmd=corosync --enable-cmirrord
--with-udevdir=/usr/lib/udev/rules.d --enable-udev_sync
--with-thin=internal --enable-lvmetad --with-cache=internal
--enable-lvmpolld --enable-lockd-dlm --enable-lockd-sanlock
--enable-dbus-service --enable-notify-dbus

More information about the linux-lvm mailing list