Chapter 4 SCSI Commands
MODE SELECT (6) / (10) Command (15h / 55h)
DLT-S4 Interface Reference Guide
146
PCP
Password Change Pending. This read only bit indicates that the desired tape password has
been sent to the drive and is stored in drive memory but has not been written to tape. This
bit is set anytime a tape is intended to be password protected with action codes 02 – Set
Drive Password and write it to tape; 03 - Set Drive Password and write it to all blank tapes;
and 04 – Set Drive Password and write it to all unprotected formatted tapes, and cleared by
successful directory write or next load of the tape.
• If the currently loaded tape is blank, a
WRITE
,
WRITE FM
, or
ERASE
command is required
to write the password to tape.
• If the currently loaded tape has data written on it, a
WRITE
or
WRITE FM
command from
BOT
;
REWIND
, or
UNLOAD
command will cause the password to be written to tape.
PWF
Password Write Failed. This read only bit indicates that the password that was pending to
be written to tape was not written due to a write error. This bit is set from the time of
unloading the failing cartridge until the load of the next cartridge. If this bit is 0 after
unloading a tape then the password was successfully written to tape. The PCP bit is
cleared when this bit is set.
CRA
Cartridge Read Access. This read only bit indicates if the cartridge can be accessed for the
following
READ
type commands:
READ
,
SPACE
,
VERIFY
and
LOCATE
.
CWA
Cartridge Write Access. This read only bit indicates if the cartridge can be accesses for the
following
WRITE
type commands:
WRITE
,
WRITE
FM
,
ERASE
and
WRITE
ATTRIBUTE
.
Password
Selection
This read/write field selects the identification of the password to modify. The values are:
0
Host Read/Write Password
1
Automation Read/Write Password
On a
MODE SENSE
command this field will be set to the last password that was selected on
a
MODE SELECT
for that port.
Scope
Scope of Password Protection. This two bit read/write field determines who is allowed to
access the drive in a multi-initiator environment. This field is reserved for the ADC device
server. The last scope successfully selected determines the global scope for passwords. A
Unit Attention (Mode Parameters Changed) will be sent to any other initiators affected by
the scope change. 03h Reserved
Scope Value
Description
00h
Only allow me to access the tape
01h
Allow everyone with a reservation to access the tape. Loss of
02h
Allow everyone to access the tape.
03h
Reserved
Action Code This 6-bit read/write field indicates the desired password protection action. The value in
this field has the following meaning:
Field
Description