NavigationContentFooter
Jump toSuggest an edit

How to configure the DELL PERC H310 RAID controller

Reviewed on 26 August 2024Published on 16 July 2021

Before you start

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 packages

We recommend you use the packages provided by HWraid to configure your DELL PERC H310 RAID controller. Install them as follows:

Debian 12 (Bookworm)

sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Debian 11 (Bullseye)

sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Debian 10 (Buster)

sudo echo "deb http://hwraid.le-vert.net/debian buster main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Debian 9 (Stretch)

sudo echo "deb http://hwraid.le-vert.net/debian stretch main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Unbuntu 20.04 (Focal Fossa)

sudo echo "deb http://hwraid.le-vert.net/ubuntu focal main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Unbuntu 18.04 (Bionic Beaver)

sudo echo "deb http://hwraid.le-vert.net/ubuntu bionic main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

Ubuntu 16.04 (Xenial Xerus)

sudo echo "deb http://hwraid.le-vert.net/ubuntu xenial main" >> /etc/apt/sources.list
sudo apt update
sudo apt install megaclisas-status

How to check the status of the RAID controller

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 | Model
c0 | PERC H310 Mini
-- Arrays informations --
-- ID | Type | Size | Status | InProgress
c0u0 | RAID0 | 2728G | Optimal | None
c0u1 | RAID0 | 2728G | Optimal | None
-- Disks informations
-- ID | Model | Status
c0u0p0 | SEAGATE ST3000NM0023 GS0FZ1Y25K8M | Online, Spun Up
c0u1p0 | SEAGATE ST3000NM0023 GS0FZ1Y25L0X | Online, Spun Up

How to check the status of the disks

Run the following command to check the health status of the disks in your RAID:

DEVICE=/dev/sda
for i in $(megacli -pdlist -a0 | grep Id | cut -d":" -f2); do
echo "============================== $i =============================="
smartctl -s on -a -d megaraid,${i} ${DEVICE} -T permissive
done
See also
How to configure a DELL PERC H200 RAID controllerHow to configre a DELL PERC H700/H710/H730/H730P RAID controller
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway