Displaying and clearing the error count – HP NetRAID-4M Controller User Manual

Page 78

Advertising
background image

4-28

Command Line Interface User’s Guide

After setting the report count, use the

disk show smart

command to verify the report count setting.

Displaying and Clearing the Error Count

The

error count

attribute indicates the number of errors that

S.M.A.R.T. encountered on a disk.

The CLI allows you to do the following:

Display the error count

Clear the error count

To display the number of errors on a disk, use the

disk show

smart

command, as in the following example. The Error Count

column shows the number of errors reported by S.M.A.R.T. The
example shows that S.M.A.R.T. encountered no (0) errors for devices
(2,1,0) and (2,2,0).

HPN0> disk show smart

Executing: disk show smart

Smart Method of Enable

Capable Informational Exception Performance Error

C:ID:L Device Exceptions(MRIE) Control Enabled Count

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

2:01:0 Y 6 Y N 0

2:02:0 Y 6 Y N 0

To clear the S.M.A.R.T. error count, use the

disk set smart

command with the

/clear=TRUE

switch. The error count is the

number of exceptions that have occurred since the last time they
were cleared. The following example shows how to clear the error
count on SCSI device (2,1,0):

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

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

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

After clearing the error count, use the

disk show smart

command to verify the exception report count setting.

Advertising