Prevent Allow Media Removal; Command Descriptor Block - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

SCSI Commands

PREVENT ALLOW MEDIA REMOVAL

Command Descriptor Block

Field Descriptions
The Prevent Allow Medium Removal command requests that the target enable or
disable the removal of the medium from the drive. The drive will not allow medium
removal if any initiator currently has medium removal prevented.
If medium removal is prevented and the medium is in the loaded position, then:
Pressing the eject button on the front panel will be ignored.
The Load Unload command with the LOAD bit set to zero will result in a Check
Condition status. The sense code is set to Illegal Request and the Additional
Sense to Medium Removal Prevented (5302).
All initiators that have prevented medium removal must enable it before the medium
can be removed from the drive.
A bus reset, BDR message or power cycle will clear any previous medium removal
prevented setting and allow medium removal.
Bits
Byte
7
6
0
1
Ignored LUN
2
3
4
Reserved
5
Field
Bytes
Operation
0
Code
Ignored
1
Logical
Unit
Prevent
4
Reserved
Control
5
5
4
3
Operation Code (1Eh)
Reserved
Reserved
Control
Bits
Description
The Operation Code for Prevent/Allow Medium Removal is 1Eh.
5-7
The LUN field is residual from the SCSI-1 days and is ignored.
0-1
00b = Medium removal allowed.
01b = Medium removal prevented.
10b = Not supported, no medium changer.
11b = Not supported, no medium changer.
All reserved bits must be 0.
See Control Byte Format on page 18.
2
1
0
Reserved
Prevent
Page 71

Advertisement

Table of Contents
loading

Table of Contents