Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5492,12 +5492,8 @@
"slug": "configure-dell-perc-h200"
},
{
"label": "Configure a DELL PERC H310 RAID controller",
"slug": "configure-dell-perc-h310"
},
{
"label": "Configre a DELL PERC H700/H710/H730/H730P RAID controller",
"slug": "configure-dell-perc-h700"
"label": "Configure a DELL PERC H310/H700/H710/H730-P/LSI9361 RAID controller",
"slug": "configure-dell-perc-h310-h700-h710-h730p-lsi9361"
},
{
"label": "Configure an HP Smart Array (P222 / P410 / P420) RAID controller",
Expand Down
202 changes: 81 additions & 121 deletions pages/dedibox-hardware/how-to/configure-dell-perc-h200.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,144 +7,104 @@ content:
paragraph: This page explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox
tags: dedibox h200 raid dell perc controller
dates:
validation: 2024-08-27
validation: 2025-03-05
posted: 2021-07-16
categories:
- dedibox-servers
---

This documentation explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox.

<Macro id="requirements" />

- A Dedibox account logged into the [console](https://console.online.net)
- A [Dedibox dedicated server](https://www.scaleway.com/en/dedibox/) with a [DELL PERC H200](https://www.dell.com/support/kbdoc/en-us/000134280/perc-dell-perc-h200-and-6gbps-sas-hba-features) RAID controller

## How to install the required packages

We recommend you use the packages provided by [HWraid](http://hwraid.le-vert.net/) to configure your DELL PERC H200 RAID controller. Install them as follows:

### Debian 12 (Bookworm)

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

### Debian 11 (Bullseye)

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

### Debian 10 (Buster)

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

### Debian 9 (Stretch)

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

### Unbuntu 20.04 (Focal Fossa)

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

### Unbuntu 18.04 (Bionic Beaver)

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

### Ubuntu 16.04 (Xenial Xerus)

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

## How to check the status of the RAID controller

Run the following command to check the status of the DELL PERC H200 RAID controller:

```
sas2ircu LIST
```

An output like the following example displays:

```
## Checking the RAID controller status
To check the status of the DELL PERC H200 RAID controller, run the following command:
```bash
sas2ircu LIST
```
Output:
```
LSI Corporation SAS2 IR Configuration Utility.
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.

Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
0 SAS2008 1000h 72h 00h:01h:00h:00h 1028h 1f1dh
SAS2IRCU: Utility Completed Successfully.
```

## How to check the status of the RAID

Run the following command to check the status of the hardware RAID on your Dell PERC H200:

```
sas2ircu-status
```

It displays information about the state of the RAID array:

```
-- Controller informations --
-- ID | Model
c0 | SAS2008

-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID1 | 1907G | Okay (OKY)

-- Disks informations
-- ID | Model | Status
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)
```

## How to optimize the performance of your hardware RAID
Version 5.00.00.00 (2010.02.09)
Copyright (c) 2009 LSI Corporation. All rights reserved.

Adapter Vendor Device SubSys SubSys
Index Type ID ID Pci Address Ven ID Dev ID
----- ------------ ------ ------ ----------------- ------ ------
0 SAS2008 1000h 72h 00h:01h:00h:00h 1028h 1f1dh
SAS2IRCU: Utility Completed Successfully.
```

## Checking the RAID status
To check the status of the hardware RAID on your Dell PERC H200, run the following command:
```bash
sas2ircu-status
```
Output:
```
-- Controller informations --
-- ID | Model
c0 | SAS2008
-- Arrays informations --
-- ID | Type | Size | Status
c0u0 | RAID1 | 1907G | Okay (OKY)
-- Disks informations
-- ID | Model | Status
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)
```

## Optimizing RAID performance
For maximum performance, you can activate the cache of your SATA disks. After creating a virtual disk, the cache of SATA disks is disabled by default. Restore maximum performance by re-enabling the cache using rescue mode.

<Message type="note">
This step can be performed on Dedibox servers equipped with a DELL PERC H200 RAID controller and SATA hard disk drives.
</Message>

1. Boot your server into [rescue mode](/dedibox/how-to/use-rescue-mode/) using a 64-bit Ubuntu operating system.
2. Log into the server using the provided SSH credentials and run the following commands to re-enable the disk cache:
```sh
sudo su

echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list

apt-get update && apt-get install -y --force-yes srvadmin-base

service dataeng start

/opt/dell/srvadmin/sbin/omconfig storage vdisk action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled
```
1. Boot your server into rescue mode using a 64-bit Ubuntu operating system.
2. Log into the server using the provided SSH credentials and run the following commands to re-enable the disk cache:
```bash
sudo su
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
apt-get update && apt-get install -y --force-yes srvadmin-base
service dataeng start
/opt/dell/srvadmin/sbin/omconfig storage vdisk action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled
```

## Advanced operations
### Creating a RAID volume
To create a virtual drive in controller 0, including disks 0 and 1:
```bash
# to create a RAID0
sas2ircu 0 create raid0 max 1:0 1:1
# to create a RAID1
sas2ircu 0 create raid1 max 1:0 1:1
# to create a volume with a volume name (optional)
sas2ircu 0 create $raidtype max 1:0 1:1 my-RAID0
```

### Creating a hot spare drive
To create a hot spare drive:
```bash
# example with drive 1:1
sas2ircu 0 HOTSPARE 1:1
```

### Deleting configuration
<Message type="important">
Deleting the configuration is **DANGEROUS** and should be done with caution.
</Message>

To delete controller 0 configuration:
```bash
sas2ircu 0 delete
```

### Enabling an inactive volume
To enable an inactive volume:
```bash
sas2ircu 0 ACTIVATE $the-volume-id
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
meta:
title: How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
description: This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller on a Scaleway Dedibox
content:
h1: How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
paragraph: This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
tags: dell perc h310 raid controller dedibox
dates:
validation: 2025-03-05
posted: 2021-07-16
categories:
- dedibox-servers
---

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

<Macro id="requirements" />

- A Dedibox account logged into the [console](https://console.online.net)
- A [Dedibox dedicated server](https://www.scaleway.com/en/dedibox/) with a H310 / H700 / H710 / H730-P / LSI9361 RAID controller

## Checking the status of the RAID controller

To check the status of the RAID controller, run the following command:
```bash
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 disks

To check the health status of the disks in your RAID, run the following command:
```bash
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 RAID

To create a RAID, you will need to use the `megacli` command. The basic syntax is as follows:
```bash
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:
```bash
megacli -CfgLdAdd -r1 [32:0,32:1] -a0
```

## Deleting a RAID

To delete a RAID, you will need to use the following commands:
```bash
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.

## Troubleshooting

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.

Loading