NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller

Reviewed on 05 March 2025Published on 16 July 2021

This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller on a Scaleway Dedibox.

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 H310 / H700 / H710 / H730-P / LSI9361 RAID controller

Checking the status of the RAID controllerLink to this anchor

To check the status of the RAID controller, run the following command:

megaclisas-status

This will display information about the controller, including the model, firmware version, and status of the arrays and disks.

Checking the status of the disksLink to this anchor

To check the health status of the disks in your RAID, run the following command:

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

This will display information about each disk, including its model, size, and status.

Creating a RAIDLink to this anchor

To create a RAID, you will need to use the megacli command. The basic syntax is as follows:

megacli -CfgLdAdd -rX [32:X] -a0

Where:

  • -rX specifies the RAID level (e.g. -r0 for RAID 0, -r1 for RAID 1, etc.)
  • [32:X] specifies the slot numbers of the disks to include in the RAID
  • -a0 specifies the adapter number (usually 0)

For example, to create a RAID 1 on two disks, you would use the following command:

megacli -CfgLdAdd -r1 [32:0,32:1] -a0

Deleting a RAIDLink to this anchor

To delete a RAID, you will need to use the following commands:

megacli -PdList -a0
megacli -LdPdInfo -a0
megacli -AdpSetProp -EnableJBOD -0 -a0
megacli -CfgLdDel -Lall -Force -a0
megacli -CfgForeign -Clear -a0

This will delete the RAID and return the disks to an unconfigured state.

TroubleshootingLink to this anchor

If you encounter any issues with your RAID, you can use the megaclisas-status command to check the status of the controller and disks. You can also use the smartctl command to check the health status of the disks.

See also
How to configure a DELL PERC H200 RAID controllerHow to configure an HP Smart Array (P222 / P410 / P420) RAID controller
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway