Dell PowerVault TL4000 SCSI Reference Guide - Page 89

Timestamp - status media attention

Page 89 highlights

SET TIMESTAMP (A4h) The SET TIMESTAMP command requests the device server to initialize the timestamp in the media changer, if the SCSIP bit is set to one or the TCMOS bit is set to one in the Control Extension mode page. If the SCSIP bit is set to zero, the SET TIMESTAMP command shall be terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN CDB. Bit 7 Byte 0 1 2 3 4 5 6 (MSB) 7 8 9 10 11 6 LUN 5 4 3 2 1 Operation Code (A4) Service Action (0Fh) Reserved Reserved Reserved Reserved Parameter List Length Reserved Control 0 (LSB) Field descriptions: Parameter List Length: The PARAMETER LIST LENGTH field specifies the length in bytes of the SET TIMESTAMP parameters that shall be transferred from the application client to the device server. A parameter list length of zero indicates that no data shall be transferred, and that no change shall be made to the timestamp. The SET TIMESTAMP parameter data format is shown in next table. Bit 7 6 5 4 3 2 1 0 Byte 0 - 3 Reserved 4 - 9 Time Stamp 10 - Reserved 11 The TIMESTAMP field shall contain the initial value of the timestamp in the format defined in above table. The Time Stamp field should be the number of milliseconds that have elapsed since midnight, 1 January 1970 UT. If the high order byte in the TIMESTAMP field is greater than F0h, the command shall be terminated with CHECK CONDITION status, with the sense key set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD IN PARAMETER LIST. On successful completion of a SET TIMESTAMP command the device server shall generate a unit attention condition for the initiator port associated with every I_T nexus except the I_T nexus on which the SET TIMESTAMP command was received, with the additional sense code set to TIMESTAMP CHANGED. Chapter 3. Supported SCSI Commands 3-75

  • 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
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

SET
TIMESTAMP
(A4h)
The
SET
TIMESTAMP
command
requests
the
device
server
to
initialize
the
timestamp
in
the
media
changer,
if
the
SCSIP
bit
is
set
to
one
or
the
TCMOS
bit
is
set
to
one
in
the
Control
Extension
mode
page.
If
the
SCSIP
bit
is
set
to
zero,
the
SET
TIMESTAMP
command
shall
be
terminated
with
CHECK
CONDITION
status,
with
the
sense
key
set
to
ILLEGAL
REQUEST,
and
the
additional
sense
code
set
to
INVALID
FIELD
IN
CDB.
Bit
7
6
5
4
3
2
1
0
Byte
0
Operation
Code
(A4)
1
LUN
Service
Action
(0Fh)
2
Reserved
3
Reserved
4
Reserved
5
Reserved
6
(MSB)
7
Parameter
List
Length
8
9
(LSB)
10
Reserved
11
Control
Field
descriptions:
Parameter
List
Length:
The
PARAMETER
LIST
LENGTH
field
specifies
the
length
in
bytes
of
the
SET
TIMESTAMP
parameters
that
shall
be
transferred
from
the
application
client
to
the
device
server.
A
parameter
list
length
of
zero
indicates
that
no
data
shall
be
transferred,
and
that
no
change
shall
be
made
to
the
timestamp.
The
SET
TIMESTAMP
parameter
data
format
is
shown
in
next
table.
Bit
7
6
5
4
3
2
1
0
Byte
0
-
3
Reserved
4
-
9
Time
Stamp
10
-
11
Reserved
The
TIMESTAMP
field
shall
contain
the
initial
value
of
the
timestamp
in
the
format
defined
in
above
table.
The
Time
Stamp
field
should
be
the
number
of
milliseconds
that
have
elapsed
since
midnight,
1
January
1970
UT.
If
the
high
order
byte
in
the
TIMESTAMP
field
is
greater
than
F0h,
the
command
shall
be
terminated
with
CHECK
CONDITION
status,
with
the
sense
key
set
to
ILLEGAL
REQUEST,
and
the
additional
sense
code
set
to
INVALID
FIELD
IN
PARAMETER
LIST.
On
successful
completion
of
a
SET
TIMESTAMP
command
the
device
server
shall
generate
a
unit
attention
condition
for
the
initiator
port
associated
with
every
I_T
nexus
except
the
I_T
nexus
on
which
the
SET
TIMESTAMP
command
was
received,
with
the
additional
sense
code
set
to
TIMESTAMP
CHANGED.
Chapter
3.
Supported
SCSI
Commands
3-75