My Oracle Support Banner

Oracle Linux 7: kpartx Fails to Create Partition Disk (Doc ID 2499334.1)

Last updated on JUNE 01, 2020

Applies to:

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


On Oracle Linux (OL) 7 server, some multipath partition devices are not created.

For example, in the multipath configuration file (/etc/multipath.conf), below alias name is used, but partition device for 'mpathdisk' cannot be created.

multipath {
             wwid <xxxxxxxxxxxxxxxxxxxxxxxxxx>
             alias mpathdisk
multipath {
             wwid <yyyyyyyyyyyyyyyyyyyyyyyyyy>
             alias mpathdisk1

# kpartx /dev/mapper/disk
mpathdisk1 : 0 4294967167 /dev/mapper/mpathdisk 128

# ls -l /dev/mapper|grep mpathdisk
lrwxrwxrwx 1 root root 7 Oct 17 15:08 mpathdisk -> ../dm-0
lrwxrwxrwx 1 root root 8 Oct 17 15:10 mpathdisk1 -> ../dm-10
lrwxrwxrwx 1 root root 8 Oct 17 15:10 mpathdisk1p1 -> ../dm-19

On Oracle Linux 6, with same configuration, kpartx will create the partition device mpathdiskp1 for /dev/mapper/mpathdisk.



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.