Tuesday, September 27, 2011

hpacucli: Error: No controllers detected. with hpsa and SmartArray P410i

I have encountered a fucking weird problem with hpacucli (HP utility for their RAID controllers) on ProLiant DL360 G7 or whatever. The controller was HP SmartArray P410i and the problem was simple:

root@XYZ:~# hpacucli 
HP Array Configuration Utility CLI 8.70-8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl all show

Error: No controllers detected.

The solution is: Load the sg driver and that's it:

root@XYZ:~# modprobe sg
root@XYZ:~# hpacucli 
HP Array Configuration Utility CLI 8.70-8.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> ctrl all show

Smart Array P410i in Slot 0 (Embedded)    (sn: 500143801630C980)

3 comments:

  1. Thanks for the post...this got me going. Really appreciate you sharing this.

    ReplyDelete
  2. Adding more information to the same stupid error:
    If you are using kernel 3.x series, hpacucli will still say
    # /usr/sbin/hpacucli ctrl all show config
    Error: No controllers detected.
    even with sg loaded.

    Some caritative sould has written a wrapper called "uname-26". Download compile and voilá

    root@agrohost:/usr/src/uname-26# ./uname26 /usr/sbin/hpacucli ctrl all show config

    Smart Array P410i in Slot 0 (Embedded) (sn: 50014380086260C0)

    array A (SATA, Unused Space: 0 MB)


    logicaldrive 1 (465.7 GB, RAID 1, OK)

    physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 500 GB, OK)
    physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 500 GB, OK)

    SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380086260CF)

    ReplyDelete
  3. Thank you very much Sebastian! I have also hit this bug. It is insane that HP utilities rely on the string "2.6" and it does not work with 3.x kernels. Really I do not follow but I think they are amateurs and their HW and eventual Linux support is crap.

    It is worse than ever with buggy Broadcom NICs. I had problems with multicast@NeXtreme 2 (BCM5709) and I was unable to solve it. Finally I decided to use different server from a different a better vendor with Intel 82576 and it works out of box.

    ReplyDelete