
122
Chapter 8 SCSI Commands
In response to the SEND VOLUME TAG command, the autoloader returns
multiple Elements matching the Volume Tag Template in Element Address
order. Once the Element Address information is returned, the next REQUEST
VOLUME ELEMENT ADDRESS command issued causes a new Element
Address to be returned.
Note
It is necessary to reserve the autoloader to obtain the correct SEND VOLUME
TAG and REQUEST VOLUME ELEMENT ADDRESS commands processing
sequence in a multi-initiator environment. In other words, the RESERVE
command is issued before the SEND VOLUME TAG command, and after the
last REQUEST VOLUME ELEMENT ADDRESS command is issued, the
RELEASE command is issued.
When the Volume Tag (VolTag) bit is 1, the autoloader returns the Volume Tag
information. When the bit is zero, the Volume Tag information is not returned.
The Element Type Code area selects the type of Elements returned by this
command. A value of 0 indicates that all types are selected. See the READ
ELEMENT STATUS command for the values of this field. To obtain the correct
information, the value must be the same as the SEND VOLUME TAG
command or 0.
The Element Address area selects the Element Address interpreted by the action
code received by the SEND VOLUME TAG command with respect to the
autoloader. The transmitted Volume Element Address information in this area
is updated. In other words, the Element Address area specifies the minimum
Element Address returned by this command.
NUMBER OF ELEMENT specifies the total number of Elements and Volume
Tags returned by the autoloader in response to this command. The value
specified in this area is not the range of Element Addresses considered when
returning, it rather indicates the total number of Elements returned as Elements
matching the transferred Volume Tag template. If the Allocation Length is not
sufficient to transfer all Element Descriptors, the autoloader returns only the
Element Descriptors that can be transferred completely and does not treat this
as an error.
The data returned by this command includes a header as shown in the following
table and one or more Element Type Specific pages in the same format as
defined in the READ ELEMENT STATUS command.
Table 8.17.2 : Volume element address header format
Bit
Byte
7
6
5
4
3
2
1
0
0
(MSB)
First element address reported
1
(LSB)
2
(MSB)
Number of elements reported
3
(LSB)
4
Reserved
Send action code
5
(MSB)
Byte count of report available
(all pages, x - 7 )
6
7
(LSB)
8 to
Element status page(s)
x