A small white network storage box on a wooden desk with three unmarked drives taken out beside it

How to wipe a NAS before you sell, recycle or replace it

A NAS (network attached storage) box often holds more personal and business data than any other device you own: years of photos, every backup of every laptop, scanned documents and saved passwords for cloud services. When you replace it, the data is on the drives, spread across them by RAID, and the unit itself is tied to your accounts. This guide works for any make, including Synology, QNAP, Asustor, TerraMaster, WD and home-built servers.

In short: migrate and check your data, unlink the NAS from cloud and remote access, run the maker’s reset to clear the unit’s settings, then take out every drive and erase each one by type: a full overwrite for hard drives, the drive’s own sanitise command for SSDs. Record each drive by serial number.

Step 1: Make a list of what is in the box

Before you change anything, note the NAS model and serial number, then for each bay: the drive model, serial number, capacity and type (hard drive, SATA SSD or M.2 NVMe SSD). Include cache SSDs, hot spares, USB backup drives plugged into the NAS, and old drives you swapped out earlier and left in a drawer. Note the RAID level and whether any volumes or shared folders are encrypted.

Step 2: Back up and migrate

  • Copy your data to the new NAS or other storage, then open a sample of files there to check it worked.
  • Remember the copies the NAS made elsewhere: cloud backups, replication to another NAS, snapshot targets and USB backup drives. Decide which to keep and which to delete or wipe.
  • If you are moving to a new unit from the same maker, use its migration tool or export the configuration first.

Step 3: Unlink accounts and remote access

Do this while the old NAS is still running, so you can reach its settings:

  1. Stop sync and cloud backup tasks. Stop them before you delete anything, or a two-way sync can delete the cloud copy too.
  2. Sign the NAS out of the maker’s cloud account and turn off its remote access relay service.
  3. Remove remote access: DDNS names, VPN profiles, and port forwarding rules on your router that point at the NAS.
  4. Revoke shared links and delete user accounts for family, staff or clients.
  5. Change any passwords and API keys the NAS stored, such as cloud storage, email and camera logins. Assume anything saved on the box could be read by whoever gets the drives.
  6. Remove or transfer any paid licences or app subscriptions tied to the unit.

Step 4: Know what the built-in reset does, and does not do

NAS makers offer several kinds of reset, and they are easy to confuse:

  • The reset button usually restores network settings or the admin password, or reinstalls the operating system. Your shared folders and files stay on the disks.
  • A factory reset with an erase all data option deletes the volumes and returns the unit to its first-time setup. That is good housekeeping, and it clears settings, accounts and keys held on the unit, but it does not state what erase technique ran on each disk, and it does not give you a per-drive result you can record. Do not treat it as a secure erase.
  • A per-drive secure erase in the storage manager is offered by some makers, for example Synology and QNAP. These are a step up, but check what technique runs (an overwrite is not enough for an SSD), that it covers the drive types you have, and that you get a clear result. Synology notes its version is not available for unhealthy drives, drives in expansion units and some SAS models.

So run the factory reset to clear the unit, then erase the drives themselves.

Step 5: RAID means every drive holds your data

  • Mirrored drives (RAID 1 and similar) each hold a full copy of everything.
  • Striped arrays with parity (RAID 5, 6, SHR, RAID-Z and similar) spread data in chunks across all drives. A single drive on its own still holds readable chunks, metadata and small files. It is not safe to wipe some drives and skip the rest.
  • Deleting the array or volume removes the map, not the data.
  • RAID controllers can hide drives. Drive-level commands often cannot reach a disk through a hardware RAID controller, so connect each drive directly.

Step 6: Erase each drive by type

Take the drives out, label each with its bay number and serial, and connect them one at a time to a computer, directly by SATA or NVMe where you can. Many USB adapters block the drive’s own erase commands.

  • Hard drives: first remove any hidden areas (HPA and DCO), or use a tool that does, then overwrite the whole disk once. One full pass is a valid Clear for everyday data. Multi-pass overwriting is a myth on modern drives. For sensitive or business data use Purge, such as ATA Sanitize overwrite.
  • SATA SSDs (including 2.5 inch cache SSDs): do not rely on overwriting, because wear levelling and spare capacity hide old data from software. Use the drive’s ATA Sanitize block erase, or crypto scramble where its conditions hold. See ATA Sanitize vs ATA Secure Erase.
  • M.2 NVMe SSDs (often used as cache): use NVMe Sanitize. NVMe Format counts only as Clear.
  • SAS drives in larger units use the SCSI equivalent, SANITIZE.
  • If a drive is not detected, reports errors or will not finish, do not record it as erased. Set it aside and have it destroyed.

The methods follow IEEE Std 2883-2022, which sets out Clear, Purge and Destruct techniques for each kind of storage, and NIST SP 800-88 Rev. 2, which covers choosing a level, checking the result and keeping records.

Step 7: Encrypted volumes and self-encrypting drives

Destroying an encryption key only counts as a proper erase if the data was encrypted from the first write and every copy of the key is gone. That includes exported key files, recovery keys saved on a laptop or in a password manager, and any key store on the unit. If you cannot be sure, erase or destroy the drives as above.

Step 8: Record each drive

Keep one line per drive: model, serial number, bay, date, method and technique (for example “single-pass overwrite” or “NVMe Sanitize”), the tool and version, the result, and where the drive went. Our free checklist includes a record table you can copy.

Using a bootable erase tool

Redkey USB is a bootable USB tool that erases supported SATA and NVMe drives connected to a compatible PC, up to 16 disks at a time, and Professional and Ultimate save a PDF report for each wipe. It does not run on the NAS itself. Take the drives out and connect them to a PC. Redkey says some RAID systems, specialist servers and proprietary storage controllers are not supported, and a disk hidden behind RAID or Intel VMD may not be seen, so connect drives directly and never assume an unseen disk has been erased.

Frequently asked questions

Does a NAS factory reset securely erase my data?

Not in a way you can rely on or record. A factory reset deletes the volumes and clears the unit’s settings, which you should still do, but it does not say what technique ran on each disk or give a per-drive result. Erase each drive separately afterwards.

Do I need to wipe every drive in a RAID array?

Yes. Mirrored drives each hold a full copy, and striped drives each hold chunks of files and metadata that can be read on their own. Erase every member, plus hot spares, cache SSDs and any drives you replaced earlier.

How should I erase the SSD cache drives?

Use the drive’s own sanitise command: ATA Sanitize for a SATA SSD or NVMe Sanitize for an M.2 NVMe drive. Overwriting an SSD is not reliable because of wear levelling and spare capacity. If sanitise is not supported or fails, destroy the drive.

Can I wipe the drives while they are still in the NAS?

Some makers offer a per-drive secure erase in their storage manager. Check what technique it runs and that it gives a clear result. Otherwise, take the drives out and erase them on a computer, connected directly rather than through a USB adapter where possible.

When should I destroy NAS drives instead of wiping them?

Destroy a drive that is not detected, shows errors, will not finish an erase, or is an SSD that does not support a sanitise command and held sensitive data. Use a reputable recycler and keep their paperwork with your own record.

Sources

Get the free Data Wipe Checklist

A simple one-page guide to clearing your computer before you sell, give away or recycle it. Plus occasional practical guides. No spam.

I agree to receive emails from Data Wipe Info. Unsubscribe any time.

Get the free Data Wipe Checklist

A simple one-page guide to clearing your computer before you sell, give away or recycle it. Plus occasional practical guides. No spam.

I agree to receive emails from Data Wipe Info. Unsubscribe any time.

Similar Posts

Leave a Reply

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