1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-21 14:50:36 +03:00

man: basic vdo stacking support

Document some basic lvconvert stacking posibilities.
This commit is contained in:
Zdenek Kabelac 2019-01-24 14:57:36 +01:00
parent 4411fe2ba8
commit 597113646d
2 changed files with 46 additions and 4 deletions

View File

@ -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 ]

View File

@ -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
\&