Linux Scroll

Just another WordPress.com site

hpacucli

hpacucli is the a command line Array Configuration Utility program for Smart Array Controllers and RAID Array Controllers. The utility is useful as it allows you to create and delete raid configs without having to reboot.

Start hpacucli:

# hpacucli

Show controller details:

=> ctrl all show config

=> ctrl all show config detail

Show controller status:

=> ctrl all show status

Rescan:

=> rescan

Cache:

=> ctrl slot=0 modify dwc=disable

=> ctrl slot=0 modify dwc=enable

Show physical drive details:

=> ctrl slot=0 pd all show

=> ctrl slot=0 pd all show detail

Show physical drive status:

=> ctrl slot=0 pd all show status

=> ctrl slot=0 pd 1:5 show status

Erase physical drive:

=> ctrl slot=0 pd 1:5 modify erase

Blinking disk LED:

=> ctrl slot=0 pd 1:5 modify led=on

=> ctrl slot=0 pd 1:5 modify led=off

Show logical drive details:

=> ctrl slot=0 ld all show

=> ctrl slot=0 ld 1 show

Show logical drive status:

=> ctrl slot=0 ld all show status

Blinking logical drive LED:

=> ctrl slot=0 ld 1 modify led=on

=> ctrl slot=0 ld 1 modify led=off

Force enabling failed drive:

=> ctrl slot=0 ld 1 modify reenable forced

Create RAID 0:

=> ctrl slot=0 create type=ld drives=1:3,1:4 raid=0

Create RAID 1:

=> ctrl slot=0 create type=ld drives=1:5,1:6 size=512 raid=1

Create RAID 1:

=> ctrl slot=0 create type=ld drives=1:11,1:12,1:13,1:14,1:15 raid=5

Remove logical drive:

=> ctrl slot=0 ld 1 delete

Expanding logical drive:

=> ctrl slot=0 ld 1 add drives=2:2

Extending logical drive:

=> ctrl slot=0 ld 1 modify size=2000 forced

Add sparec disk:

=> ctrl slot=0 array all add spares=1:8,1:9
Advertisements

3 responses to “hpacucli

  1. Barznj March 29, 2012 at 6:28 am

    Dear

    I dont have hpacucli installed on HP BL460c (Linux), is there any other command to do the same?

    thanks

    Barznj

  2. nimish February 7, 2013 at 11:34 am

    you need to install the package hpacucli which you could get it from hp website.

  3. rb October 10, 2013 at 11:54 am

    the command
    ctrl slot=0 ld 1 modify size=max
    displays a warning that some OS do not support logical drive extension. Do you know if Linux does support it?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: