1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cachevol: add LV type restrictions to command defs

LV type restrictions were missed on the command definitions.
This commit is contained in:
David Teigland 2020-07-23 15:10:35 -05:00
parent 085760992d
commit 7a507583d9

View File

@ -498,13 +498,13 @@ FLAGS: SECONDARY_SYNTAX
---
lvconvert --type writecache --cachedevice PV LV
lvconvert --type writecache --cachedevice PV LV_linear_striped_raid
OO: OO_LVCONVERT, --cachesize SizeMB, --cachesettings String
ID: lvconvert_to_writecache_with_device
DESC: Add a writecache to an LV, using a specified cache device.
RULE: all and lv_is_visible
lvconvert --type cache --cachedevice PV LV
lvconvert --type cache --cachedevice PV LV_linear_striped_raid_thinpool
OO: OO_LVCONVERT, --cachesize SizeMB, --cachesettings String
ID: lvconvert_to_cache_with_device
DESC: Add a cache to an LV, using a specified cache device.