mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cache: support more segtypes for caching
Enable support to cache thin/error/zero virtual targets. Use can now select whether he want to cache whole thin-pool, or an individual thin volume out of whole thin-pool. Support using zero and error LVs as data volume for cachepool is possibly useful for benchmarking, not much can be expected from such setup.
This commit is contained in:
parent
0dee6fc28c
commit
88f1e7a9a7
@ -538,7 +538,7 @@ Attach a cache pool to an LV, converts the LV to type cache.
|
||||
.RE
|
||||
.P
|
||||
.RS 4
|
||||
LV1 types: linear striped thinpool vdo vdopool vdopooldata raid
|
||||
LV1 types: linear striped thin thinpool vdo vdopool vdopooldata raid error zero
|
||||
.RE
|
||||
.P
|
||||
\(em
|
||||
@ -718,7 +718,7 @@ Convert LV to type cache-pool.
|
||||
.RE
|
||||
.P
|
||||
.RS 4
|
||||
LV1 types: linear striped raid
|
||||
LV1 types: linear striped raid error zero
|
||||
.RE
|
||||
.P
|
||||
\(em
|
||||
@ -1766,7 +1766,7 @@ Attach a cache pool to an LV.
|
||||
.RE
|
||||
.P
|
||||
.RS 4
|
||||
LV1 types: linear striped thinpool vdo vdopool vdopooldata raid
|
||||
LV1 types: linear striped thin thinpool vdo vdopool vdopooldata raid error zero
|
||||
.RE
|
||||
.P
|
||||
\(em
|
||||
|
@ -475,7 +475,7 @@ RULE: --poolmetadata not --readahead --stripesize --stripes_long
|
||||
|
||||
---
|
||||
|
||||
lvconvert --type cache --cachepool LV LV_linear_striped_raid_thinpool_vdo_vdopool_vdopooldata
|
||||
lvconvert --type cache --cachepool LV LV_linear_striped_raid_thinpool_vdo_vdopool_vdopooldata_thin_error_zero
|
||||
OO: --cache, OO_LVCONVERT_CACHE, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
ID: lvconvert_to_cache_with_cachepool
|
||||
DESC: Attach a cache pool to an LV, converts the LV to type cache.
|
||||
@ -483,7 +483,7 @@ RULE: all and lv_is_visible
|
||||
RULE: --poolmetadata not --readahead --stripesize --stripes_long
|
||||
|
||||
# alternate form of lvconvert --type cache
|
||||
lvconvert --cache --cachepool LV LV_linear_striped_raid_thinpool_vdo_vdopool_vdopooldata
|
||||
lvconvert --cache --cachepool LV LV_linear_striped_raid_thinpool_vdo_vdopool_vdopooldata_thin_error_zero
|
||||
OO: OO_LVCONVERT_CACHE, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
ID: lvconvert_to_cache_with_cachepool
|
||||
DESC: Attach a cache pool to an LV.
|
||||
@ -579,7 +579,7 @@ AUTOTYPE: thin-pool
|
||||
|
||||
---
|
||||
|
||||
lvconvert --type cache-pool LV_linear_striped_raid
|
||||
lvconvert --type cache-pool LV_linear_striped_raid_error_zero
|
||||
OO: OO_LVCONVERT_CACHE, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
OP: PV ...
|
||||
ID: lvconvert_to_cachepool
|
||||
|
Loading…
Reference in New Issue
Block a user