mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
7a9efc5fae
Enabled extension/mixing of stripes/linears, error and zero segtype LVs with stripes/linear, error and zero segtypes. It is not very useful in practice, as the user cannot store any real data on error or zero segtypes, but it may get some uses in some scenarios where i.e. some portion of the device should not be readable. Mixing of types happens on 'extent_size' level: lvcreate -L1 -n lv vg lvextend --type error -L+1 vg/lv lvextend --type zero -L+1 vg/lv lvextend --type linear -L+1 vg/lv lvextend --type striped -L+1 vg/lv lvs -o+segtype,seg_size vg Note: when the type is not specified, the last segment type is automatically selected. It's also a small 'can of worms' since we can't tell LVs if the LV is linear/error/zero or their mixtures. So the meaning behind them may need some updates. We already have this types of LV created i.e by: vgreduce --removemissing --force where missing LV segments have been replaced by either error or zero segtype (lvm.conf). TODO: it might be worth adding a message while such device is activated. |
||
---|---|---|
.. | ||
activate | ||
cache | ||
cache_segtype | ||
commands | ||
config | ||
datastruct | ||
device | ||
display | ||
error | ||
filters | ||
format_text | ||
freeseg | ||
integrity | ||
label | ||
locking | ||
log | ||
lvmpolld | ||
metadata | ||
mirror | ||
misc | ||
mm | ||
notify | ||
properties | ||
raid | ||
report | ||
snapshot | ||
striped | ||
thin | ||
unknown | ||
uuid | ||
vdo | ||
writecache | ||
zero | ||
Makefile.in |