Re: lvcreate gives 'device-mapper: reload ioctl failed: Invalid argument'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@speakeasy.org
be052@scn.org

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux