1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

11073 Commits

Author SHA1 Message Date
Heinz Mauelshagen
891c49ce90 raid_manip:
factored out functions
	fixed messages
	fixed duplicate/unduplicate/split
2015-12-14 19:12:15 +01:00
Heinz Mauelshagen
dde282a1ef raid_manip:
rework duplicate/unduplicate and split helpers
	rename lv to LV in messages and comments
	factor out _remove_layer()
	redo _rename_sub_lvs()
2015-12-10 23:36:16 +01:00
Heinz Mauelshagen
a0a91860b7 raid_manip: fator out duplicating sub-lv creation 2015-12-10 14:08:13 +01:00
Heinz Mauelshagen
34df1ec014 raid_manip:
check degradation on splitting off raid1 legs
	allow splitting off a leg og a 2-way duplicating LV, presumably the remaining single leg is resilient
2015-12-10 13:51:25 +01:00
Heinz Mauelshagen
74ef709fde raid_manip: introduce and make use of internal LV_DUPLICATED flag on duplicating sub lvs 2015-12-09 15:57:57 +01:00
Heinz Mauelshagen
ffeb4edfea raid_manip:
support region size change with check of metadata device limit
	add duplicate argument to _yes_no_conversion() to adjust prompts
	use RETURN_* in more places
	add to possible_types
{lv,raid}_manip,lvconvert:
	support --name option to select sub lv with --unduplicate
2015-12-08 01:41:20 +01:00
Heinz Mauelshagen
313310335d raid_manip: support change of data copies in raiud10_far 2015-12-01 23:06:27 +01:00
Heinz Mauelshagen
aecd3499b2 raid_manip,lv_manip:
lv_manip/raid_manip: optimize uspace metadata device wiping
report: display RAID data_offset per image LV with -a output rather than with the top-level lv

comments
2015-11-30 22:19:38 +01:00
Heinz Mauelshagen
f83062d27d lv_manip/raid_manip: reshape_len/rimage extents review 2015-11-20 17:04:49 +01:00
Heinz Mauelshagen
2aedfa29bf lv_manip: raid01 leg change support (-mN)
lvconvert: manual enhanced wrt --duplicate/--unduplicate/--splitmirrors
2015-11-13 20:26:35 +01:00
Heinz Mauelshagen
1465614448 raid_manip: unify _dup_ infix / fix raid01 creation 2015-11-13 02:39:09 +01:00
Heinz Mauelshagen
ae18fe2d55 more area_multiple avoidance 2015-11-11 22:56:32 +01:00
Heinz Mauelshagen
e173e85bbc raid_manip: start to better conversion messages 2015-11-06 21:08:40 +01:00
Heinz Mauelshagen
9399e2b75a raid_manip:
fix data_copies on TAKEOVER_FN calls
	fix _lv_free_reshape_space() reshape_len
	add more possible_types conversion
raid:
	add descriptor field to segment types to display on failing conversion
merge:
	remove now superfluous _data_rimages_count()
all:
	comments
2015-11-06 14:19:47 +01:00
Heinz Mauelshagen
1dd4629cac raid_manip:
more RETURN_IF_*() added
	introduce LV_RESHAPE_REMOVE flag
lv_manip:
	reshape_len corrections
report.c:
	enhanced stripes and data stripes to pay attention to LV_RESHAPE_REMOVE flag
2015-11-05 17:01:52 +01:00
Heinz Mauelshagen
7907c3ff6e raid_manip: cast void functions with new argument checks to int and adjust callers 2015-11-03 20:58:11 +01:00
Heinz Mauelshagen
7863aba993 raid_manip: rename lv_raid_rimage_extents
introduce function argument check macrors
introduce raid_total_extents()
introduce _lv_reshape_get_new_len()
rename _reshape_change_size()
added a few missing state transition definitions to possible types
2015-11-03 20:43:00 +01:00
Heinz Mauelshagen
42d8c2519e {lv,raid}_manip: proceed with area_multiple avoidance 2015-11-02 11:45:31 +01:00
Heinz Mauelshagen
c4314a0ff2 raid_manip: fix false _raid_conv_unduplicate arguments
cleanup
lv_manip: cleanup
2015-10-28 18:40:48 +01:00
Heinz Mauelshagen
965a163140 raid_manip: make lv_raid_rimage_extents() raid1 aware
split possible_type processing into takeover+reshape and duplicate
2015-10-28 18:05:50 +01:00
Heinz Mauelshagen
8b5e80c5fb raid_manip:
enhance possible conversion type processing
	enhance disk(s) add/remove reshape size processing
	enhance lv_raid_rimage_extents
	allow for direct raid4 <-> raid6 takeover
	more area_multiple work
2015-10-28 14:35:52 +01:00
Heinz Mauelshagen
aaf3425738 raid_manip: more raid split support for duplicating LVs 2015-10-23 18:26:51 +02:00
Heinz Mauelshagen
c787ae54a5 raid_manip: enhance replacement/repair with duplicated LVs
lv_manip: enhance check for duplicating LV
2015-10-22 17:39:51 +02:00
Heinz Mauelshagen
729088c96e raid_manip: start enhancing lv_raid_replace() to cope with duplicating LVs 2015-10-20 17:02:32 +02:00
Heinz Mauelshagen
1f7ea2a3c0 raid_manip: support --unduplicate w/o --type 2015-10-17 02:01:03 +02:00
Heinz Mauelshagen
7f1b04aefa raid_manip: reshape_len cleanup
lvconvert: introduce --unduplicate option
2015-10-17 01:25:05 +02:00
Heinz Mauelshagen
a30dd0323e raid_manip: check for non-power of 2 striped mappings on takeover
change seg->reshape_len processing
ontroduce #DStr (data stripes) and #Par ((rotating) parity chunks report fields
2015-10-16 16:12:59 +02:00
Heinz Mauelshagen
712889395b raid_manip: stripe rounding returned too large result; ensure data copies in _raid_conv_duplicate() 2015-10-14 16:13:33 +02:00
Heinz Mauelshagen
dd475d209b raid_manip: raid10 cleanup; fluff 2015-10-14 15:16:58 +02:00
Heinz Mauelshagen
a9fe6a4665 lv_manip: fix _round_to_stripe_boundary()
raid_manip: fix segfault
2015-10-09 17:19:32 +02:00
Heinz Mauelshagen
92cf7f1b91 lv_manip: reorder creation of metadata LVs in lv_extend() for sane vg metadata commited on failure
raid_manip: more stripes <-> raid10 support...
2015-10-08 22:16:01 +02:00
Heinz Mauelshagen
7bbda2e66e raid_manip: select by segtype in _raid_conv_unduplicate(); some cleanup 2015-10-06 20:08:44 +02:00
Heinz Mauelshagen
1a1fc812ae raid_manip: add support to split off a raid1 mirror from duplicating LVs 2015-10-06 18:25:44 +02:00
Heinz Mauelshagen
da14cdf468 lvcreate: allow for creation of raid10_near with 2 stripes 2015-10-05 14:35:52 +02:00
Heinz Mauelshagen
506b9eb1ea change duplicating conversion namespace to "_dup" 2015-10-02 16:04:05 +02:00
Heinz Mauelshagen
2b37579d0e raid_manip: comments + fluff 2015-10-02 15:45:03 +02:00
Heinz Mauelshagen
0b089560e1 raid_manip: allow for multiple sublvs in conversation duplication 2015-10-01 23:45:27 +02:00
Heinz Mauelshagen
3840ea2f04 lv_manip: more recursive resizing 2015-09-30 12:38:04 +02:00
Heinz Mauelshagen
b3e44be30f lv_manip: allow to resize duplicated LVs 2015-09-29 21:31:56 +02:00
Heinz Mauelshagen
cd059e8b6b raid_manip: trying to address unsafe table reload 2015-09-28 12:59:45 +02:00
Heinz Mauelshagen
76f7b2dd0e raid_manip: use lv_create_single() in _lv_create()
fix size issue with lvreduce on raid10
2015-09-25 20:48:43 +02:00
Heinz Mauelshagen
f1117f526d Fluff 2015-09-24 13:20:07 +02:00
Heinz Mauelshagen
525dc733a8 raid_manip: striped <-> raid01 2015-09-14 22:18:47 +02:00
Heinz Mauelshagen
87cd22469e raid_manip: more raid01 support 2015-09-14 22:08:45 +02:00
Heinz Mauelshagen
de353ae695 raid_manip: streamline lv_raid_aplit()
fix raid5 with 2 images -> raid5 with N images reshape
2015-09-11 02:18:55 +02:00
Heinz Mauelshagen
51b69eb35a dev_manager: introduce _seg_len() to cope with reshape_len
raid_manip: fix lv_raid_split() regression and support splitting multiple images as another raid1 mirror
2015-09-10 16:11:23 +02:00
Heinz Mauelshagen
cabcd26903 lv_manip/raid_manip: move raid segment reordering for raid10 far across to raid_manip
move rimage extent calculation across to raid_manip
2015-09-09 00:57:35 +02:00
Heinz Mauelshagen
3e9da6cf66 libdm-deptree: fixup raid10_near target 2015-09-08 20:38:38 +02:00
Heinz Mauelshagen
b1e1088b6d lv_manip: fluff 2015-09-08 20:19:36 +02:00
Heinz Mauelshagen
05d8e4627a lv_manip: fix raid10_far extend/reduce support (move to raid_manip.c?) 2015-09-08 20:02:26 +02:00