Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-141287

Add purge_disconnected support to multipathd

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • device-mapper-multipath-0.9.9-17.el10
    • Moderate
    • rhel-storage-dm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Requested
    • None
    • Feature
    • Hide
      Feature, enhancement: A new multipath.conf configuration option, "purge_disconnected" has been added to the multipaths, devices, and defaults sections. Setting it to "yes" causes multipathd to automatically remove LUNs that have been unmapped on a storage array
      Reason: Users may fail to properly remove a system's SCSI devices before they unmap the storage on the array. Multipath devices could end up queueing IO forever or writing to LUNs after they have been remapped for a different purpose. Removing the unmapped devices avoids these possibilities.
      Result: If this option is enabled, even if the SCSI devices are not removed before the LUNs are unmapped, multipathd will delete them.
      Show
      Feature, enhancement: A new multipath.conf configuration option, "purge_disconnected" has been added to the multipaths, devices, and defaults sections. Setting it to "yes" causes multipathd to automatically remove LUNs that have been unmapped on a storage array Reason: Users may fail to properly remove a system's SCSI devices before they unmap the storage on the array. Multipath devices could end up queueing IO forever or writing to LUNs after they have been remapped for a different purpose. Removing the unmapped devices avoids these possibilities. Result: If this option is enabled, even if the SCSI devices are not removed before the LUNs are unmapped, multipathd will delete them.
    • Proposed
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      The ability to have multipathd automatically remove disconnected scsi devices from the system was added upstream. This configuration option has the potential to provide a work-around for customer issues where a LUN is unmapped and later remapped (especially when paired with flush_on_last_del)

      This feature adds a new multipath.conf configuration option, "purge_disconnected".  When set to "yes", multipathd will automatically remove devices that are in a disconnected state. A path is considered disconnected when the TUR (Test Unit Ready) path checker receives the SCSI sense code "LOGICAL UNIT NOT SUPPORTED" (sense key 0x5, ASC/ASCQ 0x25/0x00). This typically indicates that the LUN has been unmapped or is no longer presented by the storage array. This option helps clean up stale device entries that would otherwise remain in the system.

              rhn-engineering-bmarzins Benjamin Marzinski
              rhn-engineering-bmarzins Benjamin Marzinski
              Benjamin Marzinski Benjamin Marzinski
              Lin Li Lin Li
              Angana Chakraborty Angana Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: