Cannot create a raid1 lv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lvm2
This is with Feisty. Versions are the following:
linux-image-
lvm-common 1.5.20ubuntu12
lvm2 2.02.06-2ubuntu9
libdevmapper1.02 1.02.08-1ubuntu10
# lvm version
LVM version: 2.02.06 (2006-05-12)
Library version: 1.02.08 (2006-07-17)
Driver version: 4.11.0
-- BTW, the lvm package is quite aged now (1 year aprox.) The current one is Version 2.02.26 - 15th June 2007
-- There has been 20 releases in one year. So this one might be already fixed.
Steps to reproduce:
# pvscan
PV /dev/mapper/sdc2 VG VMWare lvm2 [116,44 GB / 106,44 GB free]
PV /dev/evms/sda2 VG test lvm2 [18,64 GB / 18,64 GB free]
PV /dev/evms/sdb2 VG test lvm2 [18,64 GB / 18,64 GB free]
Total: 3 [153,71 GB] / in use: 3 [153,71 GB] / in no VG: 0 [0 ]
# vgs
VG #PV #LV #SN Attr VSize VFree
VMWare 1 1 0 wz--n- 116,44G 106,44G
test 2 0 0 wz--n- 37,27G 37,27G
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
vmware_lv VMWare -wi-ao 10,00G
# modprobe dm-mirror
# lvcreate -m 1 --corelog -L1G -n mirror test /dev/mapper/sda2 /dev/mapper/sdb2
LV mirror_mlog: segment 1 has inconsistent PV area 0
Internal error: LV segments corrupted in mirror_mlog.
Failed to create mirror log.