summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-05-19 14:36:40 -0500
committerMarian Csontos <mcsontos@redhat.com>2021-08-11 13:01:20 +0200
commitd98e8e27ce32f9a64b37a3ed3bd8fd5bbe1eaf2f (patch)
tree849a84bea0be7158cc26328f07db2f3b0c643b20
parentcc97773feb79342c31bfd5a8a5badd94e2b51161 (diff)
downloadlvm2-d98e8e27ce32f9a64b37a3ed3bd8fd5bbe1eaf2f.tar.gz
enable command syntax for thin and writecache
converting an LV with a writecache to thin pool data in addition to previous attaching writecache to thin pool data (cherry picked from commit a65f8e0a62b9ab3c2fc909a63abfa0e933619a8c)
-rw-r--r--tools/command-lines.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/command-lines.in b/tools/command-lines.in
index 1107c1e02..67c37ffd0 100644
--- a/tools/command-lines.in
+++ b/tools/command-lines.in
@@ -534,7 +534,7 @@ RULE: all and lv_is_visible
---
-lvconvert --type thin-pool LV_linear_striped_raid_cache_error_zero
+lvconvert --type thin-pool LV_linear_striped_raid_cache_writecache_error_zero
OO: --stripes_long Number, --stripesize SizeKB,
OO_LVCONVERT_THINPOOL, OO_LVCONVERT_POOL, OO_LVCONVERT
OP: PV ...
@@ -566,7 +566,7 @@ RULE: --poolmetadata not --readahead --stripesize --stripes_long
# This command syntax is deprecated, and the primary forms
# of creating a pool or swapping metadata should be used.
-lvconvert --thinpool LV_linear_striped_raid_cache_thinpool
+lvconvert --thinpool LV_linear_striped_raid_cache_writecache_thinpool
OO: --stripes_long Number, --stripesize SizeKB,
OO_LVCONVERT_THINPOOL, OO_LVCONVERT_POOL, OO_LVCONVERT
OP: PV ...