Scaleway DocumentationDedibox serversHardwareHow to
Configure a DELL PERC H310 RAID controller

Jump toUpdate content

How to configure the DELL PERC H310 RAID controller

Reviewed on 16 July 2021Published on 16 July 2021
Requirements:
  • You have an account and are logged into the Dedibox Console
  • You have a Dedibox dedicated server
  • Your Dedibox server has 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 following:

Debian 10 (Buster)

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

Debian 9 (Stretch)

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

Unbuntu 18.04 (Bionic Beaver)

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)

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 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 | 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 disks

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); do     echo "============================== $i =============================="    smartctl -s on -a -d megaraid,${i} ${DEVICE} -T permissivedone
See Also