Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180221 - Xen Kernel device-mapper breaks LVM2 mirroring
Summary: Xen Kernel device-mapper breaks LVM2 mirroring
Status: VERIFIED DUPLICATE of bug 180220
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 14:19 UTC by orishi
Modified: 2007-05-29 18:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***