kpartx fails to map partitions (device-mapper: resume ioctl failed: Invalid argument)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
multipath-tools (Debian) |
Fix Released
|
Unknown
|
|||
multipath-tools (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Serge Hallyn |
Bug Description
Binary package hint: multipath-tools
Under certain conditions kpartx fails to map partitions. You can try it with the image available here <http://
----8<----
root@Otherland:
root@Otherland:
gzip: generic-
root@Otherland:
Disk generic-
Disk generic-
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
generic-
generic-
generic-
generic-
generic-
root@Otherland:
device-mapper: resume ioctl failed: Invalid argument
add map loop0p4 (0:0): 0 50000 linear /dev/loop0 0
----8<----
dmesg says:
device-mapper: table: 252:9: loop0 too small for target: start=0, len=50000, dev_size=20480
It seems like this is debian bug 586104 and fixed in newer versions of multipath-tools.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: kpartx 0.4.8-14ubuntu4
ProcVersionSign
Uname: Linux 2.6.32-23-generic x86_64
Architecture: amd64
Date: Wed Jul 14 16:06:53 2010
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: multipath-tools
Changed in multipath-tools (Debian): | |
status: | Unknown → Fix Released |
Changed in multipath-tools (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in multipath-tools (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
I've got to correct myself: This is fixed by a Debian patch which is available here <http:// git.debian. org/?p= pkg-lvm/ multipath- tools.git; a=patch; h=858f733> (I haven't tried it though).