Bug 21625 - can not create a thin logical volume : missing /usr/sbin/thin_check
Summary: can not create a thin logical volume : missing /usr/sbin/thin_check
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 10:49 CEST by eric gerbier
Modified: 2020-08-05 16:06 CEST (History)
3 users (show)

See Also:
Source RPM: lvm2
CVE:
Status comment:


Attachments

Description eric gerbier 2017-08-28 10:49:11 CEST
Description of problem:
using doc from man lvmthin, try to create a thin logical volume
but seems to miss some tool : /usr/sbin/thin_check

lxcti1:/root => lvcreate -n thin1 -V 250G --thinpool vg_test/pool0
  Using default stripesize 64,00 KiB.
  /usr/sbin/thin_check: execvp failed: Aucun fichier ou dossier de ce type
  WARNING: Integrity check of metadata for pool vg_test/pool0 failed.
  /usr/sbin/thin_check: execvp failed: Aucun fichier ou dossier de ce type
  Check of pool vg_test/pool0 failed (status:2). Manual repair required!
  Failed to activate thin pool vg_test/pool0.



Version-Release number of selected component (if applicable):
lvm2-2.02.168-1.mga6

How reproducible:


Steps to Reproduce:
1. pvcreate /dev/sdc1
2. pvcreate /dev/sdc2
3. vgcreate vg_test /dev/sdc1 /dev/sdc2
4. lvcreate -n pool0 -L 500G vg_test
5. lvcreate -n pool0meta -L 1G vg_test
6. lvconvert --type thin-pool --poolmetadata vg_test/pool0meta vg_test/pool0
7.  lvs -a
8.  lvcreate -n thin1 -V 250G --thinpool vg_test/pool0
Marja Van Waes 2017-08-28 22:12:25 CEST

CC: (none) => marja11, tmb
Assignee: bugsquad => kernel

Comment 1 eric gerbier 2017-09-12 16:40:54 CEST
it is possible to disable lvm check by configuring thin_check_executable to "" in /etc/lvm/lvm.conf, but it is not safe, for example after a kernel panic.
Comment 2 Aurelien Oudelet 2020-08-05 16:06:54 CEST
This message is a reminder that Mageia 6 is end of life.

Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL).

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 6's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot 
be able to fix it before Mageia 6 was end of life.
If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad

Status: NEW => RESOLVED
CC: (none) => ouaurelien
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.