we here assume the official release and centos6
if you want debian there’s a repo for that:
http://downloads.linux.hpe.com/SDR/repo/mcp
on workstation
grab the latest ssacli:
HPE Smart Storage Administrator (HPE SSA) CLI for Linux 64-bit https://support.hpe.com/connect/s/softwaredetails?collectionId=MTX-0cb3f808e2514d3d
4.21.7.0 Latest Oct 5, 2020
boot the machine with e.g. centos6 rescue cd, enable ssh and send the rpm over there
scp ssacli-4.21-7.0.x86_64.rpm rescue-centos:
and finally use the thing
ssacli ctrl slot=0 show
#hpssacli controller slot=0 modify hbamode=on forced ssacli ctrl slot=0 modify raidmode=off #forced
==> nope, that won’t necessarily do (not supported) - proceed with proliant-hbamode
https://github.com/RMartinOscar/ssacli
https://forum.proxmox.com/threads/hp-smart-array-p420i-hba-mode-complete-guide.142350/ ==> from sysrescue (https://www.system-rescue.org/Download/)
https://gist.github.com/mrpeardotnet/a9ce41da99936c0175600f484fa20d03
https://support.hpe.com/hpesc/public/docDisplay?docId=a00019059en_us&page=GUID-04FC831F-9E7A-4CF8-A40E-DED91B0F9DD5.html ==> pass-through by default incl unassigned