diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2019-01-24 14:57:36 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2019-03-20 14:39:11 +0100 |
commit | 597113646d10e14044e0b89712342ae73b77b697 (patch) | |
tree | 1acb2efc9047d56e77281c69c408a5d995d96148 /man | |
parent | 4411fe2ba855b9c42b5d1393fc08faf01b1d2636 (diff) | |
download | lvm2-597113646d10e14044e0b89712342ae73b77b697.tar.gz |
man: basic vdo stacking support
Document some basic lvconvert stacking posibilities.
Diffstat (limited to 'man')
-rw-r--r-- | man/lvconvert.8_pregen | 8 | ||||
-rw-r--r-- | man/lvmvdo.7_main | 42 |
2 files changed, 46 insertions, 4 deletions
diff --git a/man/lvconvert.8_pregen b/man/lvconvert.8_pregen index 26bcf5f46..842be37a8 100644 --- a/man/lvconvert.8_pregen +++ b/man/lvconvert.8_pregen @@ -570,7 +570,7 @@ Convert LV to a thin LV, using the original LV as an external origin. Attach a cache to an LV, converts the LV to type cache. .br .P -\fBlvconvert\fP \fB--type\fP \fBcache\fP \fB--cachepool\fP \fILV\fP \fILV\fP\fI_linear_striped_thinpool_raid\fP +\fBlvconvert\fP \fB--type\fP \fBcache\fP \fB--cachepool\fP \fILV\fP \fILV\fP\fI_linear_striped_thinpool_vdo_vdopool_vdopooldata_raid\fP .br .RS 4 .ad l @@ -783,7 +783,7 @@ Convert LV to type vdopool. Detach a cache from an LV. .br .P -\fBlvconvert\fP \fB--splitcache\fP \fILV\fP\fI_thinpool_cache_cachepool_writecache\fP +\fBlvconvert\fP \fB--splitcache\fP \fILV\fP\fI_thinpool_cache_cachepool_vdopool_writecache\fP .br .RS 4 [ COMMON_OPTIONS ] @@ -1692,7 +1692,7 @@ Convert LV to a thin LV, using the original LV as an external origin Attach a cache to an LV (infers --type cache). .br .P -\fBlvconvert\fP \fB-H\fP|\fB--cache\fP \fB--cachepool\fP \fILV\fP \fILV\fP\fI_linear_striped_thinpool_raid\fP +\fBlvconvert\fP \fB-H\fP|\fB--cache\fP \fB--cachepool\fP \fILV\fP \fILV\fP\fI_linear_striped_thinpool_vdo_vdopool_vdopooldata_raid\fP .br .RS 4 .ad l @@ -1782,7 +1782,7 @@ Convert LV to type vdopool. Detach and delete a cache from an LV. .br .P -\fBlvconvert\fP \fB--uncache\fP \fILV\fP\fI_thinpool_cache_writecache\fP +\fBlvconvert\fP \fB--uncache\fP \fILV\fP\fI_thinpool_cache_vdopool_writecache\fP .br .RS 4 [ COMMON_OPTIONS ] diff --git a/man/lvmvdo.7_main b/man/lvmvdo.7_main index 2572b465e..d42c1bde2 100644 --- a/man/lvmvdo.7_main +++ b/man/lvmvdo.7_main @@ -276,6 +276,48 @@ be activated. User has to deactivate VDODataLV first to continue to use VDOPoolL .SH VDO Topics + +.SS 1. Stacking VDO + +User can convert/stack VDO with existing volumes. + +.SS 2. VDO on top of raid + +Using Raid type LV for VDO Data LV. + +.I Example +.br +.nf +# lvcreate --type raid1 -L 5G -n vpool vg +# lvconvert --type vdo-pool -V 10G vg/vpool +.fi + +.SS 3. Caching VDODataLV, VDOPoolLV + +Cache VDO Data LV (accepts also VDOPoolLV. + +.I Example +.br +.nf +# lvcreate -L 5G -V 10G -n vdo1 vg/vpool +# lvcreate --type cache-pool -L 1G -n cpool vg +# lvconvert --cache --cachepool vg/cpool vg/vpool +# lvconvert --uncache vg/vpool +.fi + +.SS 3. Caching VDOLV + +Cache VDO LV. + +.I Example +.br +.nf +# lvcreate -L 5G -V 10G -n vdo1 vg/vpool +# lvcreate --type cache-pool -L 1G -n cpool vg +# lvconvert --cache --cachepool vg/cpool vg/vdo1 +# lvconvert --uncache vg/vdo1 +.fi + .br \& |