howto_megaraid

Megaraid

Enable megaraid for proxmox

https://hwraid.le-vert.net/wiki/DebianPackages

wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt-key add -
echo "" >> /etc/apt/sources.list
echo "# hwraidle-vert.net raid hardwares management tools" >> /etc/apt/sources.list
echo "deb http://hwraid.le-vert.net/debian buster main" >> /etc/apt/sources.list
apt-get update
apt-get install megaraid-status megacli

LSIMegaRAIDSAS

megaraidsas-status
megasasctl
megacli -AdpBbuCmd -GetBbuStatus -a0 
megacli -LDInfo -L0 -a0
megacli -LDInfo -L1 -a0
megacli -AdpAllInfo -aAll
megacli -PDList -a0 | less
megacli -LDSetProp DisDskCache -LAll -aAll
megacli -LDSetProp EnDskCache -LAll -aAll
megacli -LDInfo -Lall -aAll | grep 'Cache Policy:'
megacli -LDSetProp WT -LALL -aALL
megacli -LDSetProp WB -LALL -aALL