Linux 2.6.19.1 device mapper error
On further debugging, we found that if we are using a kernel version 2.6.16, the device mapper was functioning correctly as expected. The device mapper version in 2.6.16 is 4.5.0-ioctl and the device mapper version in 2.6.19.1 kernel is 4.11.0-ioctl.
Is there a difference between the 4.5.0 version and 4.11.0 version that could be causing the problem that we are facing? Is there a list of changes that has gone into device-mapper between these two versions?
Thanks in advance for your inputs,
Srini
Quoted 31 lines · Srini
Hi all,
I am currently trying to create a snapshot through EVMS (v2.5.4) and I am getting an error from the device mapper module in the kernel version 2.6.19.1 (dmesg). The following is the error message:
device-mapper: table: 253:2: snapshot-origin: unknown target type
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:7: snapshot: requires exactly 4 arguments
device-mapper: ioctl: error adding target to table
device-mapper: table: 253:7: snapshot: requires exactly 4 arguments
device-mapper: ioctl: error adding target to tableThe lsmod command on the same machine shows the dm-snapshat module to have been successfully inserted:
-bash-3.00# lsmod
Module Size Used by Not tainteddm_snapshot17192 1 - Live0xf8948000dm_mod51736 14dm_snapshot, Live0xf8906000
nfsd 216944 0 - Live0xf89c4000
exportfs 5632 1 nfsd, Live0xf88cf000The device mapper version itself (as printed in dmesg) is as follows:
device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: [email protected]
Since the device mapper is returning an error, the EVMS Snapshot plugin is returning an invalid argument (EINVAL) and exiting.
Any help would be much highly appreciated since we have been facing this issue for a week now...
Thanks in advance for all your inputs,
srini