1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvcreate: continue to accept --thinpool with -L and -V but not -T

lvcreate --thinpool POOL1 -L 100M --virtualsize 100M snapper_thinp

https://bugzilla.redhat.com/1434027

(The general rule is that a command is accepted if it is unambiguous.
The combination -L -V --thinpool uniquely identifies the operation.)
This commit is contained in:
Alasdair G Kergon 2017-03-20 21:57:17 +00:00
parent b3e833c777
commit 642d682d8d

View File

@ -1056,7 +1056,7 @@ FLAGS: SECONDARY_SYNTAX
--- ---
lvcreate --size SizeMB --virtualsize SizeMB VG lvcreate --size SizeMB --virtualsize SizeMB VG
OO: --type thin, --type snapshot, --thin, --snapshot, OO_LVCREATE_POOL, OO_LVCREATE_THIN, OO_LVCREATE, OO: --type thin, --type snapshot, --thin, --snapshot, --thinpool LV_new, OO_LVCREATE_POOL, OO_LVCREATE_THIN, OO_LVCREATE,
--stripes Number, --stripesize SizeKB --stripes Number, --stripesize SizeKB
OP: PV ... OP: PV ...
IO: --mirrors 0 IO: --mirrors 0