Hpacucli: Error: No controllers detected (with hpsa module in use)

If you’ve migrated to a newer kernel and a newer hpsa module is used instead of cciss, you may wonder why you’re no longer able to use hpacucli tool to see the status of your RAID device:

If your RAID controller is similar to the one below (I’ve had it in ProLiant DL180 G6):

you may want to use these instructions:

Other reported fixes:

  • try the newest hpacucli
  • use hpssacli instead of hpacucli
  • make sure "sg" module is loaded (modprobe sg)