Getting 'multipathd: sdx: update path write_protect to '0' (uevent)' messages during SCSI device rescan

Solution Verified - Updated -

Issue

  • RHEL/RHV servers are logging following errors during device rescan.
  • Couple of LUNs on these servers are added to EMC SRDF and these LUNs are kept in read-only state. There are no changes done with LUN Read/Write state from SRDF configuration, but multipathd still reports a change in RO/RW state:

    multipathd: sdsk: update path write_protect to '0' (uevent)
    kernel: device-mapper: table: 253:142: multipath: error getting device
    kernel: device-mapper: ioctl: error adding target to table
    multipathd: 123456789abcdef123456789xxxxxxxx: load table [0 1048577280 multipath 1 queue_if_no_path 0 1 1 service-time 0 4 1 135:128 1 135:384 1 67:432 1 71:672 1]
    multipathd: sdsk: map 123456789abcdef123456789xxxxxxxx reloaded (retval 0)
    [...]
    multipathd: sdsk: update path write_protect to '1' (uevent)
    multipathd: 123456789abcdef123456789xxxxxxxx: load table [0 1048577280 multipath 1 queue_if_no_path 0 1 1 service-time 0 4 1 135:128 1 135:384 1 67:432 1 71:672 1]
    multipathd: sdsk: map 123456789abcdef123456789xxxxxxxx reloaded (retval 0)
    [...]
    
    $ less /var/log/messages|grep write_protect
    multipathd: sdji: update path write_protect to '0' (uevent)
    multipathd: sdxw: update path write_protect to '0' (uevent)
    multipathd: sdji: update path write_protect to '1' (uevent)
    multipathd: sdqa: update path write_protect to '0' (uevent)
    multipathd: sdxw: update path write_protect to '1' (uevent)
    multipathd: sdqa: update path write_protect to '1' (uevent)
    multipathd: sdto: update path write_protect to '0' (uevent)
    multipathd: sddu: update path write_protect to '0' (uevent)
    multipathd: sdnd: update path write_protect to '0' (uevent)
    multipathd: sdto: update path write_protect to '1' (uevent)
    multipathd: sddu: update path write_protect to '1' (uevent)
    multipathd: sdol: update path write_protect to '0' (uevent)
    multipathd: sdnd: update path write_protect to '1' (uevent)
    multipathd: sddw: update path write_protect to '0' (uevent)
    multipathd: sdnp: update path write_protect to '0' (uevent)
    multipathd: sdol: update path write_protect to '1' (uevent)
    multipathd: sdjd: update path write_protect to '0' (uevent)
    multipathd: sdnr: update path write_protect to '0' (uevent)
    multipathd: sddw: update path write_protect to '1' (uevent)
    multipathd: sdnp: update path write_protect to '1' (uevent)
    [...]
    

Environment

  • Red Hat Enterprise Linux 7, 8
  • Red Hat Virtualization 4.3.x, 4.4.x
  • device-mapper-multipath
  • EMC Symmetrix Remote Data Facility (SRDF)

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