Log sense response – Dell PowerVault ML6000 User Manual
Page 35

PowerVault ML6000 SCSI Reference Guide
25
Page Code – The Page Code field identifies which log page is being requested by the initiator.
Parameter Pointer - This field specifies which log parameter to begin with for the requested log page. A
PPC bit of 0 and a Parameter Pointer field of 0 will cause all available log parameters for the requested page
code to be returned, subject to the Allocation Length. More detailed definition of this field is contained within
the specific log page descriptions.
Allocation Length - The Allocation Length field is used to determine the maximum amount of data to return.
The transfer completes after either all the data has been transferred or an amount equal to the Allocation
Length has been sent. Specify FFFFh to include all available data.
Log Sense Response
The response to a LOG SENSE command returns the log page specified in the Page Code field of the CDB.
The log page format is described in “Log Page Format.” The valid Page Code fields are listed in
on page 25. The various log parameters are described within their respective pages, along with their
Parameter Codes. The Log Parameter format is described in “Log Parameter Format.”
Log Page Format
The following table shows the Log Page format. The first four bytes are the Parameter List Header, followed
by the list of log parameters.
Page Code – This field identifies which log page is being transferred.
Page Length - This field indicates the total number of bytes available to return for this page, beginning with
the first log parameter. The value set for this field depends on the value specified for the Page Code.
Table 21
Page Code field
Page Code
Page Name
Page Description
00h
Supported Log Pages
Returns list of supported log pages
2Eh
Tape Alert Log
Returns the 64 tape alert flags
Table 22
Log Page format
Bit
Byte
7
6
5
4
3
2
1
0
0
Reserved
Page Code
1
Reserved
2
Page Length (n-3)
3
4
Log Parameter (First)
(Length x)
x+3
.
.
.
n-y+1
Log Parameter (Last)
(Length y)
n