Clients receive reservation conflicts when using SCSI Persistent Reservations over multiple initiators with the same ACL to a single iSCSI target from a RHEL 7 LIO server

Solution Unverified - Updated -

Issue

  • I have configured a RHEL 7 LIO iSCSI target with portals for different network interfaces on the system. Clients that log into these separate portals then use multipathing software to utilize redundant connections to the LUNs. If I or my application creates a SCSI PR registration over each path and creates a reservation, reservation conflicts arise when using one of the paths.
  • My LIO server reports a conflict for an unregistered nexus, but that initiator is registered on the client:
May 14 14:51:33 server1 kernel: [  441.653165] WRITE Conflict for unregistered nexus iqn.1994-05.com.redhat:example-system CDB: 0x5f to Write Exclusive Access, Registrants Only reservation

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • LIO iSCSI target
    • Multiple portals configured for a target, corresponding to separate network interfaces
    • One or more clients that logs into a single target multiple times using the separate portals
    • The client does not use iscsiadm ifaces or any other mechanism to differentiate the initiatorname for its separate initiators
    • The client uses a SCSI Persistent Reservation, and has registered the device(s) from each initiator

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.