La utilidad se llama HP Array Configuration Utility CLI for Linux (hpacucli)

Para instalarla hay que añadir el siguiente repositorio:

# wget http://downloads.linux.hp.com/SDR/repo/mcp/GPG-KEY-mcp -O /tmp/proliant.gpg

# apt-key add /tmp/proliant.gpg

# echo -e «deb http://downloads.linux.hp.com/SDR/repo/mcp/ wheezy/current non-free» > /etc/apt/sources.list.d/proliant.sources.list

# apt-get update && apt-get install hpacucli

Una vez instalado lanzamos la consola de hpacucli con

# hpacucli

Los comandos básicos son:

Mostrar controladoras y el slot en el que están conectados (necesario para otros comandos):

=> ctrl all show status

Smart Array P410 in Slot 1

  Controller Status: OK

  Cache Status: OK

Mostrar unidades lógicas y su estado:

=> ctrl slot=1 ld all show status

  logicaldrive 1 (931.5 GB, 1): OK

  logicaldrive 2 (3.6 TB, 5): Interim Recovery Mode

  logicaldrive 3 (5.5 TB, 5): OK

Mostrar discos de todas las unidades lógicas y su estado:

=> ctrl slot=1 pd all show status

  physicaldrive 1I:1:1 (port 1I:box 1:bay 1, 1 TB): OK

  physicaldrive 1I:1:2 (port 1I:box 1:bay 2, 1 TB): OK

  physicaldrive 1I:1:3 (port 1I:box 1:bay 3, 2 TB): OK

  physicaldrive 1I:1:4 (port 1I:box 1:bay 4, 2 TB): OK

  physicaldrive 2I:1:5 (port 2I:box 1:bay 5, 2 TB): Rebuilding

  physicaldrive 2I:1:6 (port 2I:box 1:bay 6, 3 TB): OK

  physicaldrive 2I:1:7 (port 2I:box 1:bay 7, 3 TB): OK

  physicaldrive 2I:1:8 (port 2I:box 1:bay 8, 3 TB): OK