Replacing a disk in a degraded array (logical drive OK)

  • 38 Views
  • Last Post 6 days ago
  • Topic Is Solved
Adam Reece posted this 2 weeks ago

Hello :)

Suddenly today there as an issue with a disk in an array. It appears as dead.

The array appears as degraded, but logical drive (RAID 5) is OK.

This has happened before, and I've just swapped in another empty hard disk without issue. However this time for some reason the new disk is just appearing as unconfigured without becoming part of an array.

The unusual aspect is that the logical drive is still appearing as OK instead of degraded. It's like the controller hasn't fully worked out that there's a problem.

What can I do to add the unconfigured drive to the degraded array? Commands `rebuild`, `migrate`, and `transit` don't seem to allow this. I'd quite like this to get done quickly as I don't like that one of the other disks is in PFA status, I want to replace that one manually too.

 

`phydrv` output:

===============================================================================
PdId Model Type Capacity Location OpStatus ConfigStatus
===============================================================================
1 ST1000DM005 SATA HDD 931.32GB Encl1 Slot1 OK Ary0 SeqNo0
2 SAMSUNG HD10 SATA HDD 931.32GB Encl1 Slot2 PFA Ary0 SeqNo1
3 SAMSUNG HD10 SATA HDD 931.32GB Encl1 Slot3 OK Ary0 SeqNo2
4 WDC WD2002FF SATA HDD 1.82TB Encl1 Slot4 OK Unconfigured

 `array -v` output:

-------------------------------------------------------------------------------
DaId: 0
OperationalStatus: Degraded, PFA
Alias: Primary
PhysicalCapacity: 3.64TB               ConfigurableCapacity: 3.64TB
FreeCapacity: 0Byte                    MaxContiguousCapacity: 0Byte
AvailableRAIDLevels: 0 5 6 10 1E
PDM: Enabled                           MediaPatrol: Enabled
NumberOfPhysicalDrives: 4              NumberOfLogicalDrives: 1
NumberOfDedicatedSpares: 0

Physical Drives in the Array:
===============================================================================
SeqNo PdId CfgCapacity FreeCapacity OpStatus
===============================================================================
0     1    931.32GB    2.57MB       OK
1     2    931.32GB    2.57MB       OK, PFA
2     3    931.32GB    2.57MB       OK
3     4    931.32GB    2.57MB       Dead, Not usable

Logical Drives in the Array:
===============================================================================
LdId Alias          RAIDLevel Capacity  OpStatus
===============================================================================
0    Primary        RAID5     2.73TB    OK

Available Spares to the Array:
===============================================================================
Id  OpStatus  PdId CfgCapacity Revertible Type      DedicatedToArray
===============================================================================
No spare drive available in the array

`logdrv -v` output:

-------------------------------------------------------------------------------
LdId: 0
ArrayId: 0                             SYNCed: Yes
OperationalStatus: OK
Alias: Primary
SerialNo: 00000000000000000000000018E3FFA831670258
WWN: 2204-0001-55f2-984d               PreferredCtrlId: N/A
RAIDLevel: RAID5                       StripeSize: 64KB
Capacity: 2.73TB                       PhysicalCapacity: 3.64TB
ReadPolicy: ReadCache                  WritePolicy: WriteThru
CurrentWritePolicy: WriteThru
NumOfUsedPD: 4                         NumOfAxles: 1
SectorSize: 512Bytes                   RAID5&6Algorithm: right asymmetric (4)
TolerableNumOfDeadDrivesPerAxle: 1     ParityPace: N/A
CodecScheme: N/A

 

Thanks,

Adam

Order By: Standard | Latest | Votes
R P posted this 2 weeks ago

Hi Adam,

The data looks inconsistent. The LD status shows as OK but it should be critical.

The array status looks correct.

First, the LD should be online, if the volume is mounted it would be a good idea to copy any critical data off.

Here are a few options.

1. If you have not rebooted, please do so.

2. If the LD is not mountung, try powering down and removing PD4, it might come up with the proper status which is 'critical'

Then try rebooting with the new drive installed. A rebuild won't start while the LD is in an OK status.

The CLI command for a reboot should be..

rb -a start -d 0 -s 3 -p 4

Adam Reece posted this 2 weeks ago

Thanks for your response R P.

Looks like rebooting allowed me to proceed with the rebuild as normal. Array salvaged. :)

R P posted this 6 days ago

Hi Adam,

One more thing. PD2 is in a PFA status, most likely SMART says that the drive is failing. It would be a good idea to replace that as well.

Close