How to configure the DELL PERC H310 RAID controller
Reviewed on 26 August 2024 • Published on 16 July 2021
Before you startLink to this anchor
To complete the actions presented below, you must have:
- A Dedibox account logged into the console
- A Dedibox dedicated server with a DELL PERC H310 RAID controller
How to install the required packagesLink to this anchor
We recommend you use the packages provided by HWraid to configure your DELL PERC H310 RAID controller. Install them as follows:
Debian 12 (Bookworm)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Debian 11 (Bullseye)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Debian 10 (Buster)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/debian buster main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Debian 9 (Stretch)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/debian stretch main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Unbuntu 20.04 (Focal Fossa)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/ubuntu focal main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Unbuntu 18.04 (Bionic Beaver)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/ubuntu bionic main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
Ubuntu 16.04 (Xenial Xerus)Link to this anchor
sudo echo "deb http://hwraid.le-vert.net/ubuntu xenial main" >> /etc/apt/sources.listsudo apt updatesudo apt install megaclisas-status
How to check the status of the RAID controllerLink to this anchor
Run the following command to check the status of the DELL PERC H310 RAID controller:
megaclisas-status
An output like the following example displays:
-- Controller information ---- ID | Modelc0 | PERC H310 Mini-- Arrays informations ---- ID | Type | Size | Status | InProgressc0u0 | RAID0 | 2728G | Optimal | Nonec0u1 | RAID0 | 2728G | Optimal | None-- Disks informations-- ID | Model | Statusc0u0p0 | SEAGATE ST3000NM0023 GS0FZ1Y25K8M | Online, Spun Upc0u1p0 | SEAGATE ST3000NM0023 GS0FZ1Y25L0X | Online, Spun Up
How to check the status of the disksLink to this anchor
Run the following command to check the health status of the disks in your RAID:
DEVICE=/dev/sdafor i in $(megacli -pdlist -a0 | grep Id | cut -d":" -f2); doecho "============================== $i =============================="smartctl -s on -a -d megaraid,${i} ${DEVICE} -T permissivedone
Was this page helpful?