Creation of partition device fails with kpartx error - "device-mapper: reload ioctl failed: Invalid argument" (Doc ID 1942337.1)

Last updated on NOVEMBER 19, 2014

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86
Linux x86-64

Symptoms

multipathd: uevent trigger error
kernel: device-mapper: table: device /dev/mapper/mpath2 too small for target
kernel: device-mapper: table: 253:16: linear:  dm-linear: Device lookup failed
kernel: device-mapper: ioctl: error adding target to table
# kpartx -av /dev/mapper/mpath2
device-mapper: reload ioctl failed: Invalid argument
create/reload failed on mpath2p1
add map mpath2p1 (0:0): 0 251658162 linear /dev/mapper/mpath2 63 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms