1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 0e7edd1d24 snapshot: improve validation
Do not allow to take snapshot of mirror/raid leg or log or metadata LV.
This was actually never supported, but user was able to create it,
and this put device stack in hardly fixable state (needs manual work).

This prevents such creation to pass.

Also improve validation when recreating snapshot volume type
from origin and COW volume.
2017-10-25 21:58:01 +02:00
..
activate thin: monitor also external origin 2017-10-16 15:47:46 +02:00
cache tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
cache_segtype cache: fix lvdisplay output 2017-06-22 20:17:18 +02:00
commands tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
config lvmconfig: Add options to produce file preamble 2017-08-05 16:23:34 +01:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
display coverity: validate retval from get_only_segment_using_this_lv 2017-06-27 00:27:36 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters tidy: prefer not using else after return 2017-07-20 11:18:29 +02:00
format1 tidy: else after continue 2017-07-20 11:18:29 +02:00
format_pool lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
format_text replicator: remove the code 2017-10-13 16:20:42 -05:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label pvcreate: Wipe cached bootloaderarea when wiping label. 2017-08-11 20:32:04 +01:00
locking tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
log log: fix message prefix truncation 2017-06-27 12:41:59 +01:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata snapshot: improve validation 2017-10-25 21:58:01 +02:00
mirror lvmlockd: activate mirror LVs in shared mode with cmirrord 2017-09-20 09:55:34 -05:00
misc locking: avoid descriptor leak for nonblocking mode 2017-08-25 14:12:55 +02:00
mm tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
notify dbus: also recognize error state for missing service that comes from original D-Bus 2016-11-15 10:09:11 +01:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: fix allocation/activation of reshape space 2017-07-14 15:53:23 +02:00
report tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: implement compatible target name 2016-12-05 17:02:01 +01:00
thin thin: add new ZERO/DISCARDS_UNSELECTED 2017-03-10 19:33:00 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid cleanup :drop unneeded header file 2016-10-03 17:49:56 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00