Dell PowerVault ML6000 Dell PowerVault ML6000 SCSI Reference Guide - Page 44

Mode Sense (6) Response, Mode Parameter Header, Control PC, Code, Allocation Length

Page 44 highlights

Page Control (PC) - This field indicates the type of mode page parameter values to return as shown in the following table Table 31 Page Control (PC) field Page Control Description 0 0 Report current values defined by: • The values set by the last successful MODE SELECT command. • The default values if no saved values exist. 0 1 Report changeable values 1 0 Report default values 1 1 Report saved values (report default values if no pages are previously saved) Page Code - This field determines which pages should be reported. For a list of available mode pages, see Table 36 on page 37. Allocation Length - This field specifies the number of bytes that the initiator allocated for returned MODE SENSE data. A length of 0 means that the library will return no MODE SENSE data. This is not considered to be an error. Mode Sense (6) Response The six-byte MODE SENSE response consists of a single four-byte Mode Parameter Header, followed by zero or more mode pages. Each page is individually described in "Mode Pages." Mode Parameter Header The following table lists the format of the Mode Parameter Header for the six-byte MODE SENSE command. Table 32 Mode Parameter Header format for Mode Sense (6) Bit Byte 7 6 5 4 3 2 1 0 0 Mode Data Length 1 Reserved 2 Reserved 3 Reserved Mode Data Length - This specifies the length in bytes that is available to be transferred as part of the response. The Mode Data Length does not include itself but does include the remaining 3 bytes of the parameter header, as well as the overall total number of bytes being sent for all requested pages. 34 SCSI Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90

34
SCSI Commands
Page Control (PC)
- This field indicates the type of mode page parameter values to return as shown in the
following table
Page Code
- This field determines which pages should be reported. For a list of available mode pages, see
Table 36
on page 37.
Allocation Length
- This field specifies the number of bytes that the initiator allocated for returned MODE
SENSE data. A length of 0 means that the library will return no MODE SENSE data. This is not considered
to be an error.
Mode Sense (6) Response
The six-byte MODE SENSE response consists of a single four-byte Mode Parameter Header, followed by
zero or more mode pages. Each page is individually described in “Mode Pages.”
Mode Parameter Header
The following table lists the format of the Mode Parameter Header for the six-byte MODE SENSE command.
Mode Data Length
- This specifies the length in bytes that is available to be transferred as part of the
response. The Mode Data Length does not include itself but does include the remaining 3 bytes of the
parameter header, as well as the overall total number of bytes being sent for all requested pages.
Table 31
Page Control (PC) field
Page Control
Description
0
0
Report current values defined by:
The values set by the last successful MODE SELECT command.
The default values if no saved values exist.
0
1
Report changeable values
1
0
Report default values
1
1
Report saved values (report default values if no pages are previously saved)
Table 32
Mode Parameter Header format for Mode Sense (6)
Bit
Byte
7
6
5
4
3
2
1
0
0
Mode Data Length
1
Reserved
2
Reserved
3
Reserved