Bug 831638

Summary: thin_check not found
Product: Red Hat Enterprise Linux 7 Reporter: Xiaowei Li <xiaoli>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Default / Unclassified QA Contact: cluster-qe <cluster-qe>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: high CC: agk, heinzm, jbrassow, msnitzer, notting, prajnoha, prockai, qcai, thornber, zkabelac
Version: 7.0Keywords: Triaged
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.97-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-19 10:22:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiaowei Li 2012-06-13 13:42:33 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.#lvchange -ay vg/thin_pool
2.
3.
  
Actual results:
#libdm-deptree.c:2362     Suppressed tsvg-pool2_tdata identical table reload.
#libdm-config.c:767       global/thin_check_executable not found in config: defaulting to /sbin/thin_check -q
#misc/lvm-exec.c:65     Executing: /sbin/thin_check -q /dev/mapper/tsvg-pool2_tmeta
#locking/file_locking.c:51         _undo_flock /var/lock/lvm/V_tsvg
#mm/memlock.c:462         memlock reset.
#device/dev-io.c:577         Closed /dev/loop1
#device/dev-io.c:577         Closed /dev/loop2
#device/dev-io.c:577         Closed /dev/loop3
#device/dev-io.c:577         Closed /dev/loop0
#misc/lvm-exec.c:80   /sbin/thin_check: execvp failed: No such file or directory
#misc/lvm-exec.c:99     /sbin/thin_check failed: 2



Expected results:


Additional info:

Comment 1 Xiaowei Li 2012-06-13 13:47:10 UTC
lvm2-2.02.95-6.el7.x86_64

Comment 2 Xiaowei Li 2012-06-13 13:49:22 UTC
where can I get the thin_check and thin_dump?

Comment 3 Zdenek Kabelac 2012-06-13 13:51:35 UTC
lvm2 currently does not have dependency on

device-mapper-persistent-data

which must be installed separately

Since not all users are going to use thin - dependency here is tricky - we need to came with some better solution - i.e. check before  lvcreate if tools are avaialble)

Comment 6 Alasdair Kergon 2012-06-13 14:19:07 UTC
We'll have a dependency when this becomes supported, but not while it's tech preview (as we shouldn't install a pure tech preview package for everyone by default).

Comment 7 Xiaowei Li 2012-06-13 14:31:49 UTC
Thanks all for the clarification.

I am putting thin_check_executable = "" to the global{} in lvm.conf to skip this check.

Comment 8 Bill Nottingham 2012-06-13 18:14:52 UTC
Is it expected to be TP still in RHEL 7 GA?

Comment 9 Mike Snitzer 2012-06-13 19:09:08 UTC
(In reply to comment #8)
> Is it expected to be TP still in RHEL 7 GA?

No, should be fully supported.

Comment 10 Bill Nottingham 2012-06-13 20:41:09 UTC
In that case, I don't see any reason not to add the dep in the RHEL 7 packages.

Comment 12 Peter Rajnoha 2012-10-19 10:22:16 UTC
lvm2 build that requires device-mapper-persistent-data has already been automatically imported from Fedora to RHEL7 as lvm2-2.02.97-1.el7.