Skip to main content
cmaheu
Staff
Staff
November 11, 2020

Technical Tip: Hot swap a primary drive in a 2 drive physical appliance

  • November 11, 2020
  • 0 replies
  • 1210 views

Description

 
This article provides the steps to replace a failed drive in a 2 drive appliance (slot 0 and slot 1).  These appliances have the ability to self-heal a damaged primary or secondary drive using RAID.
This is a hot swap procedure and requires the appliance to be powered on.  Services can continue to run during this process.


Scope
Version: All

Solution

 

  1. While the appliance is running, remove the failed drive
  2. Wait 30 seconds for system to realize that the drive has been removed
  3. Insert a new drive of the same type (SATA, SAS) and size.
  4. 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