[linux-lvm] lvm + dmmapper on a kernel

Bram Gillemon bram at x-plose.be
Fri May 14 11:32:47 UTC 2010


I'm having some problems with lvm + dmmapper on my own compiled kernel, I'm not sure if the problem is with dmmapper or with my kernel, so i hope someone can help me or point me into the right direction.

When I try to create a lvm volume i recieve the following error:

bram-PC:~# lvcreate -L 10485760k -n test5-root xendomains
 device-mapper: table ioctl failed: No such device or address
 Aborting. Failed to activate new LV to wipe the start of it.

Sometimes it works to create a lvm volume, but when i try to create a mapper on the device i recieve errors like this:

bram-PC:~# echo "0 $( blockdev --getsize /dev/xendomains/test-root ) linear /dev/xendomains/test-root 0" | dmsetup create test-root-dm
/dev/xendomains/test-root: No such file or directory
Invalid format on line 1 of table on stdin
Command failed

and dmesg tells me:

[29955.397572] device-mapper: ioctl: device doesn't appear to be in the dev hash table.

The reason i build my own kernel is i want to run xen 4.0, my config is available on pastebin:


I compiled dmmapper as a module or built-in i always have these errors.

I know i don't have much info to post here cause i don't have any idea what you need to know, just ask and i'll post it :)

Can someone help me to find a solution to this problem, or help me to build a bug report (if it's a bug ;) )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20100514/f4ee5eb4/attachment.htm>

More information about the linux-lvm mailing list