Volume List service action
The Volume List service action is used to report the number of volumes that the device server supports, which in the case of Ultrium drives is 1. The Volume Number, Partition Number and Attribute fields in the CDB are ignored. The information returned is as follows:
|
| 7 | 6 | 5 |
| 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| 0 | (MSB) |
|
|
| Available Data (2) |
|
|
| |
|
|
|
|
|
|
|
|
| ||
| 1 |
|
|
|
|
|
| (LSB) | ||
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
| ||
| 2 |
|
|
| First Volume Number (0) |
|
|
| ||
|
|
|
|
|
|
|
| |||
| 3 |
|
| Number of Volumes Available (1) |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
The First Partition Number is the first volume. Since Ultrium drives do not support multiple volumes, this is 0.
The Number of Volumes Available indicates the number of partitions available. Since Ultrium drives do not support multiple volumes, this is 1.
Read Attribute specific status:
The command will be terminated and will return CHECK CONDITION under the following circumstances:
Description | Sense Key | Additional Sense | |
There is no cartridge present in the drive, not even | NOT READY | 3A00h | (medium not present) |
partially loaded. |
|
|
|
The MAM is not accessible even though there is a | MEDIUM | 0410h | (MAM not accessible) |
tape in the drive. | ERROR |
|
|
|
|
|
|
The MAM has failed (for example from a bad | MEDIUM | 1112h | (MAM read error) |
checksum). | ERROR |
|
|
|
|
|
|
The combination of Volume Number and Partition | ILLEGAL | 2400h | (invalid field in CDB) |
Number is not valid. | REQUEST |
|
|
|
|
|
|
The Service Action field does not match a supported | ILLEGAL | 2400h | (invalid field in CDB) |
Service Action ID. | REQUEST |
|
|
|
|
|
|
The First Attribute ID field does not match a | ILLEGAL | 2400h | (invalid field in CDB) |
supported First Attribute ID. | REQUEST |
|
|
|
|
|
|
114 Commands