Skip to content

Commit 71c9667

Browse files
authored
feat(ddx): update docs (#4551)
1 parent 967c10f commit 71c9667

11 files changed

+181
-408
lines changed

menu/navigation.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5492,12 +5492,8 @@
54925492
"slug": "configure-dell-perc-h200"
54935493
},
54945494
{
5495-
"label": "Configure a DELL PERC H310 RAID controller",
5496-
"slug": "configure-dell-perc-h310"
5497-
},
5498-
{
5499-
"label": "Configre a DELL PERC H700/H710/H730/H730P RAID controller",
5500-
"slug": "configure-dell-perc-h700"
5495+
"label": "Configure a DELL PERC H310/H700/H710/H730-P/LSI9361 RAID controller",
5496+
"slug": "configure-dell-perc-h310-h700-h710-h730p-lsi9361"
55015497
},
55025498
{
55035499
"label": "Configure an HP Smart Array (P222 / P410 / P420) RAID controller",

pages/dedibox-hardware/how-to/configure-dell-perc-h200.mdx

Lines changed: 81 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -7,144 +7,104 @@ content:
77
paragraph: This page explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox
88
tags: dedibox h200 raid dell perc controller
99
dates:
10-
validation: 2024-08-27
10+
validation: 2025-03-05
1111
posted: 2021-07-16
1212
categories:
1313
- dedibox-servers
1414
---
1515

16+
This documentation explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox.
17+
1618
<Macro id="requirements" />
1719

1820
- A Dedibox account logged into the [console](https://console.online.net)
1921
- 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
2022

21-
## How to install the required packages
22-
23-
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:
24-
25-
### Debian 12 (Bookworm)
26-
27-
```sh
28-
sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.list
29-
sudo apt update
30-
sudo apt install sas2ircu-status
31-
```
32-
33-
### Debian 11 (Bullseye)
34-
35-
```sh
36-
sudo echo "deb http://hwraid.le-vert.net/debian bullseye main" >> /etc/apt/sources.list
37-
sudo apt update
38-
sudo apt install sas2ircu-status
39-
```
40-
41-
### Debian 10 (Buster)
42-
43-
```sh
44-
sudo echo "deb http://hwraid.le-vert.net/debian buster main" >> /etc/apt/sources.list
45-
sudo apt update
46-
sudo apt install sas2ircu-status
47-
```
48-
49-
### Debian 9 (Stretch)
50-
51-
```sh
52-
sudo echo "deb http://hwraid.le-vert.net/debian stretch main" >> /etc/apt/sources.list
53-
sudo apt update
54-
sudo apt install sas2ircu-status
55-
```
56-
57-
### Unbuntu 20.04 (Focal Fossa)
58-
59-
```sh
60-
sudo echo "deb http://hwraid.le-vert.net/ubuntu focal main" >> /etc/apt/sources.list
61-
sudo apt update
62-
sudo apt install sas2ircu-status
63-
```
64-
65-
### Unbuntu 18.04 (Bionic Beaver)
66-
67-
```sh
68-
sudo echo "deb http://hwraid.le-vert.net/ubuntu bionic main" >> /etc/apt/sources.list
69-
sudo apt update
70-
sudo apt install sas2ircu-status
71-
```
72-
73-
### Ubuntu 16.04 (Xenial Xerus)
74-
75-
```sh
76-
sudo echo "deb http://hwraid.le-vert.net/ubuntu xenial main" >> /etc/apt/sources.list
77-
sudo apt update
78-
sudo apt install sas2ircu-status
79-
```
80-
81-
## How to check the status of the RAID controller
82-
83-
Run the following command to check the status of the DELL PERC H200 RAID controller:
84-
85-
```
86-
sas2ircu LIST
87-
```
88-
89-
An output like the following example displays:
90-
91-
```
23+
## Checking the RAID controller status
24+
To check the status of the DELL PERC H200 RAID controller, run the following command:
25+
```bash
26+
sas2ircu LIST
27+
```
28+
Output:
29+
```
9230
LSI Corporation SAS2 IR Configuration Utility.
93-
Version 5.00.00.00 (2010.02.09)
94-
Copyright (c) 2009 LSI Corporation. All rights reserved.
95-
96-
Adapter Vendor Device SubSys SubSys
97-
Index Type ID ID Pci Address Ven ID Dev ID
98-
----- ------------ ------ ------ ----------------- ------ ------
99-
0 SAS2008 1000h 72h 00h:01h:00h:00h 1028h 1f1dh
100-
SAS2IRCU: Utility Completed Successfully.
101-
```
102-
103-
## How to check the status of the RAID
104-
105-
Run the following command to check the status of the hardware RAID on your Dell PERC H200:
106-
107-
```
108-
sas2ircu-status
109-
```
110-
111-
It displays information about the state of the RAID array:
112-
113-
```
114-
-- Controller informations --
115-
-- ID | Model
116-
c0 | SAS2008
117-
118-
-- Arrays informations --
119-
-- ID | Type | Size | Status
120-
c0u0 | RAID1 | 1907G | Okay (OKY)
121-
122-
-- Disks informations
123-
-- ID | Model | Status
124-
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
125-
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)
126-
```
127-
128-
## How to optimize the performance of your hardware RAID
31+
Version 5.00.00.00 (2010.02.09)
32+
Copyright (c) 2009 LSI Corporation. All rights reserved.
12933
34+
Adapter Vendor Device SubSys SubSys
35+
Index Type ID ID Pci Address Ven ID Dev ID
36+
----- ------------ ------ ------ ----------------- ------ ------
37+
0 SAS2008 1000h 72h 00h:01h:00h:00h 1028h 1f1dh
38+
SAS2IRCU: Utility Completed Successfully.
39+
```
40+
41+
## Checking the RAID status
42+
To check the status of the hardware RAID on your Dell PERC H200, run the following command:
43+
```bash
44+
sas2ircu-status
45+
```
46+
Output:
47+
```
48+
-- Controller informations --
49+
-- ID | Model
50+
c0 | SAS2008
51+
-- Arrays informations --
52+
-- ID | Type | Size | Status
53+
c0u0 | RAID1 | 1907G | Okay (OKY)
54+
-- Disks informations
55+
-- ID | Model | Status
56+
c0u0p0 | ST32000444SS (9WM3NAR0) | Optimal (OPT)
57+
c0u0p1 | ST32000444SS (9WM3MZL2) | Optimal (OPT)
58+
```
59+
60+
## Optimizing RAID performance
13061
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.
13162

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

136-
1. Boot your server into [rescue mode](/dedibox/how-to/use-rescue-mode/) using a 64-bit Ubuntu operating system.
137-
2. Log into the server using the provided SSH credentials and run the following commands to re-enable the disk cache:
138-
```sh
139-
sudo su
140-
141-
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
142-
143-
apt-get update && apt-get install -y --force-yes srvadmin-base
144-
145-
service dataeng start
146-
147-
/opt/dell/srvadmin/sbin/omconfig storage vdisk action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled
148-
```
67+
1. Boot your server into rescue mode using a 64-bit Ubuntu operating system.
68+
2. Log into the server using the provided SSH credentials and run the following commands to re-enable the disk cache:
69+
```bash
70+
sudo su
71+
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
72+
apt-get update && apt-get install -y --force-yes srvadmin-base
73+
service dataeng start
74+
/opt/dell/srvadmin/sbin/omconfig storage vdisk action=changepolicy controller=0 vdisk=0 diskcachepolicy=enabled
75+
```
76+
77+
## Advanced operations
78+
### Creating a RAID volume
79+
To create a virtual drive in controller 0, including disks 0 and 1:
80+
```bash
81+
# to create a RAID0
82+
sas2ircu 0 create raid0 max 1:0 1:1
83+
# to create a RAID1
84+
sas2ircu 0 create raid1 max 1:0 1:1
85+
# to create a volume with a volume name (optional)
86+
sas2ircu 0 create $raidtype max 1:0 1:1 my-RAID0
87+
```
88+
89+
### Creating a hot spare drive
90+
To create a hot spare drive:
91+
```bash
92+
# example with drive 1:1
93+
sas2ircu 0 HOTSPARE 1:1
94+
```
95+
96+
### Deleting configuration
97+
<Message type="important">
98+
Deleting the configuration is **DANGEROUS** and should be done with caution.
99+
</Message>
149100

101+
To delete controller 0 configuration:
102+
```bash
103+
sas2ircu 0 delete
104+
```
150105

106+
### Enabling an inactive volume
107+
To enable an inactive volume:
108+
```bash
109+
sas2ircu 0 ACTIVATE $the-volume-id
110+
```
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
meta:
3+
title: How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
4+
description: This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller on a Scaleway Dedibox
5+
content:
6+
h1: How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
7+
paragraph: This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller
8+
tags: dell perc h310 raid controller dedibox
9+
dates:
10+
validation: 2025-03-05
11+
posted: 2021-07-16
12+
categories:
13+
- dedibox-servers
14+
---
15+
16+
This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller on a Scaleway Dedibox.
17+
18+
<Macro id="requirements" />
19+
20+
- A Dedibox account logged into the [console](https://console.online.net)
21+
- A [Dedibox dedicated server](https://www.scaleway.com/en/dedibox/) with a H310 / H700 / H710 / H730-P / LSI9361 RAID controller
22+
23+
## Checking the status of the RAID controller
24+
25+
To check the status of the RAID controller, run the following command:
26+
```bash
27+
megaclisas-status
28+
```
29+
This will display information about the controller, including the model, firmware version, and status of the arrays and disks.
30+
31+
## Checking the status of the disks
32+
33+
To check the health status of the disks in your RAID, run the following command:
34+
```bash
35+
DEVICE=/dev/sda
36+
for i in $(megacli -pdlist -a0 | grep Id | cut -d":" -f2); do
37+
echo "============================== $i =============================="
38+
smartctl -s on -a -d megaraid,${i} ${DEVICE} -T permissive
39+
done
40+
```
41+
This will display information about each disk, including its model, size, and status.
42+
43+
## Creating a RAID
44+
45+
To create a RAID, you will need to use the `megacli` command. The basic syntax is as follows:
46+
```bash
47+
megacli -CfgLdAdd -rX [32:X] -a0
48+
```
49+
Where:
50+
51+
* `-rX` specifies the RAID level (e.g. `-r0` for RAID 0, `-r1` for RAID 1, etc.)
52+
* `[32:X]` specifies the slot numbers of the disks to include in the RAID
53+
* `-a0` specifies the adapter number (usually 0)
54+
55+
For example, to create a RAID 1 on two disks, you would use the following command:
56+
```bash
57+
megacli -CfgLdAdd -r1 [32:0,32:1] -a0
58+
```
59+
60+
## Deleting a RAID
61+
62+
To delete a RAID, you will need to use the following commands:
63+
```bash
64+
megacli -PdList -a0
65+
megacli -LdPdInfo -a0
66+
megacli -AdpSetProp -EnableJBOD -0 -a0
67+
megacli -CfgLdDel -Lall -Force -a0
68+
megacli -CfgForeign -Clear -a0
69+
```
70+
This will delete the RAID and return the disks to an unconfigured state.
71+
72+
## Troubleshooting
73+
74+
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.
75+

0 commit comments

Comments
 (0)