mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
pool: allow data on zero and error segtypes
Renables usage of --type zero and --type error LVs to serve as backend for _tdata device. Clearly not very useful in practice, as it can't store any real data, but usable for some testing and some sort of perfomance checking. lvcreate --type zero -L1T -n pool vg lvconvert --thinpool vg/pool Will create a thin-pool with zero device backend.
This commit is contained in:
parent
7a9efc5fae
commit
1c3774c7a8
@ -435,7 +435,7 @@ FLAGS: SECONDARY_SYNTAX
|
||||
# lvconvert utilities for creating/maintaining thin and cache objects.
|
||||
# Create a new command set for these and migrate them out of lvconvert?
|
||||
|
||||
lvconvert --type thin --thinpool LV LV_linear_striped_raid_cache_thin
|
||||
lvconvert --type thin --thinpool LV LV_linear_striped_raid_cache_thin_error_zero
|
||||
OO: --thin, --originname LV_new, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
ID: lvconvert_to_thin_with_external
|
||||
DESC: Convert LV to a thin LV, using the original LV as an external origin.
|
||||
@ -444,7 +444,7 @@ RULE: all not lv_is_locked lv_is_raid_with_integrity
|
||||
RULE: --poolmetadata not --readahead --stripesize --stripes_long
|
||||
|
||||
# alternate form of lvconvert --type thin
|
||||
lvconvert --thin --thinpool LV LV_linear_striped_raid_cache_thin
|
||||
lvconvert --thin --thinpool LV LV_linear_striped_raid_cache_thin_error_zero
|
||||
OO: --type thin, --originname LV_new, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
ID: lvconvert_to_thin_with_external
|
||||
DESC: Convert LV to a thin LV, using the original LV as an external origin
|
||||
@ -517,7 +517,7 @@ RULE: all and lv_is_visible
|
||||
|
||||
---
|
||||
|
||||
lvconvert --type thin-pool LV_linear_striped_raid_cache
|
||||
lvconvert --type thin-pool LV_linear_striped_raid_cache_error_zero
|
||||
OO: --stripes_long Number, --stripesize SizeKB,
|
||||
OO_LVCONVERT_THIN, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
OP: PV ...
|
||||
@ -593,7 +593,7 @@ RULE: all not lv_is_raid_with_integrity
|
||||
# This command syntax is deprecated, and the primary forms
|
||||
# of creating a pool or swapping metadata should be used.
|
||||
|
||||
lvconvert --cachepool LV_linear_striped_raid_cachepool
|
||||
lvconvert --cachepool LV_linear_striped_raid_cachepool_error_zero
|
||||
OO: --type cache-pool, OO_LVCONVERT_CACHE, OO_LVCONVERT_POOL, OO_LVCONVERT
|
||||
OP: PV ...
|
||||
ID: lvconvert_to_cachepool_or_swap_metadata
|
||||
|
Loading…
Reference in New Issue
Block a user