4.3 SCSI Commands

4.3.10 PREVENT/ALLOW MEDIUM REMOVAL command

Table 4.48 PREVENT/ALLOW MEDIUM REMOVAL command

Bit

7

6

5

 

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation Code (1Eh)

 

 

 

1

 

LUN

 

 

 

 

 

Reserved

 

 

2-3

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

Reserved

 

 

 

Prevent

5

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The PREVENT/ALLOW MEDIUM REMOVAL command enables or disables media ejection from the device.

If the Prevent bit is 0, ejection is enabled. If the Prevent bit is 1, ejection is disabled.

At power-on, media ejection is enabled by default.

When unwritten data remains in the write cache, media ejection is enabled after the data is written to the media.

SCSI Reset or Bus Device Reset releases the disabled state and enables ejection.

Table 4.49 Responses to Prevent, Allow, and Eject

Operation

Status at

If no media is loaded

If media is loaded

operation

 

 

 

 

 

 

 

 

 

Prevent = 0

Enabled

No error

No error

 

 

 

 

 

Disabled

No error

No error

 

 

 

 

Enabled

No error

No error.

Media ejection is

Prevent = 1

 

disabled.

 

 

 

 

Disabled

No error

No error

 

Eject

Enabled

No error

No error.

The cartridge is

(Ejection by

 

ejected.

 

 

 

START/STOP UNIT

Disabled

Error: SENSE KEY 5

Error:

SENSE KEY 5

command)

ASC/ASCQ 5302

 

ASC/ASCQ 5302

 

 

 

 

 

 

Eject

Enabled

No status change

The cartridge is ejected.

(Ejection by the eject

Disabled

No status change

No status change; media

switch)

ejection remains disabled.

 

 

 

 

 

 

 

C156-E224-01EN

4-31

Page 105
Image 105
Fujitsu MCJ3230SS manual PREVENT/ALLOW Medium Removal command, Responses to Prevent, Allow, and Eject, Sense KEY, Asc/Ascq