1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
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
..
cache_manip.c cache: restore origin only reload 2017-06-23 18:44:01 +02:00
lv_alloc.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
lv_manip.c snapshot: improve validation 2017-10-25 21:58:01 +02:00
lv.c tidy: prefer not using else after return 2017-07-20 11:18:29 +02:00
lv.h replicator: remove the code 2017-10-13 16:20:42 -05:00
merge.c replicator: remove the code 2017-10-13 16:20:42 -05:00
metadata-exported.h liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00
metadata-liblvm.c liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00
metadata.c liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00
metadata.h liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00
mirror.c pvmove: require LV name in a shared VG 2017-09-20 09:56:51 -05:00
pool_manip.c cleanup: minor cosmetics 2017-03-10 19:33:01 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c liblvm: Move lib code used exclusively into metadata-liblvm.c 2017-10-18 19:29:32 +01:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
raid_manip.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
segtype.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
segtype.h replicator: remove the code 2017-10-13 16:20:42 -05:00
snapshot_manip.c lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c thin: Improve overprovisioning and repair warnings. 2017-10-09 19:48:00 +01:00
vg.c macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
vg.h replicator: remove the code 2017-10-13 16:20:42 -05:00