beautypg.com

Read attribute specific status – HP Q153090901 User Manual

Page 114

background image

Commands

114

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:

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:

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)

Description

Sense Key

Additional Sense

There is no cartridge present in the drive

, not even

partially loaded

.

NOT READY

3A00h (medium not present)

The MAM is not accessible even though there is a

tape in the drive.

MEDIUM

ERROR

0410h (MAM not accessible)

The MAM has failed (for example from a bad

checksum).

MEDIUM

ERROR

1112h (MAM read error)

The combination of Volume Number and Partition

Number is not valid.

ILLEGAL

REQUEST

2400h (invalid field in CDB)

The Service Action field does not match a supported

Service Action ID.

ILLEGAL

REQUEST

2400h (invalid field in CDB)

The First Attribute ID field does not match a

supported First Attribute ID.

ILLEGAL

REQUEST

2400h (invalid field in CDB)