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

Bug 180220

Summary: Xen Kernel device-mapper breaks LVM2 mirroring
Product: Gentoo Linux Reporter: orishi
Component: Current packagesAssignee: Gentoo Xen Devs <xen>
Status: RESOLVED TEST-REQUEST    
Severity: major CC: luckyluke
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description orishi 2007-05-29 14:13:20 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:
1.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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-29 18:57:47 UTC
*** Bug 180221 has been marked as a duplicate of this bug. ***
Comment 2 Micheal Marineau (RETIRED) gentoo-dev 2007-08-27 00:03:49 UTC
Does this still break with xen-sources-2.6.20?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 09:03:06 UTC
Get back to us after you've tested w/ xen-sources-2.6.20-r6