Query an IBM ServeRAID adapter on the CLI

January 10, 2010

I quickly needed to determine the status of a RAID array that sat on an IBM ServeRAID adapter. The boxen was running Ubuntu 9.04 x86_64, I didnt want to install RaidManager nor did I want to install a debian package. Here’s how.

$ wget http://hwraid.le-vert.net/debian/pool-lenny/arcconf_6.10.18451-1_amd64.deb
$ wget http://rene.bz/files/debian/pool-lenny/arcconf_6.10.18451-1_amd64.deb
$ ar -x arcconf_6.10.18451-1_amd64.deb
$ tar zxvf data.tar.gz
$ sudo ./usr/sbin/arcconf GETCONFIG 1

Install the debian package if you need.

  • http://delicious.com/daveg daveg

    Or you could’ve downloaded arcconf from the IBM support website ;-)

  • rene

    I tried. The ISO (481mb) had a 32bit version of arcconf within the 64bit RaidManager ISO.

    From within the ISO.

    $ file ./linux_x86_64/cmdline/arcconf
    ./linux_x86_64/cmdline/arcconf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
    
  • felix

    the above URL is not available anymore :(

  • http://twitter.com/ReneCunningham Rene Cunningham

    I’m now hosting the debian package and have updated the blog entry.

Previous post:

Next post: