Skip to content

Instantly share code, notes, and snippets.

@csamsel
Last active May 22, 2023 03:33
Show Gist options
  • Save csamsel/1e838865497c9fe38463ad1bad814b34 to your computer and use it in GitHub Desktop.
Save csamsel/1e838865497c9fe38463ad1bad814b34 to your computer and use it in GitHub Desktop.
Switch HPE HBA H240 from raid mode to hba mode.
# So you want switch your HPE H240 controller to HBA mode for use with ESXi or UnRaid?
# online you'll find the follow command for HP controllers, like the P420i.
ssacli controller slot=0 modify hbamode=on
# For me, it was:
ssacli controller slot=255 modify raidmode=off
# while you are at it, you can also switch the power mode:
ssacli controller slot=255 modify powermode=minpower
# to verify;
ssacli controller all show detail
You can install ssacli from the HPE repos: http://downloads.linux.hpe.com/SDR//index.html
@maxbanton
Copy link

Thanks! It works!

@steppige
Copy link

steppige commented Nov 2, 2022

Hi, I would like to connect my controller to Unraid. But I didn't understand where I have to enter that command “ssacli”? On ssh ? Thanks

@csamsel
Copy link
Author

csamsel commented Nov 2, 2022

Yes in ssh. but it's probably easier to get the configuration tool ssacli installed in a real linux like ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment