multipath fails to map devices with error "failed to get path uid" in RHEL 6

Solution Unverified - Updated -

Issue

  • multipath fails to map devices as a result of scsi_id failing
  • getuid_callout configured in /etc/multipath.conf is failing
  • multipath refuses to connect to storage until device section is removed from /etc/multipath.conf and multipath daemon is restarted.
  Feb 29 16:11:56 hostname1 multipathd: /lib/udev/scsi_id exitted with 1
  Feb 29 16:11:56 hostname1 multipathd: sdd: failed to get path uid
  Feb 29 16:11:56 hostname1 multipathd: uevent trigger error
  • Device mapper multipath do not work as intended and fail to protect FC disk connection on RHEL 6 server
  • During storage firmware upgrade, half of the FC connections to storage were lost at the initial firmware udpate. When the controller came back online after the firmware upgrade, the FC link to storage became available again but the paths to sd disk paths didn't recover and remained offline within the host. When the second half of the storage controllers went through the firmware upgrade process, the remaining paths to storage were lost resulting in no connections to storage and a server hang.

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • device-mapper-multipath
  • A device section in /etc/multipath.conf that has a getuid_callout defined using RHEL 5 syntax:
       getuid_callout          "/lib/udev/scsi_id -g -u -s /block/%n"

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