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

Log Sense - 4Dh, What the Library Does with This Command, Command Usage, Log Sense CDB Format

Page 34 highlights

Log Sense - 4Dh What the Library Does with This Command The library returns information for the requested log page. The only supported log page is the Tape Alert page, with a limited set of flags. The library will return the current values of the flags on request, and then clear them. Command Usage This command can be used to monitor conditions of the library. Log Sense CDB Format The LOG SENSE CDB format is shown in the following table. Table 20 LOG SENSE CDB format Byte Bit 7 6 5 4 3 2 1 0 0 Op Code (4Dh) 1 Logical Unit Number Reserved PPC SP 2 PC Page Code 3 Reserved 4 Reserved 5 Parameter Pointer 6 7 Allocation Length 8 9 Control Parameter Pointer Control (PPC) - Must be set to 0. The library will return log parameters starting with the parameter code specified in the Parameter Pointer field, and return up to the number of bytes specified in the Allocation Length field. Log parameters are returned in ascending order according to their parameter code. 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. Save Parameters (SP) - Must be set to 0. The library does not support the saving of log parameters. Page Control (PC) - Must be set to 01b. The library only returns cumulative values for any log parameter rather than threshold or default values. 24 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

24
SCSI Commands
Log Sense - 4Dh
What the Library Does with This Command
The library returns information for the requested log page. The only supported log page is the Tape Alert
page, with a limited set of flags. The library will return the current values of the flags on request, and then
clear them.
Command Usage
This command can be used to monitor conditions of the library.
Log Sense CDB Format
The LOG SENSE CDB format is shown in the following table.
Parameter Pointer Control (PPC)
– Must be set to 0. The library will return log parameters starting with
the parameter code specified in the Parameter Pointer field, and return up to the number of bytes specified
in the Allocation Length field. Log parameters are returned in ascending order according to their parameter
code. 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.
Save Parameters (SP)
– Must be set to 0. The library does not support the saving of log parameters.
Page Control (PC)
– Must be set to 01b. The library only returns cumulative values for any log parameter
rather than threshold or default values.
Table 20
LOG SENSE CDB format
Bit
Byte
7
6
5
4
3
2
1
0
0
Op Code (4Dh)
1
Logical Unit Number
Reserved
PPC
SP
2
PC
Page Code
3
Reserved
4
Reserved
5
Parameter Pointer
6
7
Allocation Length
8
9
Control