[linux-lvm] lvcreate gives 'device-mapper: reload ioctl failed: Invalid argument'
Matt McHenry
jerith at speakeasy.org
Tue Nov 14 05:11:02 UTC 2006
As suggested in your other post, I upgraded my kernel and lvm tools.
Still no luck. :(
# uname -a
Linux localhost 2.6.18-gentoo-r2 #1 SMP PREEMPT Sun Nov 12 18:00:54 EST 2006
i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux
# dmsetup version
Library version: 1.02.10 (2006-09-19)
Driver version: 4.7.0
> I don't have an idea why the lvcreate is failing... You could try to
> interface with device-mapper directly and see what happens. To do that
> type:
# echo "0 31457280 linear 8:11 31457664" | dmsetup -vvvv create maingroup-dvd
device-mapper: reload ioctl failed: Invalid argument
Command failed
dm version O [16384]
dm create maingroup-dvd O [16384]
dm reload maingroup-dvd O [16384]
dm remove maingroup-dvd O [16384]
> Another simple thing to try is bumping up the verbosity; e.g. 'lvcreate
> -vvvv -L 15G -n dvd maingroup'. This will give alot of output, so you may
> wish to redirect it to a file. Having everything printed can often give
> great clues as to the problem.
I think my first message got rejected because of the size of the
output, so instead it's at http://66.93.60.83/~matt/lvcreate.log. To my
untrained eye, things look fine until this point:
# libdm-deptree.c:1370 Adding target: 0 31457280 linear 8:11 31457664
# ioctl/libdm-iface.c:1557 dm table (254:11) O [16384]
# ioctl/libdm-iface.c:1557 dm reload (254:11) N [16384]
# ioctl/libdm-iface.c:1574 device-mapper: reload ioctl failed: Invalid
# argument
----------------------
Matt McHenry
http://www.speakeasy.org/~jerith/
jerith at speakeasy.org
be052 at scn.org
More information about the linux-lvm
mailing list