All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s-c-l crashes if LV mirror was created with --nosync
@ 2007-08-22  3:31 David Robinson
  0 siblings, 0 replies; only message in thread
From: David Robinson @ 2007-08-22  3:31 UTC (permalink / raw)
  To: lvm-devel

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.orig   2007-07-12 00:10:29.000000000 +1000
+++ lvm_model.py        2007-07-12 00:11:14.000000000 +1000
@@ -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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-22  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22  3:31 [PATCH] s-c-l crashes if LV mirror was created with --nosync David Robinson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.