MEDIA CHANGER COMMANDS

M2488 PRODUCT GUIDE

6-2.6 TEST UNIT READY MC command 00h

The TEST UNIT READY command provides a means to check if the logical unit is ready. This is not a request for a self-test. If the logical unit would accept an appropriate medium-access command without returning CHECK CONDITION status, this command returns a GOOD status.

6-2.6.1 TEST UNIT READY CDB Description

TEST UNIT READY is a six-byte command. The bytes are as shown below and described in Table 6-34. Common fields are described in paragraph 4-3.1 on page 7-4.

BITS

BYTES

7

6

5

 

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

0

0

 

0

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

LUN

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

Reserved

 

 

 

Flag

Link

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: Changeable fields in the CDB are shaded.

Table 6-34. TEST UNIT READY Field Description

BYTE

BIT

VALUE

DESCRIPTION

0

0-7

00H

Operation code.

6-2.6.2 TEST UNIT READY CHECK CONDITION Status

The medium-changer logical unit is Ready if the following conditions are met:

A.the medium-changer mode is System Mode

B.a magazine is present or a cartridge is loaded in the tape drive

If medium-changer is not Ready then CHECK CONDITION status is returned with the sense key equal to NOT READY.

6-30

CG00000-011503 REV. A

March 1997

Page 290
Image 290
Fujitsu M2488 manual Test Unit Ready MC command 00h, Test Unit Ready Field Description