Replace a failed disk with hpacucli on Smart Array P420i under Linux

Author:

main menu
physicaldrive 1I 1 5 failed

Servers with Smart Array P420i are relative old and the command-line interface (cli) to manage the controller is really old. To replace a failed this in such a controller the hpacucli is need to verify where the disk is located. In the example there, the server’s OS is CentOS Stream 9 and the hpacucli is manually downloaded from the official HPE site – https://downloads.linux.hpe.com/repo/mcp/centos/5.4/x86_64/9.40/hpacucli-9.40-12.0.x86_64.rpm. The RPM package is for an older CentOS, but still works faultlessly under CentOS Stream 9 (2024 year).
The command-line utility hpacucli commands presented in the article can be used as a reference how to list, view and modify Smart Array P420i configuration, logical drives, physical drive and the different output when there are failed disks (logical drives).

The current Smart Array P420i configuration is 8 disk in separated each in their own logical drive, i.e. using RAID0, because this controller does not support HBA mode, so no JBOD.

Before the physical bad disk has been replaced.

First, it is best to show all the configuration at once

This is the configuration of RAID0 – 1 logical drive consists of 1 physical drive (in this case, there are two types of disks – 6 hard drives and 2 SSD disks).

main menu
ctrl all show config

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show config
 
Smart Array P420i in Slot 0 (Embedded)    (sn: 0014380263C0140)
 
   array A (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 1 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 8001.5 GB, OK)
 
   array B (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 2 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 8001.5 GB, OK)
 
   array C (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 3 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 8001.5 GB, OK)
 
   array D (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 4 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 8001.5 GB, OK)
 
   array E (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 5 (7.3 TB, RAID 0, Failed)
 
      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SATA, 0 MB, Failed)
 
   array F (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 6 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SATA, 8001.5 GB, OK)
 
   array G (Solid State SATA, Unused Space: 0  MB)
 
 
      logicaldrive 7 (447.1 GB, RAID 0, OK)
 
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, Solid State SATA, 480.1 GB, OK)
 
   array H (Solid State SATA, Unused Space: 0  MB)
 
 
      logicaldrive 8 (447.1 GB, RAID 0, OK)
 
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, Solid State SATA, 480.1 GB, OK)
 
   Enclosure SEP (Vendor ID HP, Model Gen8 ServBP 12+2) 378 (WWID: 5001438022DAB159, Port: 1I, Box: 1)
 
   Expander 380 (WWID: 5001438022DAB140, Port: 1I, Box: 1)
 
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 379 (WWID: 50014380263C014F)
 
=>

Showing all the logical drive will also print the Failed logical drive. Note that when there is a failed logical drive, the controller wouldn’t export it to the OS (Linux), so the logical driver under Linux device interface such as /dev/sd? is not visible and nor accessible.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 ld all show
 
Smart Array P420i in Slot 0 (Embedded)
 
   array A
 
      logicaldrive 1 (7.3 TB, RAID 0, OK)
 
   array B
 
      logicaldrive 2 (7.3 TB, RAID 0, OK)
 
   array C
 
      logicaldrive 3 (7.3 TB, RAID 0, OK)
 
   array D
 
      logicaldrive 4 (7.3 TB, RAID 0, OK)
 
   array E
 
      logicaldrive 5 (7.3 TB, RAID 0, Failed)
 
   array F
 
      logicaldrive 6 (7.3 TB, RAID 0, OK)
 
   array G
 
      logicaldrive 7 (447.1 GB, RAID 0, OK)
 
   array H
 
      logicaldrive 8 (447.1 GB, RAID 0, OK)

With more details to get the unique numbers of the logical drives.
Note the missing Disk Name field in the Failed Logical Drive 5. All other logical drive in “Status: OK” have proper Disk Name fields with the Linux kernel device name – /dev/sd[?].

main menu
ctrl slot 0 ld all show detail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 ld all show detail
 
Smart Array P420i in Slot 0 (Embedded)
 
   array A
 
      Logical Drive: 1
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CBDDA1CB369D45BB40964
         Disk Name: /dev/sda
         Mount Points: None
         Logical Drive Label: 00C8EBAE0014380263C01409C7A
         Drive Type: Data
         Caching Association: None
 
   array B
 
      Logical Drive: 2
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C5302D4CFC4F1B2F36790
         Disk Name: /dev/sdb
         Mount Points: None
         Logical Drive Label: 04C8EBB30014380263C014070D5
         Drive Type: Data
         Caching Association: None
 
   array C
 
      Logical Drive: 3
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CD77F66BCF739DE6D65D1
         Disk Name: /dev/sdd
         Mount Points: None
         Logical Drive Label: 08C8EBB80014380263C01403992
         Drive Type: Data
         Caching Association: None
 
   array D
 
      Logical Drive: 4
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C8F733DAB00B0A0658882
         Disk Name: /dev/sdc
         Mount Points: None
         Logical Drive Label: 0CC8EBC10014380263C0140FE56
         Drive Type: Data
         Caching Association: None
 
   array E
 
      Logical Drive: 5
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: Failed
         Caching:  Enabled
         Unique Identifier: 600508B1001C5DB09C16D802EE4A2561
         Mount Points: None
         Logical Drive Label: 10C8EBC60014380263C0140CC23
         Drive Type: Data
         Caching Association: None
 
   array F
 
      Logical Drive: 6
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CA1DE23FE0A5C7C70C1A4
         Disk Name: /dev/sdf
         Mount Points: None
         Logical Drive Label: 14C8EBCC0014380263C0140B457
         Drive Type: Data
         Caching Association: None
 
   array G
 
      Logical Drive: 7
         Size: 447.1 GB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CE8CEDB320D35FF6DB372
         Disk Name: /dev/sde
         Mount Points: None
         Logical Drive Label: A674406D0014380263C014002D5
         Drive Type: Data
         Caching Association: None
 
   array H
 
      Logical Drive: 8
         Size: 447.1 GB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CA556701E5B0A07FD77B3
         Disk Name: /dev/sdg
         Mount Points: None
         Logical Drive Label: A67440880014380263C01403A2B
         Drive Type: Data
         Caching Association: None

Second, show a detail information for the broken disk.

List all physical disks and their status. This command shows the exact location of the bad physical disk – 1I:1:5.

main menu
ctrl slot 0 pd all show

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 pd all show
 
Smart Array P420i in Slot 0 (Embedded)
 
   array A
 
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 8001.5 GB, OK)
 
   array B
 
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 8001.5 GB, OK)
 
   array C
 
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 8001.5 GB, OK)
 
   array D
 
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 8001.5 GB, OK)
 
   array E
 
      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SATA, 0 MB, Failed)
 
   array F
 
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SATA, 8001.5 GB, OK)
 
   array G
 
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, Solid State SATA, 480.1 GB, OK)
 
   array H
 
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, Solid State SATA, 480.1 GB, OK)
 
=>

More details for the physical drive, which is in Failed state. The command shows the exact location of the failed disk and disk details such as the serial number and the capacity.

main menu
ctrl slot 0 pd 1I 1 5 show detail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 pd 1I:1:5 show detail
 
Smart Array P420i in Slot 0 (Embedded)
 
   array E
 
      physicaldrive 1I:1:5
         Port: 1I
         Box: 1
         Bay: 5
         Status: Failed
         Last Failure Reason: Hot plug start unit failed
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 0 MB
         Rotational Speed: 7200
         Firmware Revision: GX2A   
         Serial Number:         19AYK7MAFUUD
         Model: ATA     TOSHIBA MG05ACA8
         SATA NCQ Capable: False
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: Not Applicable

After the physical bad disk has been replaced by a on-site support technician in the server.

List the information for the failed logical drive.

After replacing the bad disk on bay 5, the serial number (and/or model) will be different and the status of the new disk changes from Failed to OK. This is valid only for the physical drive, not the logical drive, which in this case is RAID0. The logical drive is still in Failed state. The new drive is part of the logical Failed drive “Array E” (logical drive 5 if the user counts them and may use this number with the hpacucli commands). So there are possible two ways of recovering the disk for the OS. First, remove the failed logical device and create a new one and second, just re-enable the logical device and it will use the new disk (which is important to be in OK status.)
When executing modification commands on the logical (and physical) drives, first, always use show command to verify the correct (logical or physical) drive and then execute the modification command. In this case, first use show command on the “array E”, which is logical drive 5 in the row and then execute modification command with re-enable.

main menu
ctrl slot 0 ld 5 show

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 ld 5 show      
 
Smart Array P420i in Slot 0 (Embedded)
 
   array E
 
      Logical Drive: 5
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: Failed
         Caching:  Enabled
         Unique Identifier: 600508B1001C5DB09C16D802EE4A2561
         Mount Points: None
         Logical Drive Label: 10C8EBC60014380263C0140CC23
         Drive Type: Data
         Caching Association: None

This is the particular bad logical drive “array E”, which is number 5 in the command arguments. The status is “Failed” so proceed in modification.

Re-enable the failed logical drive to the system.

The failed logical drive will use the new and healthy disk when re-enabled for the system OS.

main menu
ctrl slot 0 ld 5 modify reenable

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl slot=0 ld 5 modify reenable 
 
Warning: Any previously existing data on the logical drive may not be valid or
         recoverable. Continue? (y/n) y
 
=> ctrl slot=0 ld 5 show          
 
Smart Array P420i in Slot 0 (Embedded)
 
   array E
 
      Logical Drive: 5
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C5DB09C16D802EE4A2561
         Disk Name: /dev/sdh
         Mount Points: None
         Logical Drive Label: 10C8EBC60014380263C0140CC23
         Drive Type: Data
         Caching Association: None

The logical drive is immediately exported in the OS – /dev/sdh.

In the dmesg, the disk is detected by the Linux kernel:
main menu
dmesg output when reenabling logical drive

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[232753.749227] hpsa 0000:02:00.0: scsi 0:0:10:0: masked Direct-Access     ATA      TOSHIBA MG06ACA8 PHYS DRV SSDSmartPathCap- En- Exp=0
[265177.637678] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[265178.365878] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304154.675948] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304161.567330] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304193.307729] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304194.877695] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304245.339664] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304253.722946] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304290.329081] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304299.802364] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304347.685965] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304361.263965] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304387.723858] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304392.089185] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304783.575728] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304791.411271] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304917.698178] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304919.815099] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304921.219084] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304929.555586] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304942.817569] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[304945.004734] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305157.786108] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305160.225306] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305161.788674] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305167.995944] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305175.366140] hpsa 0000:02:00.0: hpsa_update_device_info: LV failed, device will be skipped.
[305512.292954] hpsa 0000:02:00.0: scsi 0:1:0:4: added Direct-Access     HP       LOGICAL VOLUME   RAID-0 SSDSmartPathCap- En- Exp=1
[305512.294443] scsi 0:1:0:4: Direct-Access     HP       LOGICAL VOLUME   8.32 PQ: 0 ANSI: 5
[305512.296130] sd 0:1:0:4: [sdh] 15627987632 512-byte logical blocks: (8.00 TB/7.28 TiB)
[305512.296334] sd 0:1:0:4: Attached scsi generic sg8 type 0
[305512.296579] sd 0:1:0:4: [sdh] 4096-byte physical blocks
[305512.297377] sd 0:1:0:4: [sdh] Write Protect is off
[305512.297840] sd 0:1:0:4: [sdh] Mode Sense: 73 00 00 08
[305512.297910] sd 0:1:0:4: [sdh] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[305512.298415] sd 0:1:0:4: [sdh] Preferred minimum I/O size 1048576 bytes
[305512.298913] sd 0:1:0:4: [sdh] Optimal transfer size 1048576 bytes
[305512.319066] sd 0:1:0:4: [sdh] Attached SCSI disk

Verify all the configuration is OK

Verify all the configuration is OK with couple of commands. No Failed state should be presented for the logical or physical drives.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
[root@log1 ~]# hpacucli
HP Array Configuration Utility CLI 9.40.12.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
 
=> ctrl all show config
 
Smart Array P420i in Slot 0 (Embedded)    (sn: 0014380263C0140)
 
   array A (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 1 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 8001.5 GB, OK)
 
   array B (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 2 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 8001.5 GB, OK)
 
   array C (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 3 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 8001.5 GB, OK)
 
   array D (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 4 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 8001.5 GB, OK)
 
   array E (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 5 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:5 (port 1I:box 1:bay 5, SATA, 8001.5 GB, OK)
 
   array F (SATA, Unused Space: 0  MB)
 
 
      logicaldrive 6 (7.3 TB, RAID 0, OK)
 
      physicaldrive 1I:1:6 (port 1I:box 1:bay 6, SATA, 8001.5 GB, OK)
 
   array G (Solid State SATA, Unused Space: 0  MB)
 
 
      logicaldrive 7 (447.1 GB, RAID 0, OK)
 
      physicaldrive 1I:1:7 (port 1I:box 1:bay 7, Solid State SATA, 480.1 GB, OK)
 
   array H (Solid State SATA, Unused Space: 0  MB)
 
 
      logicaldrive 8 (447.1 GB, RAID 0, OK)
 
      physicaldrive 1I:1:8 (port 1I:box 1:bay 8, Solid State SATA, 480.1 GB, OK)
 
   Enclosure SEP (Vendor ID HP, Model Gen8 ServBP 12+2) 378 (WWID: 5001438022DAB159, Port: 1I, Box: 1)
 
   Expander 380 (WWID: 5001438022DAB140, Port: 1I, Box: 1)
 
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 379 (WWID: 50014380263C014F)
 
=> ctrl slot=0 ld all show
 
Smart Array P420i in Slot 0 (Embedded)
 
   array A
 
      logicaldrive 1 (7.3 TB, RAID 0, OK)
 
   array B
 
      logicaldrive 2 (7.3 TB, RAID 0, OK)
 
   array C
 
      logicaldrive 3 (7.3 TB, RAID 0, OK)
 
   array D
 
      logicaldrive 4 (7.3 TB, RAID 0, OK)
 
   array E
 
      logicaldrive 5 (7.3 TB, RAID 0, OK)
 
   array F
 
      logicaldrive 6 (7.3 TB, RAID 0, OK)
 
   array G
 
      logicaldrive 7 (447.1 GB, RAID 0, OK)
 
   array H
 
      logicaldrive 8 (447.1 GB, RAID 0, OK)
 
=> ctrl slot=0 ld all show detail
 
Smart Array P420i in Slot 0 (Embedded)
 
   array A
 
      Logical Drive: 1
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CBDDA1CB369D45BB40964
         Disk Name: /dev/sda
         Mount Points: None
         Logical Drive Label: 00C8EBAE0014380263C01409C7A
         Drive Type: Data
         Caching Association: None
 
   array B
 
      Logical Drive: 2
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C5302D4CFC4F1B2F36790
         Disk Name: /dev/sdb
         Mount Points: None
         Logical Drive Label: 04C8EBB30014380263C014070D5
         Drive Type: Data
         Caching Association: None
 
   array C
 
      Logical Drive: 3
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CD77F66BCF739DE6D65D1
         Disk Name: /dev/sdd
         Mount Points: None
         Logical Drive Label: 08C8EBB80014380263C01403992
         Drive Type: Data
         Caching Association: None
 
   array D
 
      Logical Drive: 4
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C8F733DAB00B0A0658882
         Disk Name: /dev/sdc
         Mount Points: None
         Logical Drive Label: 0CC8EBC10014380263C0140FE56
         Drive Type: Data
         Caching Association: None
 
   array E
 
      Logical Drive: 5
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001C5DB09C16D802EE4A2561
         Disk Name: /dev/sdh
         Mount Points: None
         Logical Drive Label: 10C8EBC60014380263C0140CC23
         Drive Type: Data
         Caching Association: None
 
   array F
 
      Logical Drive: 6
         Size: 7.3 TB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CA1DE23FE0A5C7C70C1A4
         Disk Name: /dev/sdf
         Mount Points: None
         Logical Drive Label: 14C8EBCC0014380263C0140B457
         Drive Type: Data
         Caching Association: None
 
   array G
 
      Logical Drive: 7
         Size: 447.1 GB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CE8CEDB320D35FF6DB372
         Disk Name: /dev/sde
         Mount Points: None
         Logical Drive Label: A674406D0014380263C014002D5
         Drive Type: Data
         Caching Association: None
 
   array H
 
      Logical Drive: 8
         Size: 447.1 GB
         Fault Tolerance: 0
         Heads: 255
         Sectors Per Track: 32
         Cylinders: 65535
         Strip Size: 1024 KB
         Full Stripe Size: 1024 KB
         Status: OK
         Caching:  Enabled
         Unique Identifier: 600508B1001CA556701E5B0A07FD77B3
         Disk Name: /dev/sdg
         Mount Points: None
         Logical Drive Label: A67440880014380263C01403A2B
         Drive Type: Data
         Caching Association: None
 
=> ctrl slot=0 pd 1I:1:5 show detail
 
Smart Array P420i in Slot 0 (Embedded)
 
   array E
 
      physicaldrive 1I:1:5
         Port: 1I
         Box: 1
         Bay: 5
         Status: OK
         Drive Type: Data Drive
         Interface Type: SATA
         Size: 8001.5 GB
         Rotational Speed: 7200
         Firmware Revision: 0108   
         Serial Number:         31B0A022FKRE
         Model: ATA     TOSHIBA MG06ACA8
         SATA NCQ Capable: True
         SATA NCQ Enabled: True
         Current Temperature (C): 40
         Maximum Temperature (C): 45
         PHY Count: 1
         PHY Transfer Rate: 6.0Gbps
         Drive Authentication Status: OK
         Carrier Application Version: 11
         Carrier Bootloader Version: 6
 
 
=>

Prepare the new drive in the OS for use.

Format the drive and start using it. Using the sgdisk tool is very convenient to replicate the GPT table from one of the others disks and then randomize the GUIDs to not confuse the system.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[root@log1 ~]# parted /dev/sdh
GNU Parted 3.5
Using /dev/sdh
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                               
Error: /dev/sdh: unrecognised disk label
Model: HP LOGICAL VOLUME (scsi)                                          
Disk /dev/sdh: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
(parted) q                                                               
[root@log1 ~]# sgdisk /dev/sda -R /dev/sdh
The operation has completed successfully.
[root@log1 ~]# sgdisk -G /dev/sdh
The operation has completed successfully.
[root@log1 ~]# parted /dev/sdh
GNU Parted 3.5
Using /dev/sdh
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                               
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sdh: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot
 
Number  Start   End     Size    File system  Name     Flags
 1      1049kB  3146kB  2097kB                        bios_grub
 2      3146kB  75.2GB  75.2GB                        raid
 3      75.2GB  109GB   33.8GB                        raid
 4      109GB   8002GB  7892GB               primary  raid
 
(parted) q

How to manage LSI/AVAGO controllers check out – https://ahelpme.com/tag/lsi/.

Leave a Reply

Your email address will not be published. Required fields are marked *