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 ne

在使用lvcreate创建thinLV时出现错误,由于缺少/usr/sbin/thin_check和/usr/sbin/thin_repair工具。解决此问题需要安装相关工具。通过-l|--extents选项指定新LV的大小,可以以逻辑扩展或百分比形式表示。对于快照,大小可以用源LV的百分比表示。在实际操作中,百分比定义的是LV逻辑扩展的上限,实际数量会在命令完成时确定。
最低0.47元/天 解锁文章
3234

被折叠的 条评论
为什么被折叠?



