dell
perccli
download from https://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverid=f48c2
cd /opt
tar xvf perccli_7.1-007.0127_linux.tar.gz
cd Linux
sudo apt-get install alien
alien -k perccli-007.0127.0000.0000-1.noarch.rpm
dpkg -i perccli_007.0127.0000.0000-1_all.deb
megaraid
Install on Ubuntu 22.04
apt install libncurses5 curl -L "https://github.com/matveynator/sysadminscripts/raw/main/debian/megacli_8.07.14-2_all.deb" > \ /tmp/megacli_8.07.14-2_all.deb; dpkg -i /tmp/megacli_8.07.14-2_all.deb; ln -s /opt/MegaRAID/MegaCli/MegaCli64 /usr/bin/megacli
vecchie macchine
vedere https://blog.frehi.be/2011/09/12/megacli-useful-commands/
apt install -y gnupg
wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -
echo "deb http://hwraid.le-vert.net/ubuntu xenial main" | sudo tee -a /etc/apt/sources.list.d/hwraid.list
apt update
apt install -y megacli
raid controller log
megacli -FwTermLog -Dsply -aALL > raid_log.txt
summary
megacli -ShowSummary -aALL | less
show failed disks
megacli -ShowSummary -aALL | grep State megacli -AdpEventLog -GetEvents -critical -a0
# Info Battery
megacli -AdpBbuCmd -aALL
SSD settings
- disable read ahead on read cache
- enable write through on write
upgrade firmware Perc
add-apt-repository universe apt-get update apt install -y rpm wget https://downloads.dell.com/FOLDER01002136M/1/SAS-RAID_Firmware_F96NR_LN_6.3.3-0002_X00.BIN bash SAS-RAID_Firmware_F96NR_LN_6.3.3-0002_X00.BIN --extract perc6e_fw megacli -adpfwflash -f perc6e_fw/payload/FW1371iI.rom -aAll
upgrade firmware BIOS
wget https://downloads.dell.com/FOLDER05012856M/1/BIOS_0F4YY_LN_6.6.0.BIN
chmod +x BIOS_0F4YY_LN_6.6.0.BIN
./BIOS_0F4YY_LN_6.6.0.BIN