Replacing the disk in a single-drive QNAP NAS

While the bigger QNAPs with multiple drives allow replacing the internal drives with bigger and newer disks quite easily due to a process called ‘Online RAID Capacity Extension’, it is slightly more difficult with a one-bay NAS – but possible. These are the necessary steps:

  1. Fit your new (and bigger) disk into an external hard drive enclosure with USB or eSATA and connect it to your QNAP.
  2. Go to the QNAP Webinterface, select the Control Panel und move into the External Devices section. Allow it to use the new (external) drive as a Q-RAID 1 mirror of the internal drive. You will have to wait quite a while for this process to complete – mirroring approx. 1TB of data took my TS-110 more than a day.
  3. Once that process is finished, backup your settings from the device (not manually, there is an option to download them).
  4. Power the QNAP down.
  5. Disassemble the QNAP and take out the ‘old’ drive.
  6. Power up the device (yes, without connected drive!), wait a couple of minutes.
  7. Either use QNAP Finder to find your NAS’ IP address or look into your DHCP server’s lease list and point your browser to http://<IP>:8080
  8. If everything went well, you should now see your NAS complain about a missing hard drive. Solve the ‘problem’ by hot-plugging the new drive.
  9. The website should automatically update and tell you that a hard drive with QNAP signature was detected. Select to “Restore Factory Settings” and “Start” the firmware download.
  10. After ca. 10 minutes the NAS will beep 3x (long). A couple of minutes later again 1x (short). Another few minutes later there will be another short beep. About 10 minutes later the NAS will beep (long) again. Time to steer your browser to the web interface again.
  11. Login with admin/admin, open the Control Panel, goto System Settings > Backup/Restore and restore the system settings with the backup bundle you created before. When it asks you to do so, confirm that the NAS shall restart.
  12. Connect to the web interface again (which might now have a different IP, the old one) and check if everything is the way as with the old drive. If it is, sending me some special beer from your region. 😉

9 thoughts on “Replacing the disk in a single-drive QNAP NAS

  1. Thanks Justus. I’ve just used your instructions to successfully upgrade the 2TB disk in my TS-119P+ to a 4TB disk (it took 3 days for Q-RAID1 to mirror the disk!).

  2. Thanks so far, but one question comes up: What exactly do you mean by hot plugging the new disk in a single bay NAS? Connect the new disk while the NAS is still running? Then the case must remain open, right?

  3. Thank you so very much 🙂 Worked like a charm. My dumb a** inserted the old drive again and lost some time. However I was able to repeat the process and got it to work. If you were local I’d surely have sent you beer 🙂

    To answer Sven’s question – yes while NAS is up and running plug in the new drive.

  4. Hi,
    many thanks for your list. I have a 112 with an internal 2TB drive, which I want to upgrade to 4TB. I connected the 4TB drive via eSATA to the 112 and now I am in step 2. The external drive did the syncing for a week now. It shows a used disk space of 1.28TB, but the internal disk has an used disk space of 1.54TB. Is this correct so?

    Thomas

  5. I think you have two options:

    1. Just proceed, insert the new drive in the NAS and see if all your data is there.
    2. Verify that everything is synchronized. I do not have such a setup right now so I can just vaguely tell the steps I would try:
      1. Connect to the NAS shell through SSH
      2. Find out where your current disk is mounted in the file system and where the external disk is mounted.
      3. Use the rsync tool’s dry-run feature to verify that the data on the external disk is identical to the internal disk. The command would be somewhat like this:
        rsync -Pavh --dry-run /path/to/local/disk /path/to/external/disk

    Could you please share if one of the options works?

    Good luck,
    Justus

  6. Justus,

    Very helpful page, have a qnap 119P+ with 3TB disk, upgraded it to 6TB. Above instructions worked fine; took a while to sync the drives(4+ days).

    The nas works fire with the new disk. But when I do a badblock scanI get the below error. Any idea how to get this fixed?

    [~] # /sbin/badblocks -s /dev/sda
    /sbin/badblocks: File too large while trying to determine device size

    Regards
    Apar

  7. Thats fine I figured it out.
    Actually after step 9, the nas was not able to restore to factory settings and remained on the latest firmware(i.e 4.2.1). I just reapplied the 4.2.1 firmware again. Then started the badblock check and it worked fine.

  8. Hi Justus,

    Thanks for the post.

    I’ve tried it yesterday on my TS-119 P II (Firmware 4.2.2) but had some issues during the Q-RAID 1 mirroring. In QTS no progress in % is displayed but a message that mirroring is in process. After a while the NAS restarts, QTS web interface becomes unavailable, restarts again. Similar to https://forum.qnap.com/viewtopic.php?t=95373

    Eventually I gave up and formatted the external disk again.

    Did this happen to anybody else?

    Best Regards,
    Ingo

Leave a Reply

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