From: Matt McHenry <jerith@speakeasy.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvcreate gives 'device-mapper: reload ioctl failed: Invalid argument'
Date: Tue, 14 Nov 2006 00:11:02 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.0611140009360.7393@localhost> (raw)
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
next reply other threads:[~2006-11-14 5:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 5:11 Matt McHenry [this message]
2006-11-14 18:01 ` [linux-lvm] lvcreate gives 'device-mapper: reload ioctl failed: Invalid argument' Alasdair G Kergon
2006-11-14 18:20 ` Matt McHenry
2006-11-14 18:26 ` Alasdair G Kergon
-- strict thread matches above, loose matches on Subject: below --
2006-10-28 21:26 Matt McHenry
2006-10-30 16:40 ` Jonathan E Brassow
2006-10-31 4:20 ` Matt McHenry
2006-11-01 17:26 ` Jonathan E Brassow
2006-11-02 1:07 ` Matt McHenry
2006-11-02 16:15 ` Jonathan E Brassow
2006-11-04 2:27 ` Matt McHenry
2006-11-06 15:52 ` Jonathan E Brassow
2006-11-06 16:15 ` Jonathan E Brassow
2006-11-14 18:31 ` Alasdair G Kergon
2006-11-14 18:43 ` Matt McHenry
2006-11-14 18:47 ` Alasdair G Kergon
2006-11-15 4:26 ` Matt McHenry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0611140009360.7393@localhost \
--to=jerith@speakeasy.org \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).