master - lvconvert: fix converting hidden lv to pool
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=76b70d5058cbbe41b60b99f11cda5e698b3c62e9 Commit: 76b70d5058cbbe41b60b99f11cda5e698b3c62e9 Parent: b951d0433765d3ed7b0507906dec1894053cef4f Author: David Teigland <[email protected]> AuthorDate: Tue Apr 4 16:47:47 2017 -0500 Committer: David Teigland <[email protected]> CommitterDate: Tue Apr 4 16:47:47 2017 -0500
lvconvert: fix converting hidden lv to pool
A hidden LV can not be converted to a thin pool or cache pool.
--- tools/command-lines.in | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
tools/command-lines.in +2 -0
@@ -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 ---