Skip to content

Commit 00d7d40

Browse files
committed
Proofreading & duplication
1 parent dcd7f62 commit 00d7d40

File tree

15 files changed

+488
-493
lines changed

15 files changed

+488
-493
lines changed

pages/bare_metal_cloud/dedicated_servers/raid_hard/guide.de-de.md

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Managing hardware RAID (EN)
33
excerpt: Find out how to verify the state of your hardware RAID and the health of your hard drives
4-
updated: 2023-08-21
4+
updated: 2025-03-19
55
---
66

77
## Objective
@@ -26,7 +26,7 @@ On a server with a hardware RAID configuration, the RAID array is managed by a p
2626

2727
Prior to verifying your RAID state, verify that you have a MegaRaid controller:
2828

29-
```sh
29+
```console
3030
lspci | grep -i lsi | grep -i megaraid
3131
03:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
3232
```
@@ -35,7 +35,7 @@ This confirms the server has a MegaRaid controller installed.
3535

3636
To gather and list available RAID arrays, you can use the MegaCli command:
3737

38-
```sh
38+
```console
3939
MegaCli -LDInfo -Lall -aALL (Or : storcli /c0 /vall show)
4040
Adapter 0 - Virtual Drive Information:
4141
Virtual Drive: 0 (Target Id: 0)
@@ -88,7 +88,7 @@ If the RAID status is "Degraded", we recommend that you verify the hard drive's
8888

8989
First, you must list the device Id for each drive in order to fully test them with smartmontools:
9090

91-
```sh
91+
```console
9292
MegaCli -PDList -aAll | egrep 'Slot\ Number|Device\ Id|Inquiry\ Data|Raw|Firmware\ state' | sed 's/Slot/\nSlot/g' (Or : storcli /c0 /eall /sall show)
9393
9494
Slot Number: 0
@@ -118,7 +118,7 @@ Inquiry Data: PN2234P8JYP59YHGST HUS724030ALA640 MF8OAA
118118

119119
With smartmontools' smartctl command, we will test each hard drive like this:
120120

121-
```sh
121+
```bash
122122
smartctl -d megaraid,N -a /dev/sdX
123123
```
124124

@@ -128,16 +128,17 @@ In this example, **/dev/sda** is the first RAID, and **/dev/sdb** is the second.
128128
>
129129
> In some situations, you may receive this output:
130130
>
131-
> ```
131+
> ```console
132132
> /dev/sda [megaraid_disk_00] [SAT]: Device open changed type from 'megaraid' to 'sat'
133133
> ```
134134
>
135135
> You must then replace megaraid with sat+megaraid:
136136
>
137-
> ```
137+
> ```bash
138138
> smartctl -d sat+megaraid,N -a /dev/sdX
139139
> ```
140140
141+
<!-- markdownlint-disable-next-line MD028 -->
141142
> [!warning]
142143
>
143144
> If one of your hard drives is showing SMART errors, you should perform a full backup of your data as soon as possible and contact our support team. Our support team will need the slot number and device ID in order to identify the faulty disk.
@@ -147,13 +148,13 @@ In this example, **/dev/sda** is the first RAID, and **/dev/sdb** is the second.
147148
148149
To make sure, your RAID controller is working correctly, you can list all information with
149150
150-
```sh
151+
```bash
151152
MegaCli -AdpAllInfo -aALL
152153
```
153154
154155
The most important section of the output is the error counter:
155156

156-
```none
157+
```console
157158
Error Counters
158159
================
159160
Memory Correctable Errors : 0
@@ -164,7 +165,7 @@ If the counted errors are more than zero, you should create a backup of your dat
164165

165166
For a succinct output of only the error counters, the command can be expanded by a grep:
166167

167-
```sh
168+
```console
168169
MegaCli -AdpAllInfo -aALL | grep "Errors"
169170
Memory Correctable Errors : 0
170171
Memory Uncorrectable Errors : 0
@@ -174,7 +175,7 @@ Memory Uncorrectable Errors : 0
174175

175176
If you had one or more hard drives replaced, the RAID will re-synchronise automatically. You can use this command to see which hard drives are currently rebuilding:
176177

177-
```sh
178+
```console
178179
MegaCli -PDList -aAll | egrep 'Slot\ Number|Device\ Id|Inquiry\ Data|Raw|Firmware\ state' | sed 's/Slot/\nSlot/g' (Or : storcli /c0 /eall /sall show)
179180
180181
Slot Number: 0
@@ -204,7 +205,7 @@ Inquiry Data: PN2234P8JYP59YHGST HUS724030ALA640 MF8OAA
204205

205206
To monitor the progress of the rebuild operation, you can use this command:
206207

207-
```sh
208+
```bash
208209
MegaCli -PDRbld -ShowProg -PhysDrv [EncID:SlotID] -aALL (Or : storcli /c0/eEncID/sSlotID show rebuild)
209210
```
210211

@@ -219,33 +220,38 @@ The command will retrieve the enclosure ID and slot ID, as shown above.
219220
220221
To verify the CacheCade's configuration, use the following command:
221222

222-
```sh
223+
```bash
223224
MegaCli -CfgCacheCadeDsply -a0 (Or : storcli /c0 /dall show cachecade)
224225
```
225226

226227
To see which RAID array is associated with the CacheCade:
227228

228-
```sh
229+
```bash
229230
MegaCli -CfgCacheCadeDsply -a0 | grep "Associated LDs"
230231
```
231232

232233
#### Step 5b: Checking the status of the backup battery unit
233234

234235
to receive a full list of status parameters for the BBU, use this command:
235236

236-
```sh
237+
```bash
237238
MegaCli -AdpBbuCmd -aALL
238239
```
239240

240241
the most important value to check is if `Battery State` is **Optimal**. If there are indicators of a failing battery, create a backup of your data and provide the outpout of this command to the support, when creating the Ticket.
241242

242243
### Using the LSI RAID controller
243244

245+
> [!warning]
246+
>
247+
> This RAID controller card is deprecated and no longer available for new servers. It is gradually replaced by MegaRaid controllers.
248+
>
249+
244250
#### Step 1: Retrieve RAID information
245251

246252
Prior to verifying the RAID state, ensure that an LSI RAID controller card is installed with the following command:
247253

248-
```sh
254+
```console
249255
lspci | grep -i lsi | grep -v megaraid
250256
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2004 PCI-Express Fusion-MPT SAS-2 [Spitfire] (rev 03)
251257
```
@@ -264,7 +270,7 @@ To gather and list available RAID arrays, you can use the lsiutil command:
264270
> Caution, the values (1,0 21) may differ depending on the version. Be very careful when handling this type of control.
265271
>
266272
267-
```sh
273+
```console
268274
lsiutil -p1 -a 1,0 21
269275
270276
LSI Logic MPT Configuration Utility, Version 1.63-OVH (27a4f9f54c)
@@ -302,7 +308,7 @@ If the RAID status is "Degraded", we recommend that you verify the hard drive's
302308

303309
To take a look at the hard drive's state from the RAID controller, you can use this command:
304310

305-
```sh
311+
```console
306312
lsiutil -p1 -a 2,0 21
307313
308314
LSI Logic MPT Configuration Utility, Version 1.63-OVH (27a4f9f54c)
@@ -335,39 +341,32 @@ Since the LSI card uses sg-map, we must test the /dev/sgX (X being the device nu
335341

336342
Here's how to list them:
337343

338-
```sh
344+
```console
339345
cat /proc/scsi/scsi | grep Vendor
340346
Vendor: LSI Model: Logical Volume Rev: 3000
341347
Vendor: ATA Model: HGST HUS724020AL Rev: AA70
342348
Vendor: ATA Model: HGST HUS724020AL Rev: AA70
343349
```
344350

345-
> [!primary]
346-
>
347-
> Each line represents a sg device, which is mapped according to the order of the device shown
348-
> here.
349-
>
350-
> Example:
351-
>
352-
> ```
353-
> Vendor: LSI Model: Logical Volume Rev: 3000 => /dev/sg0
354-
>
355-
> Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg1
356-
> Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg2
357-
> ```
358-
>
351+
Each line represents an sg device, which is mapped according to the order of the device shown here:
352+
353+
```console
354+
Vendor: LSI Model: Logical Volume Rev: 3000 => /dev/sg0
355+
Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg1
356+
Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg2
357+
```
359358

360359
In order to list the right devices within one command, use the following:
361360

362-
```sh
361+
```console
363362
cat /proc/scsi/scsi | grep Vendor | nl -v 0 | sed 's/^/\/dev\/sg/' | grep -v LSI | cut -d ' ' -f1,6 | sed 's/sg\ /sg/' | sed 's/\/dev\/sg.\ /\/dev\/sg/'
364363
/dev/sg1
365364
/dev/sg2
366365
```
367366

368367
With smartmontools' smartctl command, we will test each hard drive, as shown below:
369368

370-
```sh
369+
```bash
371370
smartctl -a /dev/sgX
372371
```
373372

@@ -387,7 +386,7 @@ If you had one or more hard drives replaced, the RAID will re-synchronise automa
387386
> Caution, the values (3,0 21) may differ depending on the version. Be very careful when handling this type of control.
388387
>
389388
390-
```sh
389+
```console
391390
lsiutil -p1 -a 3,0 21
392391
393392
LSI Logic MPT Configuration Utility, Version 1.63-OVH (27a4f9f54c)
@@ -417,7 +416,7 @@ RAID actions menu, select an option: [1-99 or e/p/w or 0 to quit] 0
417416

418417
> [!alert]
419418
>
420-
> This RAID controller card is deprecated. We highly recommend that you contact OVHcloud Support to schedule an intervention to replace the RAID controller with an LSI, as 3ware RAID controllers are proven to be rather unstable. This type of intervention requires a reinstallation of your server. Be sure to backup your data first.
419+
> This RAID controller card is deprecated. We highly recommend that you contact [OVHcloud Support teams](https://help.ovhcloud.com/csm?id=csm_get_help) to schedule an intervention to replace the RAID controller with a MegaRaid controller, as 3ware RAID controllers are proven to be rather unstable. This type of intervention requires a reinstallation of your server. Be sure to backup your data first.
421420
>
422421
423422
## Go further

0 commit comments

Comments
 (0)