dm thin facility incomplete - thin-provisioning-tools not packaged

Bug #1067386 reported by Neil Wilson on 2012-10-16
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Undecided
Unassigned

Bug Description

The lvm2 package is built with --with-thin=internal option activated, but the supporting userspace activation tools are neither packaged nor depended upon correctly.

The errors reported in Debian at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673000#17 also occur on Ubuntu Quantal.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lvm2 2.02.95-4ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Tue Oct 16 14:57:35 2012
SourcePackage: lvm2
UpgradeStatus: No upgrade log present (probably fresh install)

Neil Wilson (neil-aldur) wrote :
description: updated
Neil Wilson (neil-aldur) wrote :
Neil Wilson (neil-aldur) on 2012-11-08
Changed in lvm2 (Ubuntu):
status: New → In Progress
Oliver Brakmann (obrakmann) wrote :

The thin-provisiong-tools package has landed in Sid a few days ago: http://packages.debian.org/sid/thin-provisioning-tools.

Can it still be included in Saucy so that the feature may be stabilized for 14.04 LTS?

elatllat (elatllat) wrote :

4 years later and this is still an issue on Ubuntu 16.04/Linux 4.4/LVM 2.02.133.

## setup;
apt-get install -y lvm2
mkdir test
cd test/
dd if=/dev/zero of=lvma.img bs=1M count=10
dd if=/dev/zero of=lvmb.img bs=1M count=10
dd if=/dev/zero of=lvmc.img bs=1M count=10
losetup /dev/loop0 lvma.img
losetup /dev/loop1 lvmb.img
losetup /dev/loop2 lvmc.img
pvcreate /dev/loop0 /dev/loop1 /dev/loop2
vgcreate vg_test /dev/loop0 /dev/loop1
S=$(vgdisplay vg_test | grep Free)
lvcreate -l $S vg_test -n lv_test
mke2fs -t ext4 -m 0 /dev/vg_test/lv_test
vgextend vg_test /dev/loop2
S=$(echo "$(vgdisplay vg_test | grep Free | perl -pe 's/^.*? ([0-9])/$1/g;s/ .*//g')-4" | bc )
lvcreate --type cache --cachemode writeback -l $S -n lv_test_cache vg_test/lv_test /dev/loop2

## break attempting to detach then fix;
lvchange -an vg_test/lv_test
  /usr/sbin/cache_check: execvp failed: No such file or directory
  WARNING: Integrity check of metadata for pool vg_test/lv_test_cache failed.
apt-get install thin-provisioning-tools
lvchange -an vg_test/lv_test
vgexport vg_test

#thin-provisioning-tools should be a dependency of lvm2.

Changed in lvm2 (Ubuntu):
status: In Progress → Confirmed
elatllat (elatllat) wrote :

On CentOS 7.2/Linux 3.10 lmv2 depends on device-mapper-persistent-data which is what they call thin-provisioning-tools

repoquery --requires lvm2
yum info device-mapper-persistent-data.x86_64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.