beautypg.com

Unloading a cartridge – HP C737990900 User Manual

Page 57

background image

Commands 57

Co

m

m

an

ds

If the Load was issued by some other host (or was an autoload) and

completed successfully,

CHECK CONDITION

is reported, with a sense key of

UNIT ATTENTION

and additional sense of 2800h (not ready to ready

transition).

If the Load was issued by the current host and failed,

CHECK CONDITION

is

reported, since a deferred error condition will exist for the current host.

If the Load was issued by some other host and failed, the load will be re-

attempted on behalf of the current host.

Unloading a Cartridge

If an unload is requested and there is a tape present in the drive (either

loaded, loading or unloading):

1

Any buffered data is written to tape.

2

The tape is rewound to the physical BOM (beginning of media).

3

If medium removal is prevented,

CHECK CONDITION

is reported with a

sense key of

ILLEGAL REQUEST

and additional sense of 5302h (medium

removal prevented).

4

G

OOD

status is reported if the tape unloaded successfully. Otherwise,

another unload operation is initiated on behalf of the host that issued the

unload request.

Following an unload, any media access commands will be rejected by the

Media Access check.

If an unload request is received while the tape is in the process of

unloading (for example, as a result of pressing the eject button), it will be

queued until the unload is complete.

If an unload request is received while there is no tape present, or if a tape

is present but not loaded and medium removal is prevented,

GOOD

status

is reported.

It is possible to unload and eject the cartridge by pressing the Eject button on

the front panel.