Fujitsu MCJ3230SS Computer Drive User Manual


 
4.3 SCSI Commands
C156-E224-01EN 4-31
4.3.10 PREVENT/ALLOW MEDIUM REMOVAL command
Table 4.48 PREVENT/ALLOW MEDIUM REMOVAL command
Bit
Byte
76543210
0 Operation Code (1Eh)
1LUN 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
operation
If no media is loaded If media is loaded
Enabled No error No error
Prevent = 0
Disabled No error No error
Enabled No error
No error. Media ejection is
disabled.
Prevent = 1
Disabled No error No error
Enabled No error
No error. The cartridge is
ejected.
Eject
(Ejection by
START/STOP UNIT
command)
Disabled
Error: SENSE KEY 5
ASC/ASCQ 5302
Error: SENSE KEY 5
ASC/ASCQ 5302
Enabled No status change The cartridge is ejected.
Eject
(Ejection by the eject
switch)
Disabled No status change
No status change; media
ejection remains disabled.