device-mapper ioctl cmd 2 failed: Invalid argument
Nobody replied to my last message about the kernel oops and I couldn't figure it out so I thought I would try upgrading to the latest and greatest including 2.6.0-test5. I seem to be having some sort of problem with devmapper not communicating properly with something.
I think I've got the latest everything:
lrwxrwxrwx 1 root root 20 Sep 20 14:35/lib/libdevmapper.so -> libdevmapper.so.1.00
home:~# lvdisplay --version LVM version: 2.00.07 (2003-09-16) Library version: 1.00.05-ioctl-cvs (2003-09-01) Driver version: 1.0.6
I've got the latest 2.6, the latest devmapper, the latest lvm userland tools from sistina... But snaps still don't work.
home:~# lvcreate --size 1G --snapshot --name snap /dev/system/tmp device-mapper ioctl cmd 2 failed: Invalid argument Couldn't load device 'system-snap'. Problem reactivating origin tmp
Now I've got an inactive snap lv and an inactive origin lv. I can remove the snap lv and reactivate the origin lv and everything is fine.
Any ideas what's wrong with my setup?
Signature · 2 lines
Tracy Reed http://copilotconsulting.com
Quoted 6 lines · Tracy R Reed
I think I've got the latest everything:
home:~# lvdisplay --version Driver version: 1.0.6I've got the latest 2.6, the latest devmapper, the latest lvm userland tools from sistina... But snaps still don't work.
Firstly, there's some versioning mix-up here, because the driver in the 2.6 kernels is not 1.0.6.
Secondly, snapshots are not available under 2.6 yet, though the implementation work is well-advanced.
Alasdair
Signature · 1 line
[email protected]
Quoted 10 lines · Alasdair G Kergon
Quoted 6 lines · Tracy R Reed
I think I've got the latest everything:
home:~# lvdisplay --version Driver version: 1.0.6I've got the latest 2.6, the latest devmapper, the latest lvm userland tools from sistina... But snaps still don't work.
Firstly, there's some versioning mix-up here, because the driver in the 2.6 kernels is not 1.0.6.
Actually, if he didn't select the "ioctl interface version 4" option in the kernel config, it will be version 1.0.6.
Do we think the v4 interface has now gotten enough testing to remove the v1 stuff from 2.6? :)
Signature · 3 lines
Kevin Corry [email protected] http://evms.sourceforge.net/
Quoted 4 lines · Kevin Corry
Do we think the v4 interface has now gotten enough testing to remove the v1 stuff from 2.6? :)
The next step is submit a patch that makes v4 the default.
- Joe
Quoted 8 lines · Joe Thornber
Quoted 3 lines · Kevin Corry
Do we think the v4 interface has now gotten enough testing to remove the v1
stuff from 2.6? :)The next step is submit a patch that makes v4 the default.
- Joe
Like this?
Signature · 15 lines
Kevin Corry [email protected] http://evms.sourceforge.net/ --- a/drivers/md/Kconfig 2003-09-23 10:50:15.000000000 -0500 +++ b/drivers/md/Kconfig 2003-09-23 10:50:05.000000000 -0500 @@ -148,6 +148,7 @@ config DM_IOCTL_V4 bool "ioctl interface version 4" depends on BLK_DEV_DM + default y ---help--- Recent tools use a new version of the ioctl interface, only select this option if you intend using such tools.
On Tue, Sep 23, 2003 at 09:24:44AM -0500, Kevin Corry spake thusly:
Quoted 9 lines · Alasdair G Kergon
Quoted 8 lines · Tracy R Reed
Quoted 6 lines
I think I've got the latest everything:
home:~# lvdisplay --version Driver version: 1.0.6I've got the latest 2.6, the latest devmapper, the latest lvm userland tools from sistina... But snaps still don't work.
Quoted 7 lines
Quoted 4 lines
Firstly, there's some versioning mix-up here, because the driver in the 2.6 kernels is not 1.0.6.
Secondly, snapshots are not available under 2.6 yet, though the implementation work is well-advanced.Actually, if he didn't select the "ioctl interface version 4" option in the kernel config, it will be version 1.0.6.
Ah, I didn't notice that config option or recognize the implications of it. No snapshots in 2.6 eh? That's unfortunate. I keep trying to find a working configuration with which to take snapshots and keep coming up short. I guess I'll just have to wait a while longer. Thanks for the info!
Signature · 2 lines
Tracy Reed http://copilotconsulting.com