hpacucli 使用——HP Raid信息查看

 [root@s13 ~]# uname -a
Linux s13 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@s13 ~]# wget http://h50176.www5.hp.com/local_drivers/24434/hpacucli-7.50-18.linux.rpm
[root@s13 ~]# rpm -ivh hpacucli-7.50-18.linux.rpm
[root@s13 ~]# hpacucli ctrl slot=0 pd all show status

physicaldrive 1:0 (port 1:id 0, 72.8 GB): OK
physicaldrive 1:1 (port 1:id 1, 72.8 GB): OK

[root@s13 ~]# hpacucli ctrl all show status

Smart Array 6i in Slot 0
   Controller Status: OK
   Cache Status: OK


可以進入hpacucli cmd line 執行查看:
[root@s13 ~]# hpacucli 

=> help show

The show command outputs information about a device or a list of devices.
<target> show [status] 
   <target> can be any valid target or group of targets.
   status is an optional parameter that displays status information for the 
   target element and its contained elements.
<target> show [ssp] 
   <target> can be any valid controller.
   ssp is an optional parameter that displays ssp information for the specified
   controller.
Examples:
   controller slot=5 show
   controller chassisname="Floor 2" show status
   controller all show
   controller all show status
   controller wwn=W4348483984 array A show
   controller slot=5 array all show
   controller slot=3 logicaldrive all show
   controller slot=3 logicaldrive all show status
   controller serialnumber=P21DA2322S logicaldrive 1 show
   controller slot=1 physicaldrive all show
   controller slot=1 array B physicaldrive all show
   controller slot=7 array A logicaldrive all show
   controller slot=7 physicaldrive allunassigned show
   controller slot=1 physicaldrive 1:0 show
   controller ch="Lab 9" show ssp

=> ctrl all show status
Smart Array 6i in Slot 0
   Controller Status: OK
   Cache Status: OK

=> ctrl slot=0 physicaldrive all show


Smart Array 6i in Slot 0

array A
   physicaldrive 1:0   (port 1:id 0 , Parallel SCSI, 72.8 GB, OK)
   physicaldrive 1:1   (port 1:id 1 , Parallel SCSI, 72.8 GB, OK)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章