Pivotal Knowledge Base

Follow

Hotspare Connfigured in Incorrect Slot

Environment:
DCA V2

Issue:
At some point copy back doesn't happen from the Disk in slot # 11 to the new disk (replaced disk). Hence slot # 11 will act as ready disk and replaced disk slot will change to Hotspare.

In DCA V2, Normal Hotspare Positions are Slot # 11 Adp-0 and Slot # 23 Adp-1

Resolution:
Here Physical Disk in the Slot # 7 of Adp-1 is showing as Hot Spare & Slot # 11 is showing as normal ready Drive.

[root@sdw1 ~]# CmdTool2 -pdlist -a1 | egrep "Adapter|Enclosure|Slot Number|Firmware state"
Adapter #1
...
Enclosure Device ID: 0
Slot Number: 7
Enclosure position: 1
Firmware state: Hotspare, Spun Up <------
...
Enclosure Device ID: 0
Slot Number: 11
Enclosure position: 1
Firmware state: Online, Spun Up

This might be due to the failed Copy Back from Hot Spare to the replaced Drive.

1. Manually make the Drive in Slot Number: 11 to offline (Confirm all other Drives are in Good status before doing it).
2. It will automatically start rebuilding to the hot Spare.
3. Change the Physical Drive status to Hot Spare Once the rebuild completes.

The commands used for this :
1. To make a Drive offline
CmdTool2 -PDOffline -PhysDrv [E:S] -a#

2.To check the rebuild
CmdTool2 -PDRbld -ShowProg -PhysDrv [E:S] -a#

3.To Change the Physical Drive status to Hot Spare
CmdTool2 -PDHSP -Set -PhysDrv[E:S] -a#

E --> Enclosure Device ID
S --> Slot number
# --> 0 or 1

Example :
In this example Physical Drive in the Slot # 7 in Adp-1 of sdw1 is showing as Hot Spare.

[root@sdw1 ~]# CmdTool2 -pdlist -a1 | egrep "Adapter|Enclosure|Slot Number|Firmware
state"
Adapter #1
Enclosure Device ID: 0
Slot Number: 7
Enclosure position: 1
Firmware state: Hotspare, Spun Up <------
Enclosure Device ID: 0
Slot Number: 11
Enclosure position: 1
Firmware state: Online, Spun Up

Has all Drives in this adaptor are healthy, We can manually make Physical Drive in slot number 11 to offline.

[root@sdw1 ~]# CmdTool2 -PDOffline -PhysDrv [0:11] -a1
Adapter: 1: EnclId-0 SlotId-11 state changed to OffLine.
Exit Code: 0x00
The Drive status of slot number 11 will change to Unconfigured(good), Spun Up
Enclosure Device ID: 0
Slot Number: 11
Enclosure position: 1
Firmware state: Unconfigured(good), Spun Up

Also the virtal Drive status will change to Degraded as well, Now the status of the current hot spare will change to Rebuild

Enclosure Device ID: 0
Slot Number: 7
Enclosure position: 1
Firmware state: Rebuild

We need to wait till the rebuild completes. We can check the rebuild of the of Drive using the below command.

[root@sdw1 ~]# CmdTool2 -PDRbld -ShowProg -PhysDrv [0:7] -a1
Rebuild Progress on Device at Enclosure 0, Slot 7 Completed 99% in 1 Minutes.

Once Rebuild completes change the status of the Physical Drive in the slot number 11 to Hot Spare

[root@sdw1 ~]# CmdTool2 -PDHSP -Set -PhysDrv[0:11] -a1
Adapter: 1: Set Physical Drive at EnclId-0 SlotId-11 as Hot Spare Success.

Now all the Drives are in correct positions

[root@sdw1 ~]# CmdTool2 -pdlist -a1 | egrep "Adapter|Enclosure|Slot Number|Firmware state"
Adapter #1
Enclosure Device ID: 0
Slot Number: 0
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 1
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 2
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 3
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 4
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 5
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 6
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 7
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 8
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 9
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 10
Enclosure position: 1
Firmware state: Online, Spun Up
Enclosure Device ID: 0
Slot Number: 11
Enclosure position: 1
Firmware state: Hotspare, Spun Up <----------

Comments

Powered by Zendesk