From: David Robinson <zxvdr.au@gmail.com>
To: lvm-devel@redhat.com
Subject: [PATCH] s-c-l crashes if LV mirror was created with --nosync
Date: Wed, 22 Aug 2007 13:31:25 +1000 [thread overview]
Message-ID: <46CBAE0D.60202@gmail.com> (raw)
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)
reply other threads:[~2007-08-22 3:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46CBAE0D.60202@gmail.com \
--to=zxvdr.au@gmail.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.