Bug#609282: lvconvert: ignores PV specification when creating --mirrorlog mirrored
Paul LeoNerd Evans
leonerd at leonerd.org.uk
Sat Jan 8 03:42:57 UTC 2011
Package: lvm2
Version: 2.02.66-4
Severity: normal
I have a two-disk mirror split across PVs /dev/sdb2 and /dev/sdc2
currently using corelog.
I would like to convert it to a --mirrorlog mirrored setup.
# lvconvert vg_cel/root --mirrorlog mirrored --alloc anywhere /dev/sdb2 /dev/sdc2
(without --alloc anywhere it refuses to work)
It ignores the named PVs for creating the parts of the log mirror,
instead creating:
LV Name /dev/vg_cel/root_mlog_mimage_0
...
--- Segments ---
Logical extent 0 to 0:
Type linear
Physical volume /dev/sdb2
LV Name /dev/vg_cel/root_mlog_mimage_1
...
--- Segments ---
Logical extent 0 to 0:
Type linear
Physical volume /dev/sdb2
I was expecting one on /dev/sdb2 and one on /dev/sdc2.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lvm2 depends on:
ii dmsetup 2:1.02.48-4 The Linux Kernel Device Mapper use
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-4 The Linux Kernel Device Mapper use
ii libreadline5 5.2-7 GNU readline and history libraries
ii libudev0 164-3 libudev shared library
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
lvm2 recommends no packages.
lvm2 suggests no packages.
-- debconf information excluded
More information about the pkg-lvm-maintainers
mailing list