1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/lib/metadata
Jonathan Earl Brassow 80924bc9ff Don't allow two images to be split and tracked from a RAID LV at one time
Also, don't allow a splitmirror operation on a RAID LV that is already tracking
a split, unless the operation is to stop the tracking and complete the split.
Example:
~> lvconvert --splitmirrors 1 --trackchanges vg/lv /dev/sdc1
# Now tracking changes - image can be merged back or split-off for good
~> lvconvert --splitmirrors 1 -n new_name vg/lv /dev/sdc1
# ^ Completes split ^

If a split is performed on a RAID that is tracking an already split image and
PVs are provided, we must ensure that
 1) the already split LV is represented in the PVs
 2) we are careful to split only the tracked image
2011-12-01 00:21:04 +00:00
..
lv_alloc.h Always use vg memory pool for allocated lv segment 2011-10-23 16:02:01 +00:00
lv_manip.c Query before removing inactive snapshots 2011-11-18 19:25:20 +00:00
lv.c Add 'Volume Type' lv_attr characters for RAID and RAID_IMAGE. 2011-09-23 15:17:54 +00:00
lv.h Add a new 'thin_pool' output field to 'lvs. 2011-09-09 00:54:49 +00:00
merge.c Thin supports snapshots 2011-11-07 11:03:47 +00:00
metadata-exported.h Do not allow users to change the name of RAID sub-LVs or the name of the 2011-12-01 00:09:34 +00:00
metadata.c Replace dynamic buffer allocations for PATH_MAX 2011-11-18 19:31:09 +00:00
metadata.h Thin supports snapshots 2011-11-07 11:03:47 +00:00
mirror.c Disallow 'mirrored' log for cluster mirrors. 2011-10-25 13:17:04 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Improve the discard documentation. Also improve discard code in 2011-04-13 18:26:39 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Remove superfluous fn prototypes. 2010-07-09 15:21:10 +00:00
pv.c Terminate pv_attr field correctly. (2.02.86) 2011-09-07 13:42:00 +00:00
pv.h Defer writing PV labels to vg_write. 2011-06-01 19:29:31 +00:00
raid_manip.c Don't allow two images to be split and tracked from a RAID LV at one time 2011-12-01 00:21:04 +00:00
replicator_manip.c add thin_manip.c like the other manip files 2011-09-06 19:25:42 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Use a more correct macro for 'seg_is_linear' 2011-10-14 14:21:32 +00:00
snapshot_manip.c Fix potential null ptr deref in 'origin_from_cow' 2011-07-19 16:23:52 +00:00
thin_manip.c Small comment and indent updates 2011-11-10 12:43:05 +00:00
vg.c Avoid lvextend to overflow 2011-11-04 22:49:53 +00:00
vg.h Avoid lvextend to overflow 2011-11-04 22:49:53 +00:00