Technical Tip: Hot swap a primary drive in a 2 drive physical appliance
Description
Scope
Version: All
Solution
- While the appliance is running, remove the failed drive
- Wait 30 seconds for system to realize that the drive has been removed
- Insert a new drive of the same type (SATA, SAS) and size.
- Log into the CLI as root and check the disk state.
> raid -ad -c=0
Controller: PERC H330 Mini
**************** Physical Drive ****************
Vendor: DELL(tm)
Model: ST1000NX0423
Protocol: SATA
Media: HDD
NegSpeed: 6144 Mbps
CapSpeed: 6144 Mbps
Certified: YES
Location: 0:0:1
Size: 953344 MB (931 GB)
Avail: 0 MB
PowerState: Spun Up
SMARTState: No Error
DiskState: Rebuild <<<<<<<<<<<<<<<<<< Indicates the disk is being rebuilt
Encryption Capable: No
Secured: Not Applicable
Sector Size: 512B
T10 Protection Info Capable: No
**************** Physical Drive ****************
Vendor: DELL(tm)
Model: ST1000NX0423
Protocol: SATA
Media: HDD
NegSpeed: 6144 Mbps
CapSpeed: 6144 Mbps
Certified: YES
Location: 0:1:1
Size: 953344 MB (931 GB)
Avail: 0 MB
PowerState: Spun Up
SMARTState: No Error
DiskState: Online
Encryption Capable: No
Secured: Not Applicable
Sector Size: 512B
T10 Protection Info Capable: No
Wait for the rebuild process to complete. This can take several hours.
Important:
Do not power down
To re-check the disk state, type:
raid -ad -c=0
The rebuild is complete when the disk state = Online
> raid -ad -c=0
Controller: PERC H330 Mini
**************** Physical Drive ****************
Vendor: DELL(tm)
Model: ST1000NX0443
Protocol: SATA
Media: HDD
NegSpeed: 6144 Mbps
CapSpeed: 6144 Mbps
Certified: YES
Location: 0:0:1
Size: 953344 MB (931 GB)
Avail: 0 MB
PowerState: Spun Up
SMARTState: No Error
DiskState: Online <<<<<<<<<<<Indicates the disk has been rebuilt and is online
Encryption Capable: No
Secured: Not Applicable
Sector Size: 512B
T10 Protection Info Capable: No
**************** Physical Drive ****************
Vendor: DELL(tm)
Model: ST1000NX0423
Protocol: SATA
Media: HDD
NegSpeed: 6144 Mbps
CapSpeed: 6144 Mbps
Certified: YES
Location: 0:1:1
Size: 953344 MB (931 GB)
Avail: 0 MB
PowerState: Spun Up
SMARTState: No Error
DiskState: Online
Encryption Capable: No
Secured: Not Applicable
Sector Size: 512B
T10 Protection Info Capable: No
If validation is required, remove one of the drives and reboot. If the appliance reboots without any issue, then the drive repair has been successful.
Related article:
Technical Tip: Blinking LEDs or disk state failed on physical appliance
