beautypg.com

HP StorageWorks Scalable File Share User Manual

Page 291

background image

Rebuilding logical drives after disk failures

9–67

When the disks have been replaced, the error messages shown above may continue to be generated; this

is because the logical drive needs to be rebuilt. You can rebuild the logical drive using the

hpacucli

utility

(on one of the servers to which the array is attached), as described here. In the example shown here, array

42 is the array where the logical drive failed and the disks have been replaced. The

ld all show

command in the

hpacucli

utility shows the status of the logical drives on the array as

Failed

. The

modify reenable

command is used to change the status of the logical drives to

OK

.

# hpacucli
HP Array Configuration Utility CLI 7.50.18.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.

=> set target controller ch=42
controller chassisname=42
=> ld all show
MSA20 at 42

array A
logicaldrive 1 (1023 MB, RAID 5, Failed)
logicaldrive 2 (1.99 TB, RAID 5, Failed)
=> ld 1 show
MSA20 at 42
logicaldrive 1
Size: 1023 MB
Fault Tolerance: RAID 5
Heads: 255
Sectors per Track: 32
Cylinders: 257
Stripe Size: 256 KB
Status: Failed
Array Accelerator: Enabled
Parity Initialization Status: Not Started
Disk Name: Unknown
Mount Points: Unknown
=> ld 1 modify reenable
Warning: Any previously existing data on the logical drive may not be valid or
recoverable. Continue? (y/n) y
=> ld 2 modify reenable
Warning: Any previously existing data on the logical drive may not be valid or
recoverable. Continue? (y/n) y
=> ld 1 show

MSA20 at 42
logicaldrive 1
Size: 1023 MB
Fault Tolerance: RAID 5
Heads: 255
Sectors per Track: 32
Cylinders: 257
Stripe Size: 256 KB
Status: Ok
Array Accelerator: Enabled
Parity Initialization Status: Not Started
Disk Name: Unknown
Mount Points: Unknown
=> ld all show
MSA20 at 42

array A
logicaldrive 1 (1023 MB, RAID 5, OK)
logicaldrive 2 (1.99 TB, RAID 5, OK)

When the logical drive has been rebuilt, it can be accessed again. There is a small possibility that you may

then be able to recover some of the original data from the LUN associated with the logical drive by using

the MPI Lustre repair utility. For information on using this utility, see Section 9.26.5.