Displaying and enabling error logging – HP NetRAID-4M Controller User Manual

Page 75

Advertising
background image

4-25

Working with Disks

Displaying and Enabling Error Logging

The

log errors

attribute indicates whether S.M.A.R.T. exception

logging is enabled.

The CLI allows you to do the following:

Display whether S.M.A.R.T. error logging is enabled

Enable S.M.A.R.T. error logging

To determine whether S.M.A.R.T. error logging is enabled, use the

disk show smart

command, as in the following example. Note

that the Log Errors column appears only if you specify the

/full

switch with the

disk show smart

command. In the following

example, the Log Errors column indicates whether S.M.A.R.T. error
logging is enabled for a device. In the following example, the N in
the Log Errors column indicates that error logging is not enabled for
devices (2,1,0) and (2,2,0). (Note that the example eliminates some
items in the

disk show smart

display to make the example

readable on this page.)

HPN0> disk show smart /full=TRUE

Executing: disk show smart /full=TRUE

Smart

Capable Log Interval Report Error

C:ID:L Device Errors Timer (secs.) Count Count

------ ------- ------ ------------- ------ -----

2:01:0 Y N 0 1 0

2:02:0 Y N 0 1 0

To enable error logging, use the

disk set smart

command with

the

/logerr

switch. The following example shows how to enable

S.M.A.R.T. error logging on SCSI device (2,1,0):

HPN0> disk set smart /logerr=TRUE (2,1,0)

Executing: disk set smart /logerr=TRUE (CHANNEL=2,ID=1,LUN=0)

SMART parameters on disk (2,01,0) were successfully set.

You can disable error logging setting the

/logerr

switch to

FALSE

.

After enabling S.M.A.R.T. error logging, use the

disk show smart

command to verify the log errors setting. See Displaying and Enabling
Error Logging
on page 4-25 for further information.

Advertising