beautypg.com

Event structure, Event, Structure – Dell PowerVault TL2000 User Manual

Page 27

background image

Bit

7

6

5

4

3

2

1

0

Byte

0

Reserved

Page

Code

(07h)

1

Reserved

2

-

3

Page

Length

4

-

xxxxh

Events

Structures

Field

descriptions:

Page

Code:

The

Page

Code

echoes

the

page

code

that

was

specified

in

the

LOG

SENSE

CDB.

Page

Length:

The

Page

Length

specifies

the

total

number

of

event

bytes,

not

including

the

four

bytes

for

this

header.

Event

Structure:

An

event

structure

consists

of

a

header

and

a

variable

number

of

event

data

bytes.

This

structure

is

defined

in

the

next

table.

Event

Structure

An

event

structure

consists

of

two

parts:

a

13

byte

event

header

and

(optional)

event

data.

The

event

header

contains

info

about

event

type,

source

module

of

event,

time

of

event,

data

type,

and

event

data

length.

The

optional

event

data

does

not

exceed

114

bytes.

When

this

field

is

returned

it

contains

specific

information

about

the

event.

See

next

structure:

Bit

7

6

5

4

3

2

1

0

Byte

0

(MSB)

Parameter

Code

1

(LSB)

2

DU(0)

DS(1)

TSD(0)

ETC(0)

TMC(0)

Reserved

Reserved

LP

3

Parameter

Length

(n-3)

4

Event

type

5

-

6

Source

module

ID

of

event

7

-

10

Time

of

event

(sec)

11

Data

type

of

event

data

12

Length

of

event

data

13

-

n

Event

data

(0..114

bytes)

Field

descriptions:

Parameter

Code:

The

Parameter

Code

is

a

2-byte

value

that

uniquely

identifies

the

event

within

the

log.

DU:

Disable

Update

is

set

for

any

parameter

that

the

Host

cannot

reset.

DS:

Disable

Save.

The

media

changer

has

no

support

for

SP

bit.

Set

to

1.

TSD:

Target

shall

determine

save

method,

set

to

0.

ETC:

No

threshold

comparison,

set

to

0.

Chapter

3.

Supported

SCSI

Commands

3-13