Page 1
Dell™ PowerVault™ ML6000 SCSI Reference Guide w w w . d e l l . c o m | s u p p o r t . d e l l . c o m...
Page 2
Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
For all systems it is possible to define a Media Changer at LUN 0 and the Controller at a different LUN, depending on the needs of the environment. For a PowerVault ML6000 Library the Media Changer(s) is always found at LUN 1, and the tape drive(s) is found at LUN 0.
Controller Device Commands and Parameters The following table lists the commands supported by the Controller device. Table 1 Controller Device Supported Commands Command Code INQUIRY MODE SELECT (6) MODE SELECT (10) MODE SENSE (6) MODE SENSE (10) READ BUFFER REPORT LUNS REQUEST SENSE TEST UNIT READY WRITE BUFFER...
RESERVE ELEMENT (6) SEND DIAGNOSTIC TEST UNIT READY WRITE BUFFER For the PowerVault ML6000 Library, this command is processed by the tape drive on behalf of the media changer. The PowerVault ML6000 Library media changer does not support this command...
The following table lists the parameters supported by the Media Changer device. The Media Changer does not support any diagnostic parameters. Table 4 Media Changer Device Supported Parameters Command Page Inquiry Supported VPD Pages Inquiry Unit Serial Number Page Inquiry Device Identification Page Log Sense Supported Log Pages...
Multiple initiators are supported on the Fibre Channel interface. Unit attentions and sense data will be held for each initiator. Element Addressing The element-addressing model follows that of previous Dell libraries. The starting addresses of the four element types are: •...
For a complete list of all possible sense data and their causes, refer to This status information will not be separated by individual commands. Status values of Condition Met, Intermediate Condition Met, and Queue Full are not currently used. The Initiator should issue a Request Sense command to determine the precise cause of the Check Condition status and clear it.
Message Code COMMAND COMPLETE EXTENDED MESSAGE SAVE DATA POINTERS Dell PowerVault ML6000 SCSI Reference Guide Direction Description This message is sent from the target to an initiator to indicate that the execution of a command completed and valid status has been sent to the initiator.
There are two characteristics affecting Import/Export elements that warrant explanation. First, some Dell libraries are configured with multiple physical mailboxes, each containing their own set of magazines. Whenever a mailbox is opened, the status for the elements it contains will indicate that they are not accessible until the mailbox is closed again.
Removed Drives Depending on how the library is configured, occasionally Data Transfer elements will be reported where no drive is physically present at the time. This could be due to a drive that has been removed for service, or simply a placeholder for the addition of a future drive. These empty “drive bays” will be counted and reported via Mode Sense and Read Element Status commands.
This command can be used to gather status for all the elements, and should be issued whenever the library indicates that element status may have changed, such as after a power cycle or door opening and closing. It should then be followed by a READ ELEMENT STATUS command to retrieve the status. Dell PowerVault ML6000 SCSI Reference Guide...
Initialize Element Status CDB Format The INITIALIZE ELEMENT STATUS CDB format is shown in the following table. Table 7 INITIALIZE ELEMENT STATUS CDB format Byte Logical Unit Number No Barcode Labels (NBL) – A value of 0 indicates that the specified elements will be checked for all relevant status, including bar code labels.
No Barcode Labels (NBL) – A value of 0 indicates that the specified elements will be checked for all relevant status, including bar code labels. A value of 1 indicates that elements will be checked for media presence only (no bar code labels). Dell PowerVault ML6000 SCSI Reference Guide Op Code (E7h) Reserved...
Inquiry - 12h What the Library Does With This Command In response to this command the library returns static data that describes various subsystem parameters. Each Controller and Media Changer logical unit will return its own Inquiry data. If an INQUIRY command is received from an initiator with a pending unit attention condition, the library will perform the INQUIRY command and will not clear the unit attention condition.
Normal ACA Supported (NormACA) – This field returns a 1, indicating the NACA bit in the Control byte of a CDB is supported. The PowerVault ML6000 library does not support the NACA bit and therefore returns 0 for this field.
Page 26
35h, indicating 53 bytes of additional data are returned. The Clocking field occupies bits 2 and 3 of the additional byte 56 that is returned, and byte 57 is zero. on page 15 ). This field is only returned for PowerVault ML6000 libraries SCSI Commands...
Second Page Code Supported - Returned as 80h, indicating support for the Unit Serial Number Page. Third Page Code Supported - Returned as 83h, indicating support for the Device Identification Page. Dell PowerVault ML6000 SCSI Reference Guide Peripheral Device Type...
Unit Serial Number Page (80h) Table 12 Unit Serial Number Page (80h) Byte Peripheral Qualifier Peripheral Qualifier – The return value 000b indicates that the library supports the peripheral device type at the specified LUN. This field returns 011b if no peripheral device types are supported at that LUN. Peripheral Device Type –...
Code Set – This field returns the following values: • 1h – the Identifier field contains binary values • 2h – the Identifier field contains ASCII characters Dell PowerVault ML6000 SCSI Reference Guide Peripheral Device Type Page Code (83h) Reserved Page Length (n-3)
Table 18 Node and Port Worldwide Names 4-bit NAA ID Table 19 Controller Port Number Identification Descriptor Byte Reserved Dell PowerVault ML6000 SCSI Reference Guide on page 21. Reserved Association = 1h Reserved Identifier Length = 08h Port Worldwide Name...
Log Sense - 4Dh What the Library Does with This Command The library returns information for the requested log page. The only supported log page is the Tape Alert page, with a limited set of flags. The library will return the current values of the flags on request, and then clear them.
Page Length - This field indicates the total number of bytes available to return for this page, beginning with the first log parameter. The value set for this field depends on the value specified for the Page Code. Dell PowerVault ML6000 SCSI Reference Guide Page Description...
Log Parameters – These are dependent upon the log page. The various parameters as well as their format for the supported pages are listed below. Table 23 Log Parameter Format Byte Parameter Code – This field identifies which log parameter was transferred. The valid values for this field depend on the log page.
The severity of the flags has the following meaning: • Critical (C) • Warning (W) • Informational (I) Dell PowerVault ML6000 SCSI Reference Guide Page Code (000000b) Reserved Page Length (0002h) Supported Log Page (00h) Tape Alert Log Page (2Eh) Parameter...
Page 36
The set of flags that are supported is as follows: Flag 2: Library Hardware B (W) - This flag is set for any unrecoverable mechanical error. Flag 4: Library Hardware D (C) - This flag is set when the internal Power-On-Self-Tests (POST) fail or when a mechanical error occurs that requires a power cycle to recover, and is not internally cleared until the device is powered off.
SELECT parameter list, and should be equal to the length of a single Parameter List Header plus the lengths of all pages to be transferred. A length of zero indicates that no data is transferred. This is not considered to be an error. Dell PowerVault ML6000 SCSI Reference Guide Op Code (15h) Page Code...
Mode Parameter Header Following the MODE SELECT CDB, a single Mode Parameter Header should be sent as shown in the following table. For both the controller and Media Changer devices, none of the fields are actually used however, and should all be set to zero. Table 27 Mode Parameter Header format for Mode Select (6) Byte...
SELECT parameter list, and should be equal to the length of a single Parameter List Header plus the lengths of all pages to be transferred. A length of zero indicates that no data is transferred. This is not considered to be an error. Dell PowerVault ML6000 SCSI Reference Guide Op Code (55h) Reserved...
Mode Parameter Header Following the MODE SELECT CDB, a single Mode Parameter Header should be sent as shown in the following table. For the controller device, none of the fields are actually used however, and should all be set to zero. Table 29 Mode Parameter Header format for Mode Select (10) Byte...
MODE SENSE CDB format Byte Logical Unit Number Disable Block Descriptors (DBD) - A value of 0 or 1 is supported, although block descriptors are not returned. Dell PowerVault ML6000 SCSI Reference Guide Op Code (1Ah) Rsvd Page Code Reserved...
Page Control (PC) - This field indicates the type of mode page parameter values to return as shown in the following table Table 31 Page Control (PC) field Page Control Description Report current values defined by: • The values set by the last successful MODE SELECT command. •...
MODE SENSE CDB format Byte Logical Unit Number Disable Block Descriptors (DBD) - A value of 0 or 1 is supported, although block descriptors are not returned. Dell PowerVault ML6000 SCSI Reference Guide Op Code (5Ah) Rsvd Page Code Reserved...
Page Control (PC) - This field indicates the type of mode page parameter values to return as shown in the following table. Table 34 Page Control (PC) field Page Control Description Report current values defined by: • The values set by the last successful MODE SELECT command. •...
Exceptions Control Element Address Assignment Transport Geometry Parameters Device Capabilities All Mode Pages Dell PowerVault ML6000 SCSI Reference Guide Page Description Provides information regarding the physical bus performance characteristics. Provides Fibre Channel control information that is associated with the logical unit.
Disconnect-Reconnect Page (02h) The Disconnect-Reconnect mode page is only supported by the Controller logical unit, and describes the interconnect tenancy characteristics of the Fibre Channel interface. An interconnect tenancy is a period of time during which a SCSI device owns or may access the interface. This page is not available on the SCSI interface.
Enable Precise Delivery Checking (EPDC) – This field returns 0 to indicate that the Fibre Channel Command Reference Number is not checked to verify that command packets are received in order. Dell PowerVault ML6000 SCSI Reference Guide Page Code (18h)
Fibre Channel Port Control Page (19h) The Fibre Channel Port Control mode page reports port behavior for the Fibre Channel Protocol. This mode page is not available on the SCSI interface. This mode page is only supported by devices at LUN 0. Table 39 Fibre Channel Port Control Page (19h) Byte...
The Informational Exceptions Control mode page describes the capabilities of the library for reporting exception conditions. It was previously known as the Tape Alert mode page when exception conditions were limited to only Tape Alert flags. Dell PowerVault ML6000 SCSI Reference Guide...
The main purpose of this page is to indicate that the library can report exception conditions by being polled. The exception conditions primarily involve the Tape Alert flags, but may include additional conditions as well, as defined by the Sense Data. Table 40 Informational Exceptions Control Page (1Ch) Byte...
First Medium Transport Element Address – This returns 0001h, which is the address of the first medium transport element (accessor). Number of Medium Transport Elements – This field returns 0001h. Dell PowerVault ML6000 SCSI Reference Guide Page Code (1Dh) Parameter List Length = 12h...
I/E or Storage. A one is returned for all other transitions. All Mode Pages (3Fh) When this page is requested, all supported mode pages are returned in ascending order. Dell PowerVault ML6000 SCSI Reference Guide Page Code (1Fh) Parameter List Length = 0Eh...
Move Medium – A5h What the Library Does With This Command The library will attempt to physically move a cartridge from the requested source element to the requested destination. The library will make reasonable attempts to retry this operation within the scope of its capabilities, but if unsuccessful, will try to return the cartridge to its source element.
Destination Element Address – This field specifies the element address for where the cartridge is to be placed. Invert – This field must be set to 0 since the library does not support double-sided media. Dell PowerVault ML6000 SCSI Reference Guide Op Code (A5h) Medium Transport Element Address...
Persistent Reserve In – 5Eh What the Library Does With This Command The library returns information about persistent reservation and reservation keys that are currently active. Command Usage This command is used in conjunction with PERSISTENT RESERVE OUT to manage persistent reservations.
Additional Length – This field indicates the length in bytes of the Reservation Key List. Reservation Key List – This is a list of all the 8-byte reservation keys that have been registered through the PERSISTENT RESERVE OUT command. Dell PowerVault ML6000 SCSI Reference Guide Generation Additional Length (n-7)
Read Reservations Response The response for a Read Reservations service action is shown in the following table. Table 47 Read Reservations Response Byte Generation – This field is a 32-bit counter that is incremented every time a PERSISTENT RESERVE OUT command requests a Register, a Register and Ignore Existing Key, a Clear, a Preempt, or a Preempt and Abort service action.
05h Preempt and Abort – Preempt reservations from another initiator and abort all tasks for all initiators with the specified reservation key. • 06h Register and Ignore Existing Key – Register a new reservation key and discard existing reservation key. Dell PowerVault ML6000 SCSI Reference Guide Op Code (5Fh) Scope Reserved Reserved...
Scope – Only logical unit scope is supported, and this field must be a 0h. Type – This field specifies the type of reservation as follows: • Exclusive Access – The initiator holding the persistent reservation has exclusive read and write access.
Destination Element Address – This field contains the element address of the target to position to. It can be a storage, data transfer, or import/export element. Invert – This field must be set to 0. Dell PowerVault ML6000 SCSI Reference Guide Op Code (2Bh) Medium Transport Element Address...
Prevent Allow Medium Removal – 1Eh What the Library Does With This Command The library will prohibit movement of media to an Import/Export element when media removal has been prevented. MOVE MEDIUM commands requesting such a move will be rejected with a Check Condition indicating Medium Removal Prevented.
Offset field is reserved in this mode. The allocation length should be set to at least four for this mode. See Table 53 for a definition of the READ BUFFER descriptor. Dell PowerVault ML6000 SCSI Reference Guide Op Code (3Ch)
In Echo Buffer Mode, data is transferred to the initiator from the echo buffer. The echo buffer will transfer the same data that was received from the last WRITE BUFFER command sent with Echo Buffer Mode. If the allocation length is insufficient to accommodate the number of bytes of data as received in the prior echo buffer mode WRITE BUFFER command, the returned data will be truncated.
Echo Buffer Overwritten Supported (EBOS) – This field returns a 0 to indicate that other initiators or intervening commands may overwrite the echo buffer. Buffer Capacity – This field returns 252, which is the size of the echo buffer (in bytes). Dell PowerVault ML6000 SCSI Reference Guide Buffer Offsets Byte boundaries...
Read Element Status – B8h What the Library Does With This Command The library returns current status and information regarding the requested elements. The data is primarily derived from having done an Inventory operation (using INITIALIZE ELEMENT STATUS or INITIALIZE ELEMENT STATUS WITH RANGE), but in the case of data transfer elements is also augmented by communication with the drives.
The number of element descriptors specified in the Number of Elements field have been returned • The number of bytes specified in the Allocation Length field have been returned • There is less allocation length space available than is required by the next complete element descriptor Dell PowerVault ML6000 SCSI Reference Guide...
Read Element Status Response Element status data consists of an eight-byte header, followed by one or more element status pages (per element type). Each element status page consists of a header, followed by one or more element descriptor blocks. A complete response then looks like: Element Status Header Element Status Page Header (first element type) Element Descriptor...
Each element descriptor includes the element address, status flags, source storage element address, and barcode label. Some descriptors also contain extended status information. Additional sense code and qualifier information depends on the element type. Dell PowerVault ML6000 SCSI Reference Guide Element Type Code AVolTag...
Primary Volume Tag Field Volume tags (returned in the Primary Volume Tag field) are basically barcode labels on the media. The library supports labels from 5 to 16 characters in length. The Primary Volume Tag field contains 32 bytes of label data (space filled to 32 bytes), followed by two reserved bytes, then two bytes of volume sequence number.
Full – This field is set to 0 if the element does not contain media. It is set to 1 if it does. Additional Sense Code – If the element is in an abnormal state, this field will be set to a value as described Table 71 on page 71. Dell PowerVault ML6000 SCSI Reference Guide Element Address Reserved Access...
Additional Sense Code Qualifier – If the element is in an abnormal state, this field will be set to a value as described in Table 71 on page 71. Source Valid (Svalid) – This field is set to 1 if the Source Storage Element Address field is valid, otherwise it is set to 0.
Additional Sense Code Qualifier – If the element is in an abnormal state, this field will be set to a value as described in “Additional Sense Codes and Qualifiers.” Not This Bus (NotBus) – This field is not supported and is set to 0. Dell PowerVault ML6000 SCSI Reference Guide Element Address Reserved...
Page 74
IDValid – A value of one indicates that the SCSI Bus Address field is valid. A value of zero indicates that it is not. LUValid – This field is not supported and is set to 0. Logical Unit Number – This field is not supported and is set to 0. SCSI Bus Address –...
Third Party Device ID – This field is not supported, and must be set to 0. Element – This field is not supported, and must be set to 0. Reservation ID – This field is not supported, and must be set to 0. Dell PowerVault ML6000 SCSI Reference Guide Op Code (17h) 3rdPrty...
Report LUNS – A0h What the Library Does With This Command The library will return a list of the logical units that it supports. When this command is sent to the Controller logical unit (LUN 0), it will return a list of all additional logical units that are available. This list will primarily be Media Changer devices representing the configured Logical Libraries.
LUN – These fields return each available assigned LUN. The information conforms to the Logical Unit Address Method defined in SCC-2, and supports only First Level addressing (for each LUN, only the second byte is used and contains the assigned LUN). Dell PowerVault ML6000 SCSI Reference Guide LUN List Length (n-7) Reserved...
Request Sense – 03h What the Library Does With This Command The library returns eighteen bytes of sense data to the requesting initiator. The data is preserved until either the REQUEST SENSE command or any other command is received. The library can queue multiple Unit Attentions for processing.
Illegal Request. The CDB or supplied parameter data contains an unsupported or illegal parameter. Unit Attention. The library operating status changed. Additional processing may be required. Aborted Command. The library aborted the command. Dell PowerVault ML6000 SCSI Reference Guide Response Code (70h) Reserved Reserved Information...
Page 80
Information – This field returns additional information for certain ASC/ASCQs where a specific device must be identified and the sense data is associated with a Unit Attention condition instead of a specific command. These are described as follows: • If the ASC/ASCQ is related to Import/Export stations, then byte 6 indicates which I/E station it pertains to (1 to 4).
The library is not ready due to aisle power being disabled The library is not ready because it is offline LU Communication - Timeout (PowerVault ML6000 only) LU Communication - SCSI Failure LU Communication - SCSI Command Execution or Queuing...
Page 82
Saving parameters not supported The destination element is full The source element is empty Media magazine not installed Media type does not match destination media type Logical Unit has not self-configured yet (PowerVault ML6000 only) New firmware loaded Echo buffer overwritten Component failure...
Page 83
Table 71 Additional Sense Codes and Qualifiers (Continued) Sense Keys ASCQ Dell PowerVault ML6000 SCSI Reference Guide Description SCSI parity error Initiator detected error message received Invalid message error Command phase error Data phase error Overlapped commands attempted A drive did not load or unload a tape...
Request Volume Element Address - B5h What the Library Does With This Command The library returns element descriptors that match the request made through a SEND VOLUME TAG command. Each element address will only be reported once in response to a SEND VOLUME TAG request. Multiple REQUEST VOLUME ELEMENT ADDRESS commands may be used to retrieve all the elements.
A complete response then looks like: Element Status Header Element Status Page Header (first element type) Element Descriptor …(more descriptors)… Element Descriptor …(more status pages)… Element Status Page Header (next element type) Element Descriptor … Element Descriptor Dell PowerVault ML6000 SCSI Reference Guide...
There are only up to four Element Status Pages, one for each element type. The element status pages are identical to those described for the READ ELEMENT STATUS command in Element Status Page. The element descriptors within each page are also the same as those described for READ ELEMENT STATUS in Element Descriptors.
Element – This field is not supported, and must be set to 0. Reservation ID – This field is not supported, and must be set to 0. Dell PowerVault ML6000 SCSI Reference Guide Op Code (16h) Third Party Device ID...
Send Diagnostic - 1Dh What the Library Does With This Command If the Self Test option is requested, the library executes a pre-defined diagnostic. Command Usage This command can be used to verify the operational status of the library and its components. Send Diagnostic CDB Format The SEND DIAGNOSTIC CDB format is shown in the following table.
The SEND VOLUME TAG CDB format is shown in the following table. Table 77 SEND VOLUME TAG CDB format Byte Logical Unit Number Reserved Dell PowerVault ML6000 SCSI Reference Guide Op Code (B6h) Rsvd Starting Element Address Reserved Reserved Parameter List Length...
Element Type Code - This field specifies the element types selected for the search, as shown in the following table. Table 78 Element Type Code Code Selected Element Type 0000b (0) All element types reported 0001b (1) Medium transport element (accessor) 0010b (2) Storage element 0011b (3)
Test Unit Ready CDB Format The TEST UNIT READY CDB format is shown in the following table. Table 81 TEST UNIT READY CDB format Byte Logical Unit Number Dell PowerVault ML6000 SCSI Reference Guide Status Good Check Condition Check Condition Check Condition...
Write Buffer (3Bh) What the Library Does With This Command The library will receive a requested buffer of data and write it to the appropriate internal storage. The Controller logical unit is the primary device to use with this command, since the Media Changer logical units only support the echo buffer mode.
Page 93
Parameter List Length – If applicable, this field should be set to indicate the amount of data being written. Dell PowerVault ML6000 SCSI Reference Guide...