How To Replace A Drive In A NAS

Computing Sign in to your XDA account A Network-Attached Storage (NAS) system is one of the best means to back up data. Sadly, even the best NAS setups are susceptible … Read more

Taylor Bell

Taylor Bell

Published on Jun 24, 2024

How To Replace A Drive In A NAS
Computing

4

Sign in to your XDA account

A Seagate IronWolf NAS 4TB hard drive kept next to a WD Blue 500GB hard drive

A Network-Attached Storage (NAS) system is one of the best means to back up data. Sadly, even the best NAS setups are susceptible to unforeseen errors like running out of space mid-operation or sudden drive failures. In such events, your best bet is to manually remove the old HDD and slot in a brand-new one.

If you’re unfamiliar with NAS setups and aren’t sure how you should go about replacing the drives, read on for everything you need to know to complete the process safely.

A picture of the TerraMaster F2-223

Related

Beginner’s guide to NAS: Everything to know about RAID, setup, and more

NAS devices are a convenient solution to all your backup and file sharing troubles. Here’s how you can configure your personal NAS server.

I’ve used TrueNAS Core for this guide, but the overall procedure should be the same for most NAS systems, including pre-built setups.

Choosing the replacement driveA person holding a Seagate IronWolf NAS HDD

Before you order a new hard drive, you should ensure it has the same or greater capacity than the one you plan to remove. A typical NAS system won’t accept a lower-capacity drive unless you rebuild the entire array from scratch, which can take more than a couple of days.

If you’re using your NAS for anything other than archiving old data that you won’t update in a while, you should stick to CMR drives and avoid choosing an SMR HDD. Although SMR drives are relatively cheaper than their CMR counterparts, their low write speeds make them terrible for workflows where data stored on the NAS needs to be constantly updated.

  • seagate-ironwolf-pro

    Seagate IronWolf Pro

  • western-digital-wd-pro

    Western Digital WD Red Pro

    $150 $170 Save $20

How to upgrade your NAS with a higher capacity drive

If you’re running out of space on your NAS, you can copy the contents of an old HDD to a high-capacity storage drive. Keep in mind that this method will only work if the older drive is accessible from the NAS interface. So, you should skip ahead if your drive is faulty and you can’t access its contents.

Installing the new drive

Since you’re using an internal HDD, you’ll have to open the NAS to slot in the new drive.

  1. Turn off your NAS and unplug its AC power adapter.
    • If you’re using a PC as a NAS, remove the side panels to gain access to the hard drives and motherboard SATA connectors.
  2. Install the replacement drive into the mounting bracket and fasten it with the HDD screws.
    An image of a hard drive slotted into a mounting bracket

  3. Plug the SATA data and power cables into the new drive before slotting it into the NAS.
    An image of the SATA data and power connectors of an HDD

Creating a storage pool on the new drive

After you’ve plugged in the drive, it’s time to fire up the NAS and set up a new storage pool.

  1. Open the TrueNAS Web GUI on another system and sign in with your username and password.
  2. Navigate to the Pools submenu under Storage and click on the Add button.
    Head to the Pools tab under Storage and click on the Add button in the top-right corner

  3. Select the Create Pool option.
    A screenshot of TrueNAS Core with the Create Pool option highlighted

  4. Give a name to the storage pool and send the drive you want to use for the pool to the Data VDevs section.
  5. Enable the Force checkbox and tap Confirm before pressing Continue on the pop-up window.
    A screenshot depicting the Pool Manager settings in the TrueNAS CORE interface

  6. Press the Create button, check the Confirm option once again on the new window, and select Create Pool.

Replicating the files on the new drive

Finally, it’s time to copy all the data from the old drive to the new HDD using the Replication Tasks facility.

  1. Head to the Replication Tasks tab under the Tasks section and click on Add.
    A screenshot of TrueNAS Core with the Replication Tasks highlighted

  2. Click on the dropdown menu under Source Location and pick On this System.
  3. Repeat the process for the Destination Location.
  4. Select the storage pool on the old drive as the Source Location and pick the newly created storage pool as the Destination Location.
    A screenshot of TrueNAS Core with the source and destination location highlighted

  5. Click on Next.
  6. Set Run Once as the Replication Schedule and press Start Replication.
    A screenshot of TrueNAS Core highlighting the steps to initiate the drive replication task

Once the status of the replication task changes from pending to finishedall your files will become accessible on the new drive.

How to replace a faulty drive in your NAS

Although the Replication Task method is a quick way to upgrade the capacity of your NAS, it won’t work if the old drive is faulty or damaged. In this scenario, the best course of action is to set the original drive to offline mode and rebuild the array on the replacement HDD.

Switching the old drive offline

The first step in the drive replacement procedure involves changing the status of the damaged HDD from online to offline. Doing so will allow you to safely unmount the drive without losing any data.

  1. Launch the TrueNAS Web GUI or whatever GUI you have.
  2. Navigate to the Pools sub-menu under the Storage tab.
    A screenshot of the TrueNAS interface with the Pools tab highlighted

  3. Click on the Cog icon in the upper-right corner and select Status.
    A screenshot of the TrueNAS Core interface with the Pools Status setting highlighted

  4. After expanding the storage pool, click on the Three Dots next to the faulty drive and choose Offline.
    A screenshot illustrating the process to switch a drive offline in TrueNAS Core

  5. Toggle the Confirm checkbox and press Offline.
    A screenshot of the TrueNAS Core interface the offline confirmation box highlighted

Rebuilding the storage pool on the new drive

The next step involves slotting the replacement drive into the NAS. You can follow the steps I mentioned earlier to pop open the NAS and install the new HDD. Once your NAS has the replacement drive, it’s time to rebuild the storage pool via the NAS interface. To do so:

  1. Navigate to the Pool Status page.
  2. Click on the Three Dots adjacent to the Offline drive and select Replace.
    A screenshot of TrueNAS Core with the Replace option highlighted

  3. Choose the newly slotted drive as the Member disk.
    A screenshot of TrueNAS Core with the Replace Disk option highlighted

  4. Enable the Force checkbox and select Replace Disk.

Depending on the speed of the new HDD and the amount of data stored within the old drive, the resilvering process can range from a couple of hours to a few days.

Does your NAS need a replacement drive?

If you’ve followed all the steps properly, your NAS should support the new HDD and work without any hiccups. Fortunately, modern hard drives are pretty reliable, so you won’t need to repeat this procedure on a monthly or even yearly basis. So, unless your drives are a decade old, or your NAS projects involve continuous read/write tasks, you can rest assured knowing that your hard drives will hold up for quite some time.

Screenshot of File Explorer in Windows 11 with a Windows 10-style ribbon menu

Related

Partager cet article

Inscrivez-vous à notre newsletter