12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18 July 2001 T10/1236-D Revision 20Table 9 summarizes when a logical unit returns status after receipt of a self-test command, how an applicationclient may abort a self-test, how a logical unit handles new commands that are received while a self-test is inprogress, and how a logical unit reports a self-test failure.Table 9 — Self-test mode summaryModeWhenStatus isReturnedHow to abortthe self-testProcessing of subsequentcommands while self-test isexecutingSelf-test failure reportingForegroundAfter theself-test iscompleteABORT TASKtask managementfunctionIf the command is INQUIRY,REPORT LUNS or REQUESTSENSE, process normally.Otherwise, terminate withCHECK CONDITION status,NOT READY sense key, andLOGICAL UNIT NOT READY,SELF-TEST IN PROGRESSadditional sense code.Terminate with CHECK CONDI-TION status, HARDWAREERROR sense key, and LOGICALUNIT FAILED SELF-TESTor LOGICAL UNIT UNABLE TOUPDATE SELF-TEST LOG additionalsense code.BackgroundAfter theCDB isvalidatedSEND DIAG-NOSTICScommand withSELF-TEST CODEfield set to 100bProcess the command,except as described in5.4.3.2.Application client checks Self-testresults log page (see 8.2.8) afterthe PROGRESS INDICATION fieldreturned from REQUEST SENSEindicates the self-test is complete5.5 Reservations5.5.1 Reservations overviewReservations may be used to allow a device server to execute commands from a selected set of initiators. Thedevice server shall reject commands from initiators outside the selected set of initiators by uniquely identifying initiatorsusing protocol specific mechanisms.Application clients may add or remove initiators from the selected set using reservation commands. If the applicationclients do not cooperate in the reservation protocol, data may be unexpectedly modified and deadlock conditionsmay occur.The general description of reservations involves two groups of considerations;a) the type of reservation established, andb) the method used to establish, rescind, and manage the reservation.There are limits on the combinations of reservation types available under some reservation management methods.See the reservations management commands descriptions for details.The scope of a reservation shall be one of the following:a) logical unit reservations - a logical unit reservation restricts access to the entire logical unit; andb) element reservations - an element reservation restricts access to a specified element within a mediumchanger.dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!