Tag: raid

hpacucli not detecting HP Smart Array Controller

In some cases hpacucli is not detecting the HP Smart Array Controller, in my case it was a HP P420 controller. => ctrl all show Error: No controllers detected. => You can solve this issue by loading the sg module: # modprobe sg You’ll see now that the controller is detected: => ctrl all show […]

WARNING: mismatch_cnt is not 0 on /dev/md1

Since a couple of days I have seen the following message on (CentOS) servers: WARNING: mismatch_cnt is not 0 on /dev/md1 I have Googled some around, posted on forums, but couldn’t find the cause of this. Anyways, I managed to fix it with a workaround: #¬†echo repair >/sys/block/md1/md/sync_action # wait a bit …. # echo […]

MegaCli for Debian / Ubuntu

Unfortunately LSI and Dell doesn’t provide the MegaCli tool as source or .deb package, therefor it is not possible (by default) to install MegaCli on Debian servers. I managed to get MegaCli working on a Debian server. Download MegaCli from LSI: # cd ~ # wget “http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/8.00.46_Linux_MegaCLI.zip” Unpack the downloaded file: # unzip 8.00.46_Linux_MegaCLI.zip if […]

Howto: RAID status on HP servers

Here is how you can view the status of your RAID configuration and the status of your physical drives. First we have to download and install the hpacucli tool. CentOS: # wget http://how2forge.info/files/hpacucli-8.60-8.0.noarch.rpm # rpm -ivh hpacucli-8.60-8.0.noarch.rpm Debian: # wget http://how2forge.info/files/hpacucli_8.60-8.0_i386.deb # dpkg -i hpacucli_8.60-8.0_i386.deb Once the tool is installed, start it: # hpacucli HP […]

Monitoring LSI RAID adapter with mpt-status

I have a few HP and Dell servers I manage that use LSI RAID controllers. To ensure remotely that a hard drive is not failed I was in need of a tool. I found the mpt-status utility, which is a tool for monitoring LSI RAID controllers. However, the installation took some time as I got […]