You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paragraph: This page explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox
8
8
tags: dedibox h200 raid dell perc controller
9
9
dates:
10
-
validation: 2024-08-27
10
+
validation: 2025-03-05
11
11
posted: 2021-07-16
12
12
categories:
13
13
- dedibox-servers
14
14
---
15
15
16
+
This documentation explains how to configure the DELL PERC H200 RAID controller on a Scaleway Dedibox.
17
+
16
18
<Macroid="requirements" />
17
19
18
20
- A Dedibox account logged into the [console](https://console.online.net)
19
21
- 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
20
22
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:
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
130
61
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.
131
62
132
63
<Messagetype="note">
133
64
This step can be performed on Dedibox servers equipped with a DELL PERC H200 RAID controller and SATA hard disk drives.
134
65
</Message>
135
66
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
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.
0 commit comments