SCSI reservations are used to gain access to a LUN by denying access to other initiators.<\/p>\n
SCSI-2 reservation<\/strong> SCSI-3 reservation named persistent reservations.<\/strong> How to reslve SCSI-2 reservation conflicts from a host? Warning: A target reset will abort all commands on all LUNs mapped to the initiator that issued this command.
\nAllows an initiator to reserve and release a SCSI device.
\nDone with SCSI reserve and release commands.
\nThe release can happen when there is a SCSI bus reset. During error recoevry also SCSI Bus reset is performed..
\nOnly works with single path.
\nSPC-2 supports both SCSI-2 and SCSI-3 reservations in a mutually exclusive way.
\nAll subsequent SCSI persistent and SCSI-2 reservations will fail when already reserved via SCSI-2 reservation command.
\nSPC-3 deprecates classic reserve and release machanism over SCSI-3 method.<\/p>\n
\nReservation is persistent across SCSI bus reset.
\nDone via SCSI Persist reserve OUT and IN commands.
\nsupports reservations with multipath and multiple nodes accessing the same SCSI device.
\nuses the concept of registration and reservation.
\nPersistent reservations allow multiple clients(initiators) to communicate with a tracking multiple
\ninitiator to target relationship called I_T nexus.
\nActions performed are
\n-Initiator will register to target and creates a new registration key
\n-Initiator will read the existing registrations and reservations .
\n-Intiator can alter existing registrations.
\n-Initiator issues reserve actions to lock on a specific LUN
\n-Initiator releases the lock when done and releases the regostration also inf no more required.<\/p>\n
\nHost can clear with a lun reset or target reset.<\/p>\n
\nIt will also abort commands from other initiators to the LUNs that are accessed by the initiator from which
\nthe abort was initiated.<\/p>\n