HP Array Configuration Utility CLI for Linux (hpacucli) is a program for controlling HP Smart Array controllers.
To invoke the interactive shell, run the command hpacucli. for help run hpacucli help.
Controller Commands
Display detail of Controller
hpacucli> ctrl all show config
hpacucli> ctrl all show config detailDisplay status of Controller
hpacucli> ctrl all show statusEnable or Disable the cache
hpacucli> ctrl slot=0 modify dwc=disable
hpacucli> ctrl slot=0 modify dwc=enableDetects newly added devices since the last rescan
hpacucli> rescanPhysical Drive Commands
Display detail information of physicalDrive
hpacucli> ctrl slot=0 pd all show
hpacucli> ctrl slot=0 pd 2:3 show detailDisplay Status of physicalDrive
hpacucli> ctrl slot=0 pd all show status
hpacucli> ctrl slot=0 pd 2:3 show statusTo Erase the physicalDrive
hpacucli> ctrl slot=0 pd 2:3 modify eraseTo enable or Disable the LED
hpacucli> ctrl slot=0 pd 2:3 modify led=on
hpacucli> ctrl slot=0 pd 2:3 modify led=offLogical Drive Commands
Display detail information of LogicalDrive
hpacucli> ctrl slot=0 ld all show
hpacucli> ctrl slot=0 ld 4 show Display Status of LogicalDrive
hpacucli> ctrl slot=0 ld all show status
hpacucli> ctrl slot=0 ld 4 show statusTo re-enabling failed drive
hpacucli> ctrl slot=0 ld 4 modify reenable forcedCreate LogicalDrive with RAID 0 using one drive:
hpacucli> ctrl slot=0 create type=ld drives=1:12 raid=0 Create LogicalDrive with RAID 1 using two drives:
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14 size=300 raid=1Create LogicalDrive with RAID 5 using five drives:
hpacucli> ctrl slot=0 create type=ld drives=1:13,1:14,1:15,1:16,1:17 raid=5To Delete LogicalDrives
hpacucli> ctrl slot=0 ld 4 deleteExpanding logicaldrive by adding one more drive
hpacucli> ctrl slot=0 ld 4 add drives=2:3Extending the LogicalDrives
hpacucli> ctrl slot=0 ld 4 modify size=500 forcedAdd two Spare disks
hpacucli> ctrl slot=0 array all add spares=1:5,1:7