Music | FPV Drone | Reviews | Travel | MTB | DIY | Information Technology
TrueNAS 12: How to replace failed and degraded hard-drive and do server maintenance
TrueNAS 12: How to replace failed and degraded hard-drive and do server maintenance

TrueNAS 12: How to replace failed and degraded hard-drive and do server maintenance

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.

How to replace failed drive for TrueNAS system
  1. Visually inspect the drive bays on your server.
  2. Make sure you locate the correct failed hard drive. The way I do it is by comparing the serial numbers reported by TrueNAS dashboard.
  3. 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.
  4. 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.

  1. Locate the drive bay with failed drive.
  2. The drive bay consists of a metal faceplate with several holes, and a raised plastic tab on the right side.
  3. 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.

  1. 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.
  2. 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

  1. Insert the drive sled into the drive bay and slide it forward approximately 2 inches.
  2. 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.
  3. 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.
  4. 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.

  1. Log into the TrueNAS interface as a user with Admin privileges .
  2. Select the degraded pool with failed drive
  3. Replace the failed drive with new reported hard drive
  4. TrueNAS will automatically start resilvering process

Leave a Reply

Your email address will not be published. Required fields are marked *