[lvm-devel] [PATCH] Ignore _mlog name restriction for lvconvert repair
Takahiro Yasui
tyasui at redhat.com
Fri Feb 12 22:14:10 UTC 2010
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
More information about the lvm-devel
mailing list