beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 143

background image

Verifying the system

6–13

Use the following table to determine the

drive_number

for the array; the drive number is

derived from the bay number. For example, the drive number for the disk in bay 3 is 130.

In the following example, the

hpls_cciss_info

command gets the status of the disk in bay

10:

# hpls_cciss_info -i -D 1,2,0,145

CONTROLLER:1:BUS:2:DRIVE:145:BLOCKSIZE:512:BLOCKS:488397168:BOX:1:BAY:10:TYP
E:
SERIAL_ATA:RPM:0:MODEL:Maxtor
7Y250M0 :SERIAL:Y6915WHE :FIRMWARE:YAR51KW0:
DISKSTATUS:logvol,smartcapable,smartenabled,smartfactoryerr

If one or more of the following values are displayed in the

DISKSTATUS

field, this indicates that

a disk failure is predicted:

smartfactoryerr

— predictive failure (

01/5D

) errors are recorded in the Factory M&P

data for this drive.

smartpowererr

— predictive failure (

01/D5

) errors are recorded in the Since Power

M&P data for this drive.

TIP:

You can use the

diskinfo

wrapper script for the

hpls_cciss_info

command to view

the drive status on all SFS20 arrays attached to a server. To run the

diskinfo

script, enter the

following command on the server:

# /usr/opt/hpls/diags/bin/diskinfo -v

The command reports disk and controller information for all arrays attached to the server. The

-v

argument is optional; if you do not use it, the command provides the report in a shorter

summary format.

9.

Check that there are no errors being logged for disks.

If errors are being logged, events such as the following are generated:

2005/04/08 09:47:07 storage !! south1: P6C8CX7MQPS7UK: array 1: disk bay 12:
disk Y6912TFE is logging errors (was online)

You can search for these events in the system log by entering the following command:

sfs> show log facility=storage && data contains "disk bay"

If you find such events in the log, you can confirm the current status of the disk by entering the

hpls_cciss_info

command using the following syntax:

hpls_cciss_info -E -D controller,port,0,drive_number

See Step 8 for information on how to determine the

controller

,

port

, and

drive_number

values to use in the command.

In the following example, the

hpls_cciss_info

command gets the status of the disk in bay 10:

# hpls_cciss_info -E -D 1,2,0,145

Disk 1,2,0,145: logged 39 offset 19
[13] type 1 scsi_op 40 sense 0x4 qual 0 sense_code 0x8 (10 mins ago)
[18] type 1 scsi_op 40 sense 0x3 qual 0 sense_code 0x11 (5 mins ago)
Medium Error: Unrecovered Read Error

Bay

Drive

Number

Bay

Drive

Number

Bay

Drive

Number

Bay

Drive

Number

1

128

4

131

7

134

10

145

2

129

5

132

8

135

11

146

3

130

6

133

9

144

12

147