
JULY 2007 MAGNUM 224, MAGNUM 448, STORAGELIBRARY T24, OR STORAGELOADER 2U
3-11
INQUIRING ABOUT LIBRARY STATUS
3.6 INQUIRING ABOUT LIBRARY STATUS
To inquire about the library status, you can use the following commands:
TEST UNIT READY (00h) Command
Use this command to determine if the library is ready to accept all other valid
commands, including motion commands. This is not a request for a self-test,
which occurs at power-on. This command returns Good status if the library is
ready to accept any valid command without returning Check Condition,
Reservation Conflict, or Busy status.
REQUEST SENSE (03h) Command
If an error occurs during an operation, use the REQUEST SENSE (03h)
command to determine the type of error. This command returns the following
information:
Sense key for the error indicating the type of error (Not Ready, Hardware
Error, Illegal Request, Unit Attention, or Aborted Command)
Additional sense code (ASC) indicating the type of error in the given sense
key category
Additional sense code qualifier (ASCQ) indicating the specific error in the
sense key and ASC categories
INQUIRY (12h) Command
Use the INQUIRY (12h) command to obtain the library’s Product
Identification and Vendor ID. You can also obtain information about the
library’s microcode level and the version of SCSI supported by the library.
LOG SENSE (4Dh) Command
Use the LOG SENSE command to retrieve the library’s statistical and state
information. This type of information includes the following:
Tape Alert flags
System statistics
Element statistics
Cartridge scan retries
Environmental data
Command failure information
3.7 PERFORMING DIAGNOSTICS
You can perform diagnostics to find out detailed information about library
operations. The SEND DIAGNOSTIC (1Dh) command allows you to run
special diagnostic tests. The RECEIVE DIAGNOSTIC RESULTS (1Ch)
command allows you to obtain diagnostic results of library operations.
Comentários a estes Manuais