Log Sense Command
72 T10000: Interface Reference Manual August 2016
Sequential Access Device Page
The Sequential Access Device page (0Ch) returns counts of data bytes transferred to
and from tape and information about cleaning in binary format.
TapeAlert Page
The TapeAlert Log Sense page (2Eh) is read from a tape drive at the following times,
as a minimum:
• At the beginning of a write/read job, after the media is loaded.
• Immediately after a fatal error during the write/read job.
• At the end of each tape when the write/read job spans multiple tapes.
• At the end of a write/read job, when the tape has been unloaded.
Each flag will be cleared to zero in the following circumstances:
• At drive power on.
• When the TapeAlert Log page is read.
• When specified corrective action has been taken (such as using a cleaning
cartridge).
• On a reset.
Note – The entire TapeAlert page should be read to obtain all the
information.
When a flag is cleared by reading the TapeAlert page, a flag cannot be set again until
the error condition is removed (for example, the specific corrective action has been
taken).
A Log Select Reset for the TapeAlert page does not reset the TapeAlert flags. It is
rejected with Illegal Request.
TABLE 3-37 Sequential Access Device Page Codes
Parameter
Code Description
Length
(bytes)
Default
Threshold
0000h Number of bytes received from the initiator
(write command)
8 FFFFFFFF
FFFFFFFF
0001h Number of data bytes written on tape 8 FFFFFFFF
FFFFFFFF
0002h Number of bytes read from tape 8 FFFFFFFF
FFFFFFFF
0003h Number of bytes read by the initiator 8 FFFFFFFF
FFFFFFFF
0100h Cleaning
000 = No cleaning required
001 = Cleaning required
4N/A
8000h Number of 4k bytes left on tape from the current position 4 N/A