Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 180221

Summary: Xen Kernel device-mapper breaks LVM2 mirroring
Product: Gentoo Linux Reporter: orishi
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description orishi 2007-05-29 14:19:37 UTC
Any attempt to work with LVM mirrors on xen-sources 2.6.16.49 will fail.
The same process works seamlessly on gentoo-sources 2.6.20-gentoo-r8


Reproducible: Always

Steps to Reproduce:
(vgstrip is a lvm that was previously  created using lvcreate  -L20M -m1 -nmirrortest vgstrip /dev/sda7 /dev/sdb7 ) 
vgchange -a y vgstrip 
Actual Results:  
 device-mapper: reload ioctl failed: Invalid argument
  1 logical volume(s) in volume group "vgstrip" now active
ls -d /dev/vgstrip
ls: cannot access /dev/vgstrip: No such file or directory
ls /dev/mapper/vgstrip*
/dev/mapper/vgstrip-mirrortest           
/dev/mapper/vgstrip-mirrortest_mimage_1
/dev/mapper/vgstrip-mirrortest_mimage_0




Expected Results:  
This is what I see on gentoo-sources-2.6.20 on the same machine.
ls -d /dev/vg*
/dev/vgstrip

On the system log:
device-mapper: unrecognised sync argument to mirror log: block_on_error
device-mapper: dm-mirror: Error creating mirror dirty log
device-mapper: error adding target to table

The lvcreate also produces the same error, but the lv is created. (I can activate it with the non-xen kernel)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-29 18:57:47 UTC

*** This bug has been marked as a duplicate of bug 180220 ***