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
With smartmontools' smartctl command, we will test each hard drive like this:
120
120
121
-
```sh
121
+
```bash
122
122
smartctl -d megaraid,N -a /dev/sdX
123
123
```
124
124
@@ -128,16 +128,17 @@ In this example, **/dev/sda** is the first RAID, and **/dev/sdb** is the second.
128
128
>
129
129
> In some situations, you may receive this output:
130
130
>
131
-
> ```
131
+
> ```console
132
132
> /dev/sda [megaraid_disk_00] [SAT]: Device open changed type from 'megaraid' to 'sat'
133
133
> ```
134
134
>
135
135
> You must then replace megaraid with sat+megaraid:
136
136
>
137
-
> ```
137
+
> ```bash
138
138
> smartctl -d sat+megaraid,N -a /dev/sdX
139
139
> ```
140
140
141
+
<!-- markdownlint-disable-next-line MD028 -->
141
142
> [!warning]
142
143
>
143
144
> 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.
147
148
148
149
To make sure, your RAID controller is working correctly, you can list all information with
149
150
150
-
```sh
151
+
```bash
151
152
MegaCli -AdpAllInfo -aALL
152
153
```
153
154
154
155
The most important section of the output is the error counter:
155
156
156
-
```none
157
+
```console
157
158
Error Counters
158
159
================
159
160
Memory Correctable Errors : 0
@@ -164,7 +165,7 @@ If the counted errors are more than zero, you should create a backup of your dat
164
165
165
166
For a succinct output of only the error counters, the command can be expanded by a grep:
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:
#### Step 5b: Checking the status of the backup battery unit
233
234
234
235
to receive a full list of status parameters for the BBU, use this command:
235
236
236
-
```sh
237
+
```bash
237
238
MegaCli -AdpBbuCmd -aALL
238
239
```
239
240
240
241
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.
241
242
242
243
### Using the LSI RAID controller
243
244
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
+
244
250
#### Step 1: Retrieve RAID information
245
251
246
252
Prior to verifying the RAID state, ensure that an LSI RAID controller card is installed with the following command:
Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg1
356
+
Vendor: ATA Model: HGST HUS724020AL Rev: AA70 => /dev/sg2
357
+
```
359
358
360
359
In order to list the right devices within one command, use the following:
361
360
362
-
```sh
361
+
```console
363
362
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/'
364
363
/dev/sg1
365
364
/dev/sg2
366
365
```
367
366
368
367
With smartmontools' smartctl command, we will test each hard drive, as shown below:
369
368
370
-
```sh
369
+
```bash
371
370
smartctl -a /dev/sgX
372
371
```
373
372
@@ -387,7 +386,7 @@ If you had one or more hard drives replaced, the RAID will re-synchronise automa
387
386
> Caution, the values (3,0 21) may differ depending on the version. Be very careful when handling this type of control.
388
387
>
389
388
390
-
```sh
389
+
```console
391
390
lsiutil -p1 -a 3,0 21
392
391
393
392
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
417
416
418
417
> [!alert]
419
418
>
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.
0 commit comments