To replace a failed drive, you’ll need:
- A Replacement hard drive of the same storage space
- A small Phillips head screwdriver
- About 10 minutes or more
Locate the failed drive
Once the system alerts you to a degraded set, it’s important that you locate the failed drive properly before taking any further action. Follow the steps below and DO NOT remove any drives until you complete this process.
- Visually inspect the drive bays on your server.
- Make sure you locate the correct failed hard drive. The way I do it is by comparing the serial numbers reported by TrueNAS dashboard.
- TrueNAS reports all functional drive with serial number in that specific server. By eliminating functional drive with serial number, we can easily find the failed drive.
- It’s best practice to label your drive in your homeblab server
Removing the failed drive
I prefer powering the server down before removing the failed drive since it’s just my personal server.
- Locate the drive bay with failed drive.
- The drive bay consists of a metal faceplate with several holes, and a raised plastic tab on the right side.
- Remove the drive sled
NOTE: It is OK to leave a drive bay uncovered until the drive is replaced and the sled is reinserted.
Replacing the drive in the sled
If you have a spare drive available of the same storage space, follow the directions below to install it in the system.
- Use a small Phillips head screwdriver and remove the failed Harddrive from it’s drive sled. There are four small screws that secure it on the sides of the sled.
- Insert the spare drive onto the sled and confirm that the drive SATA/SAS connections face the rear of the drive sled. Also confirm that the drive is positioned so the rear of the drive lines up with the rear edge of the drive sled itself.
NOTE: It is possible to inadvertently secure the spare drive in the drive sled in a way that its SATA/SAS connections do not make contact with the server backplane inside the system. Make sure to visually confirm that rear edge of the drive is lined up with the rear edge of the drive sled.
Inserting the spare drive into the system
- Insert the drive sled into the drive bay and slide it forward approximately 2 inches.
- Grip far right side of the the drive sled faceplate with your fingers and firmly side the sled into the bay, allowing the faceplate to snap closed as it seats.
- Confirm that the drive sled is flush in the drive bay compared to the surrounding bays. If it is sticking out, press the plastic tab on the right to release the faceplate and try to insert it again.
- Confirm that the drive sled is secure and does not move freely once inserted.
Monitoring the resilvering process
Once a spare drive is inserted into the system and a rebuild has begun, you can monitor the progress of that rebuild through the TrueNAS Interface.
- Log into the TrueNAS interface as a user with Admin privileges .
- Select the degraded pool with failed drive
- Replace the failed drive with new reported hard drive
- TrueNAS will automatically start resilvering process