lvcreate
创建thinLV时报错
root@test:~# lvcreate -V 250M --thin -n thin_lv1 test-vg/data_pool
Using default stripesize 64.00 KiB.
Rounding up size to full physical extent 252.00 MiB
/usr/sbin/thin_check: execvp failed: No such file or directory
WARNING: Integrity check of metadata for pool test-vg/data_pool failed.
/usr/sbin/thin_check: execvp failed: No such file or directory
Check of pool test-vg/data_pool failed (status:2). Manual repair required!
Failed to activate thin pool test-vg/data_pool.
原因是缺少/usr/sbin/thin_check和/usr/sbin/thin_repair,安装如下工具即可
apt-get -y install thin-provisioning-tools
-l|--extents Number[PERCENT]
Specifies the size of the new LV in logical extents. The --size and --extents options are alternate methods of specifying size. The total number of physical extents used will be greater when redundant data is needed for RAID levels. An alternate s