This is an old revision of the document!
# hpacucli ctrl all show config # hpacucli ctrl slot=0 ld all show status
# hpacucli ctrl all show config detail
# hpacucli ctrl all diag file=/tmp/test /tmp/test is output file for result
Drive0: # smartctl -a -d cciss,0 /dev/cciss/c0d0 Drive1: # smartctl -a -d cciss,1 /dev/cciss/c0d0
The HPSA driver was introduced with RHEL6 to the RHEL family.
Drive0: # smartctl -a -d cciss,0 /dev/sg0 Drive1: # smartctl -a -d cciss,1 /dev/sg0
Ref: man smartctl
# lsscsi --long [3:0:0:0] storage HP P410i 5.14 - state=running queue_depth=1020 scsi_level=6 type=12 device_blocked=0 timeout=0 [3:0:0:1] disk HP LOGICAL VOLUME 5.14 /dev/sda state=running queue_depth=1020 scsi_level=6 type=0 device_blocked=0 timeout=30 Alternatively # dmesg | grep "^scsi " scsi 3:0:0:0: RAID HP P410i 5.14 PQ: 0 ANSI: 5 scsi 3:0:0:1: Direct-Access HP LOGICAL VOLUME 5.14 PQ: 0 ANSI: 5
Requires installation of sg3_utils RPM.
# sg_map /dev/sg0 /dev/sg1 /dev/sda /dev/sg2 /dev/sdb /dev/sg3 /dev/sdc /dev/sg4 /dev/sdd /dev/sg5 /dev/sde /dev/sg6 /dev/sdf /dev/sg7 /dev/sdg /dev/sg8 /dev/sdh /dev/sg9 /dev/sdi
Reference: man sg_map