![background image](http://html2.mh-extra.com/html/quantum/dlt-s4/dlt-s4_reference-manual_3531879240.webp)
Chapter 4 SCSI Commands
MODE SENSE (6) / (10) Command (1Ah / 5Ah)
DLT-S4 Interface Reference Guide
206
the tape will be compared to the password(s) in the drive. If the
password(s) are equal, subsequent write and read operations are allowed.
If the passwords do not match, the following operations will be rejected
and sense data presented to the host:
WRITE
,
WRITE FMs
,
READ
,
LOCATE
,
VERIFY
,
ERASE, SPACE, WRITE ATTRIBUTES, SEND DIAG
and
WRITE
BUFFER
. If the tape is not password protected and the action code is to
password protect the tape, then the passwords are written to tape at the
next possible opportunity (when the tape is positioned at BOT).
In the event of a password mismatch, the following commands are
rejected:
WRITE, WRITE FMs, READ, LOCATE, VERIFY, ERASE, SPACE, WRITE
ATTRIBUTES, SEND DIAG
and
WRITE BUFFER
.
The sense data returned when one of these commands is rejected is:
• Sense data (0x07, 0x20, 0x03) Data Protect, Access Denied, Invalid
Management ID Key.
In the event of an attempt to disable a password protected tape or add a
password to a non-protected tape
when not at BOT
, the following sense
data will be available on the interface:
• Sense data (0x05, 0x82, 0x00) Illegal request, Action not allowed away
from BOT.
In the event of excessive attempts to select the correct password, when the
number of password attempts has been exceeded the sense data will
change from:
• Data Protect, Access Denied, Invalid Management ID Key (07, 20, 03)
to Data Protect, Access Denied, Password Attempts Exceeded (07, 20,
80).
Drive Password and
Password Protection State
Storage
4
The drive password and the ‘Password Protection State’ will be stored in
the drive’s volatile RAM. Passwords sent to the drive using action code 01
– Set Drive Password, will be saved in the drive’s volatile RAM for
automatic password validation on future tape loads. The default value of
the Password bytes and Password Protection State will be 00. In a parallel
SCSI drive, the drive password, Password field, and Password Protection
State will be reset to default values only after a power-on reset. A device
reset or bus reset will not reset the drive’s passwords. For Fibre Channel
and SAS drives, the drive password, Password field, and Password
Protection State will be reset to default values after a power-on reset,
device reset, or bus reset.