persistent reserve in: Used by the initiator to read information on the target about existing reservations and
registrations.
persistent reserve out: Used by the initiator to register, set and alter its reservations, and break reservations
for error recovery.
The SCSI Persistent Reservation commands also use subcommands called Service Actions to perform specific
functions such as reserving and releasing reservations. The following is an example of how a Persistent
Reservation is set using the persistent reserve out Service Actions:
When a reservation conflict response is sent from the target to an initiator, the conflicting initiator will need to
retry the reserve request. The host initiator's OS will control at what interval the reserve request is retried. The
conflicting host will continue to get a reservation conflict status from the target, until one of the following events
occurs:
In Data ONTAP releases prior to 7.1.1, SCSI reserve/release reservations were controlled by
the options tape.persistent_reservations [on | off]command. For more information on using this
setting, see the Data ONTAP 7.0 Data Protection Tape Backup and Recovery Guide.
Data ONTAP 7.1.1 and later added the ability to set either SCSI reserve/release or SCSI Persistent
Reservations. The options tape.persistent_reservations command was deprecated and replaced
with the options tape.reservations [scsi | persistent] command. For more information on using this
setting, see The Data ONTAP 8.0.1 Data Protection Tape Backup and Recovery Guide.
3. NetApp High Availability (HA) storage controllers use SCSI reservations to control disk access.
For HA pairs using hardware disk ownership, SCSI reservations are only used during cf takeover.
For HA pairs using software disk ownership, SCSI reservations are used regardless of whether the
system is in cf takeover.
They are not persistent across power cycles of the disk shelves. Because of this, the node that has taken
over will reassert the reservation at regular intervals in case the disk shelves lose power or a drive is reset.
While it is possible to see that a reservation exists, it is not possible to determine which node set the
reservation.
Active-active cluster partners using SANOWN (Software Disk Ownership) use SCSI-3 Persistent Reservations
to control disk ownership. The reservations are used regardless of whether the HA pair is in cf takeover. These
reservations are persistent across reboots. The node owning the reservation has complete control over the
disk, including read and write capabilities. The SCSI-3 Persistent Reservations are reasserted every 30
seconds.
Will
Yes
a SCSI taarget
Will
No
the lun
reset
reset or target
or
lun
reset command
reset commands
affect
clear
SCSI-3
SCSI-2
reservation?
Persistent
Reservations?
Can the SCSI lun reset command be issued from any initiator on any host that has visibility to this LUN?
Yes.
However,
the lun
reset command
needs
to
be
addressed
to
a
specific
LUN.
Will a SCSI lun reset affect any other initiators that are logged into
Yes. All initiators mapped to a specific LUN will receive a LUN RESET notification.
specific
LUN?
Will the SCSI target reset command affect all LUNs from all initiators that are logged into a target LUN?
A target reset on a NetApp SCSI target resets only those LUNs that are mapped to the initiator that is sending
the target reset command.
SnapDrive errors related to SCSI reservation conflicts
When attempting to connect to a LUN using SnapDrive, these errors can appear:
Unable to locate a LUN to perform requested operation.
The LUN has SCSI reservation but has not been mapped.
On the windows host, in Computer Management > Disk Management, the disks can also show
as Unknown/Unreadable.
This can be resolved by clearing the SCSI reservations. It is recommended to use host based software to clear
these reservations. If this is not working, it can be done by an Escalation Engineer from NetApp Global Support
- from the storage system if necessary.
Resolving conflicts of SCSI-3 Persistent Reservations from a NetApp Storage system - Contact NetApp
Support before attempting to clear any reservations from the NetApp storage system
Related Links:
BUG 158042: SCSI Reserve and Release needed for fiber-channel-attached tape drives and libraries
Disclaimer
NetApp provides no representations or warranties regarding the accuracy, reliability, or serviceability of any
information or recommendations provided in this publication, or with respect to any results that may be
obtained by the use of the information or observance of any recommendations provided herein. The
information in this document is distributed AS IS, and the use of this information or the implementation of any
recommendations or techniques herein is a customers responsibility and depends on the customers ability to
evaluate and integrate them into the customers operational environment. This document and the information
contained herein may be used solely in connection with the NetApp products discussed in this document.