Build Your Own NAS From an Old PC

A NAS ("Network Attached Storage") sounds like a mysterious appliance, but it's really just a computer whose only job is holding files and sharing them over your network. A Synology or QNAP box is a small, pre-built PC running storage software — if you've got an old desktop gathering dust, it can do the exact same job for the price of some hard drives. This guide assumes you've never done anything like this before.

● no prior server experience assumed

On this page

  1. What you'll need
  2. Step 1 — Choose your NAS OS
  3. Step 2 — Prepare the hardware
  4. Step 3 — Install the OS
  5. Step 4 — Set up storage
  6. Step 5 — Create a share and connect
  7. Step 6 — Optional next steps
  8. Common beginner mistakes

What you'll need

You almost certainly already have most of this. Nothing here needs to be new or fast.

ComponentBare minimumIdeally
ComputerAnything from the last ~10 years that still bootsHas a couple of free internal drive bays
RAM4 GB (OpenMediaVault)8 GB or more — TrueNAS SCALE's ZFS filesystem officially wants at least 8 GB
Storage drives2 drives, any capacity3+ drives, matching capacity — mismatched sizes waste capacity down to the smallest drive on everything except Unraid
NetworkBuilt-in Ethernet portGigabit Ethernet, connected by cable — not Wi-Fi
USB stick8 GB, for the installer (or permanently, if you choose Unraid — see below)—
UPS (battery backup)OptionalCheap insurance against a mid-write power cut corrupting the pool — a real risk, though somewhat less so on TrueNAS's copy-on-write ZFS than on OpenMediaVault or Unraid
Don't forget running costs. An old desktop left on 24/7 can draw 40–80 W, which is roughly £100–200 a year at current UK electricity prices — enough to eat into, or erase, the saving over just buying a small off-the-shelf NAS. Worth checking with a cheap plug-in power meter before you commit a PC to running non-stop.

Step 1 — Choose your NAS operating system

This is the software that turns a bare PC into a NAS. All of these do the core job (storing and sharing files) well. Your data isn't locked into a proprietary format, but switching between them later isn't a free move either — a TrueNAS ZFS pool only reads on another ZFS system, and moving between any of these generally means copying your files off, reformatting, and copying them back, which takes spare storage you probably don't have as a beginner. So it's worth a few minutes' thought now rather than "just pick one."

OSCostBest for
TrueNAS SCALEFreeThe most "proper" option — built on ZFS, a filesystem that detects silent data corruption. Slightly more technical setup than the others, and wants more RAM (see the table above).
OpenMediaVaultFreeThe simplest web interface of the free options — a good first choice if TrueNAS feels like a lot.
UnraidPaid (licence plans — check current pricing before committing)The friendliest UI, and unlike the others it lets you mix drives of completely different sizes in one pool — good if your "old PC" drives don't match. Unlike the others, it also boots permanently from the USB stick itself rather than installing to an internal drive — budget a stick you're happy to leave plugged in for good.
Windows file sharingAlready own itWorks in a pinch, but it's not really a NAS — no drive redundancy, no snapshots, and Windows updates will happily reboot your "server" mid-week. Fine for testing, not for anything you'd be upset to lose.
If you're not sure: pick OpenMediaVault. It's free and the setup wizard is the least intimidating. Just don't treat the choice as reversible on a whim — picking wrong costs you a weekend of copying files around, not your data, but it's not the one-click swap it might sound like.

Step 2 — Prepare the hardware

1

Back up or wipe what's already on the PC

The install process will erase the drive it's installed to. If there's anything on this PC you still want, copy it off first.

2

Fit your storage drives

Install as many hard drives as you have bays for. One small drive (even an old laptop SSD) can be set aside just for the OS itself, separate from the drives holding your actual files.

3

Plug in Ethernet, not Wi-Fi

A NAS depends on network speed. Wi-Fi works but is slower and less reliable for large file transfers — use a network cable if there's a router or switch anywhere nearby.

4

Flash the installer to your USB stick

Download your chosen OS's installer image (an .iso file) and write it to the USB stick with a free tool like balenaEtcher or Rufus — plain drag-and-drop copying won't make it bootable.

Step 3 — Install the OS

1

Boot from the USB stick

Restart the PC and tap the key that opens its boot menu during startup — commonly F12, F2, Esc, or Del (it's usually shown briefly on screen). Choose the USB stick instead of the internal drive.

2

Follow the installer

Point it at the small drive you set aside for the OS in Step 2 — not your storage drives, which you'll set up separately next. The wizard will ask for a hostname and an admin password; write the password down somewhere. Exception: if you're installing Unraid, there's no separate OS drive to pick — it installs to, and boots from, the USB stick itself every time the machine starts, so just leave the stick plugged in permanently.

3

Find your NAS on the network

After it reboots, the NAS will print an IP address on its own screen (something like 192.168.1.50). From any other computer's browser, go to that address to open the web admin panel — from this point on, you never need a monitor or keyboard on the NAS itself.

Step 4 — Set up storage

This is the step that scares most beginners, but the underlying idea is simple: instead of using each drive separately, you combine them into a pool that shares data across every drive in it — so if one drive dies, the others can rebuild what was lost.

The web interface will offer a few pool layouts. As a beginner with 2–3 similar-sized drives, a straightforward mirror (an exact copy kept on two drives) or a single-parity pool (one drive's worth of capacity spent on recovery data) are both reasonable starting points — the wizard will explain the trade-off in capacity for each option you pick. One thing worth knowing: with single-parity on larger drives (a few TB and up), rebuilding after a failed drive puts hours of sustained read load on your remaining drives, and a second failure during that window loses the whole pool — a mirror, or double parity if your OS offers it, is the safer choice once drives get large.

Turn on SMART monitoring and scheduled scrubs if your OS offers them (all three do), and set up email alerts for pool health. Without them, a pool that's already lost one drive and is quietly running on redundancy alone can go unnoticed for months — until a second drive fails and takes the data with it.

Important: a redundant pool protects you from a single drive failing. It does not protect you from theft, fire, flood, ransomware, or you accidentally deleting a folder — a pool is not a backup. The standard rule of thumb is "3-2-1": three copies of anything that matters, on two different kinds of storage, with one of them offsite. For a home setup that can be as simple as a second cheap drive kept at a different address, or a tool like restic or rclone pushing an encrypted copy to a cloud provider on a schedule.

Step 5 — Create a share and connect to it

1

Create a shared folder and a NAS user account

In the web admin panel, create a share (usually called an "SMB share") on top of your storage pool and give it a name, like media or backups. You'll also need to create at least one user account on the NAS itself and grant it access to the share — this account is separate from any login on your own computer, and forgetting this step is the most common reason people hit "access denied" on their first attempt.

2

Connect from Windows

Open File Explorer, type \\NAS-IP-ADDRESS\sharename into the address bar, and enter the NAS username/password you just created. Right-click it and choose "Map network drive" to make it appear as its own drive letter every time.

3

Connect from a Mac

In Finder, choose Go → Connect to Server and enter smb://NAS-IP-ADDRESS/sharename.

4

Connect from Linux

In most file managers (Nautilus, Dolphin), choose "Connect to Server" or "Other Locations" and enter smb://NAS-IP-ADDRESS/sharename the same way as on a Mac. To mount it permanently at boot instead, add a line to /etc/fstab using the cifs filesystem type.

Step 6 — Optional next steps, once you're comfortable

A NAS that just stores files is already a complete, useful project — you don't need to do any of this. But most of these operating systems can also run apps (often via Docker containers) once you want more:

Common beginner mistakes to avoid

FAQ

Can I really use any old PC, even a really old one?
Yes, as long as it can run a 64-bit operating system and has room for at least two hard drives — a decade-old office PC is plenty. It won't win any speed records, but file storage doesn't need a gaming rig; the network connection is usually the real bottleneck, not the CPU.
Do I need special NAS hard drives?
Not to get started — any hard drives you already have will work, though it's worth checking they're not SMR (shingled magnetic recording) drives, which can perform badly during a pool rebuild. NAS-rated CMR drives (like WD Red Plus or Seagate IronWolf) are built for running 24/7 and tend to last longer under constant spinning, so they're worth buying when you upgrade, but you don't need them on day one.

Free, no ads, no signup. If this saved you the cost of an off-the-shelf NAS box, a small thanks is appreciated.

Say thanks — $3