s-c-l crashes if LV mirror was created with --nosync
PATCH 1/1 s-c-l crashes if LV mirror was created with --nosync
system-config-lvm crashes if there are mirrored logical volumes created with --nosync (BZ 247325). lvs shows an attribute of 'M' for --nosync mirrors, not 'm'. The patch below corrects the problem.
lvm_model.py 2007-07-12 00:11:14.000000000 +1000 renamed from lvm_model.py.orig 2007-07-12 00:10:29.000000000 +1000 +1 -1
@@ -496,7 +496,7 @@ segment = None devs = devices.split(',') - if attrs[0] == 'm': + if attrs[0] == 'm' or attrs[0] == 'M': # mirrored LV lv.set_mirror_log(mirror_log) # tmp, will get replaced with
real one at __link_mirrors()
segment = MirroredSegment(seg_start, seg_size)