All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takahiro Yasui <tyasui@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Ignore _mlog name restriction for lvconvert repair
Date: Fri, 12 Feb 2010 17:14:10 -0500	[thread overview]
Message-ID: <4B75D2B2.2090809@redhat.com> (raw)
In-Reply-To: <CA32D663-C193-48B6-9DA8-F2376C584385@redhat.com>

Hello Jon,

> Taka, I've not been able to reproduce your seg faults with '--alloc  
> anywhere' using two devices.  Is there a special restriction you are  
> using?

Here is the reproduction steps.

[case 1]
1. create VG with two devices.
  # vgcreate vg00 /dev/sd[ab]

2. create LV with mirrored log
  # lvcreate -m1 -L12m -nlv00 --mirrorlog mirrored --alloc anywhere vg00

3. disable device /dev/sdb
  # echo offline > /sys/block/sdb/device/state

4. Write data
  # dd if=/dev/zero of=/dev/vg00/lv00 bs=4096 count=1
  1+0 records in
  1+0 records out
  4096 bytes (4.1 kB) copied, 3.02835 seconds, 1.4 kB/s

5. convert LV to mirrored log
  # lvconvert -m1 --mirrorlog mirrored --alloc anywhere vg00/lv00
    /dev/sdd: open failed: No such device or address
  Segmentation fault

[case 2]
  # vgs
    No volume groups found
  # vgcreate vg00 /dev/sdc
    Volume group "vg00" successfully created
  # lvcreate -m1 -L12m -nlv00 --mirrorlog mirrored --alloc anywhere vg00
  Segmentation fault

I hope you could reproduce this issues.

Thanks,
Taka



      parent reply	other threads:[~2010-02-12 22:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 17:12 [PATCH] Ignore _mlog name restriction for lvconvert repair Malahal Naineni
2010-02-11 19:55 ` Takahiro Yasui
2010-02-11 20:38   ` malahal
2010-02-12  1:14     ` Takahiro Yasui
2010-02-12 21:30       ` Jonathan Brassow
2010-02-12 21:45         ` Jonathan Brassow
2010-02-12 22:14         ` Takahiro Yasui [this message]

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=4B75D2B2.2090809@redhat.com \
    --to=tyasui@redhat.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.