安装 megacli 命令
Debian Linux and LSI MegaRAID SAS – MyBlueLinux.com
https://hwraid.le-vert.net/wiki/DebianPackages
# lspci | grep RAID
01:00.0 RAID bus controller: Broadcom / LSI MegaRAID SAS 2108 [Liberator] (rev 05)
cat >> /etc/apt/sources.list.d/hwraid.list <<EOF
deb http://hwraid.le-vert.net/debian bullseye main
EOF
wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add -
apt-get install megacli megaclisas-status
# megacli -V
MegaCLI SAS RAID Management Tool Ver 8.07.14 Dec 16, 2013
(c)Copyright 2013, LSI Corporation, All Rights Reserved.
Exit Code: 0x00
安装 Storcli 命令
根据官方文档,Please keep in mind that MegaCLI has been replaced with Storcli and will no longer be maintained,所以我们需要安装 Stocli 命令;
我们使用 LSI MegaRAID SAS 9260-8i 产品,根据文档 Storcli 也支持 The 926x product line;
Downloading StorCLI for MegaRAID 9560-8i
Huawei V6 Server RAID Controller Card User Guide 07
MegaRAID 9560-8i
Go to the RAID controller card page at BROADCOM website.
On the DOWNLOADS tab page, click Management Software and Tools.
Download StorCLI of the latest version.
Decompress the downloaded package to obtain the tool packages for different OSs.