Bug#673000: lvm2: enabling dm-thin is currently dangerous

Jarek Kamiński jarek at vilo.eu.org
Mon Jun 4 12:18:03 UTC 2012


Building lvm --with-thin=internal is currently dangerous. Trying to open
thin volume I get:
[jarek at rocket ~]% sudo lvchange -ay thinpool
  /sbin/thin_check: execvp failed: No such file or directory
  Check of thin pool vg0/thinpool failed (status:2). Manual repair required (thin_dump --repair /dev/mapper/vg0-thinpool_tmeta)!
[jarek at rocket ~] {5}%

Unfortunately, thin_check and thin_dump are not packaged in Debian.
I believe, that before they are, either --with-thin should be disabled,
or some big fat warning about locking data should be displayed.

Building thin-provisioning-tools [1] and installing thin_check into
/sbin/ allowed me to open the volume.

[1] https://github.com/downloads/jthornber/thin-provisioning-tools/thin-provisioning-tools-v0.1.5.tar.bz2

cheers(); // Jarek

More information about the pkg-lvm-maintainers mailing list