HP hpacucli Linux commands

https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03493210

  • Controller commands:

    hpacucli> ctrl all show config                  ## Display detail of Controller 

    hpacucli> ctrl all show config detail

    hpacucli> ctrl all show status                  ## Display status of Controller

    hpacucli> ctrl slot=0 modify dwc=disable         ## Enable or Disable the cache 

    hpacucli> ctrl slot=0 modify dwc=enable

    hpacucli> rescan           ## Detects newly added devices since the last rescan

  • Physical drive commands:

    hpacucli> ctrl slot=0 pd all show ## Display detail information of PhysicalDrive  hpacucli> ctrl slot=0 pd 2:3 show detail

    hpacucli> ctrl slot=0 pd all show status      ## Display Status of physicalDrive  hpacucli> ctrl slot=0 pd 2:3 show status

    hpacucli> ctrl slot=0 pd 2:3 modify erase          ## To Erase the physicalDrive

    hpacucli> ctrl slot=0 pd 2:3 modify led=on       ## To enable or Disable the LED  hpacucli> ctrl slot=0 pd 2:3 modify led=off

  • Logical drive commands:

    hpacucli> ctrl slot=0 ld all show   ## Display detail information of LogicalDrive  hpacucli> ctrl slot=0 ld 4 show

    hpacucli> ctrl slot=0 ld all show status        ## Display Status of LogicalDrive  hpacucli> ctrl slot=0 ld 4 show status

    hpacucli> ctrl slot=0 ld 4 modify reenable forced  ## To re-enabling failed drive

 

Last Updated On September 27, 2018