diff options
author | David Teigland <teigland@redhat.com> | 2017-04-04 16:47:47 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-04-04 16:47:47 -0500 |
commit | 76b70d5058cbbe41b60b99f11cda5e698b3c62e9 (patch) | |
tree | 0661265a1f5ef0460f02022f100f6091607d46e5 | |
parent | b951d0433765d3ed7b0507906dec1894053cef4f (diff) | |
download | lvm2-76b70d5058cbbe41b60b99f11cda5e698b3c62e9.tar.gz |
lvconvert: fix converting hidden lv to pool
A hidden LV can not be converted to a thin pool or cache pool.
-rw-r--r-- | tools/command-lines.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/command-lines.in b/tools/command-lines.in index b2682faa6..fe98cc609 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -495,6 +495,7 @@ ID: lvconvert_to_thinpool_or_swap_metadata DESC: Convert LV to type thin-pool (variant, use \\-\\-type thin-pool). DESC: Swap metadata LV in a thin pool (variant, use \\-\\-swapmetadata). FLAGS: PREVIOUS_SYNTAX +RULE: all and lv_is_visible --- @@ -533,6 +534,7 @@ ID: lvconvert_to_cachepool_or_swap_metadata DESC: Convert LV to type cache-pool (variant, use \\-\\-type cache-pool). DESC: Swap metadata LV in a cache pool (variant, use \\-\\-swapmetadata). FLAGS: PREVIOUS_SYNTAX +RULE: all and lv_is_visible --- |