[RHEL5.8]kpartx does not create device maps from partition tables for some mpath devices

Solution Verified - Updated -

Issue

kpartx does not create device maps from partition tables for some mpath devices.

But further analysis of the underlying device shows the following information from the device.

      Device Boot      Start         End      Blocks   Id  System
/dev/loop0p1               1       39162   314568733+   5  Extended

Note :Device has a Extended partition on it. Not a Primary partition.

Some more information about the issue :


mpath1 (36001438005df06a600009000047e0000) dm-16 HP,HSV450 [size=300G][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=200][active] \_ 2:0:6:9 sdck 69:128 [active][ready] \_ 2:0:7:9 sdcw 70:64 [active][ready] \_ 1:0:4:9 sdm 8:192 [active][ready] \_ 1:0:5:9 sdy 65:128 [active][ready] \_ round-robin 0 [prio=40][enabled] \_ 1:0:6:9 sdak 66:64 [active][ready] \_ 1:0:7:9 sdaw 67:0 [active][ready] \_ 2:0:4:9 sdbm 68:0 [active][ready] \_ 2:0:5:9 sdby 68:192 [active][ready]
parted -s /dev/sdm print
Error: Invalid partition table on /dev/sdm -- wrong signature 0.

parted -s /dev/sdy print 
Error: Invalid partition table on /dev/sdy -- wrong signature 0.

parted -s /dev/sdck print 
Error: Invalid partition table on /dev/sdck -- wrong signature 0.

parted -s /dev/sdcw print 
Error: Invalid partition table on /dev/sdcw -- wrong signature 0.

But dd captured from the underlying device showed the following information.

     Device    Boot      Start         End      Blocks   Id  System
/dev/loop0p1               1       39162   314568733+   5  Extended

Environment

  • Red Hat Enterprise Linux 5.8
  • device-mapper-multipath-0.4.7-48.el5.x86_64
  • kpartx-0.4.7-48.el5.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content