Bug#673000: lvm2: Please build with dm-thin option

Bernhard Schmidt berni at birkenwald.de
Tue May 15 11:27:41 UTC 2012


Package: lvm2
Version: 2.02.95-3
Severity: normal
Tags: patch

LVM supports the dm-thin thin provisioning target starting in vesion 2.02.89, but it needs
to be enabled at compile time. Please add --with-thin=internal 

Before: 
root at svr03:~# lvcreate -i 1 -I 64 -c 256 -L100M -T raid1/pool -V 1T --name thin_lv                                                          
  WARNING: Unrecognised segment type thin
  Unable to create LV with unknown segment type thin.
  Run `lvcreate --help' for more information.

After:
root at svr03:~# lvcreate -i 1 -I 64 -c 256 -L100M -T raid1/pool -V 1T --name thin_lv
  Ignoring stripesize argument with single stripe
  Rounding up size to full physical extent 4,00 MiB
  Logical volume "thin_lv" created


--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,7 @@ $(STAMPS_DIR)/setup_deb: $(STAMPS_DIR)/source
                --with-optimisation="$(CFLAGS_OPT_DEB)" \
                --with-clvmd=cman,corosync,openais \
                --with-cluster=internal \
+               --with-thin=internal \
                --with-device-uid=0 \
                --with-device-gid=6 \
                --with-device-mode=0660 \





More information about the pkg-lvm-maintainers mailing list