[linux-lvm] dmsetup and 2.6.31 kernel?

Hadmut Danisch hadmut at danisch.de
Thu Jan 28 09:50:14 UTC 2010


just a question: 

With a 2.6.31 kernel (ubuntu) I run into the problem that some dmsetup
and dmlosetup commands that used to work before do not work anymore. 


dd if=/dev/zero of=/tmp/testdisk count=1000
dmsetup create xxxtest --table '0 1000 loop /tmp/testdisk 0'


device-mapper: reload ioctl failed: Invalid argument
Command failed

an strace shows that all problems are caused by

ioctl(3, DM_TABLE_LOAD, 0x959c430)      = -1 EINVAL (Invalid argument)

Even compiling the latest source from your cvs repository does not
solve the problem. 

Any idea how to solve that problem?


More information about the linux-lvm mailing list