keepcalculator

06 Numbers and Powers

NAS Server From Old Devices: Repurpose Guide

Card No. 06·74243 · Updated · Standard formula, shown below

You can repurpose almost any always-on computer with network access into a NAS (Network Attached Storage) server, including old desktops, laptops, mini PCs, and even single-board computers like the Raspberry Pi. The key requirements are a working CPU, enough RAM, at least one storage drive, and a network connection. This guide covers the most practical devices to convert, what software to use, and the trade-offs of each approach.

What Makes a Device Suitable for NAS Duty

A NAS server’s job is to store files, share them over the network, and run services like backups, media streaming, or torrent downloads. For that, the device needs:

  • Network connectivity: Gigabit Ethernet is strongly preferred; Wi-Fi is possible but slower and less reliable for constant file transfers.
  • Storage interface: SATA ports for internal drives or USB ports for external drives. More bays/ports mean more storage capacity.
  • Processing power: Even a 10-year-old dual-core CPU is enough for basic file sharing. Transcoding video or running many Docker containers needs a faster CPU.
  • RAM: 2 GB is the practical minimum for a basic NAS OS; 4–8 GB is comfortable for multiple services.
  • Power efficiency: A device that runs 24/7 will add to your electricity bill. Older desktop PCs can draw 50–100 W, while a Raspberry Pi draws under 10 W.

Old Desktop PCs and Laptops

An old desktop is the most common starting point. It has SATA ports, a PCIe slot for adding more drives, and enough CPU power for most home NAS tasks. The downsides are size, noise, and power consumption. A laptop is more compact and has a built-in battery that can act as a small UPS, but it usually has only one or two drive bays and limited SATA ports. Both can run a dedicated NAS operating system (like TrueNAS, OpenMediaVault, or Unraid) or a general-purpose Linux distribution with Samba. If you choose a desktop, consider removing the GPU and any unused components to save power.

Mini PCs and Thin Clients

Mini PCs (like Intel NUCs or HP EliteDesk Minis) and thin clients are excellent NAS candidates because they are small, quiet, and often have low-power CPUs. Many have an M.2 slot for a boot drive and a 2.5-inch SATA bay for storage. Some models support two drives, which allows for a mirrored RAID setup. The main limitation is the number of drive bays, so you might need to use USB external drives for additional capacity. Thin clients are often very cheap on the used market and draw only 10–20 W, making them a cost-effective choice for a simple file server.

Single-Board Computers (Raspberry Pi and Similar)

The Raspberry Pi 4 and 5 are popular for DIY NAS projects. They have Gigabit Ethernet, USB 3.0 ports, and can run OpenMediaVault or a simple Samba setup. The Pi 5 is significantly faster than the Pi 4 and can handle basic media streaming. The biggest limitation is that storage is attached via USB, which is less reliable than native SATA and can be a bottleneck if you use multiple drives. Also, the Pi’s Ethernet and USB share the same bus on the Pi 4, so you won’t get full Gigabit speeds. The Pi 5 improved this, but it’s still not a true NAS platform. For a low-cost, low-power file server with a single drive, a Pi is fine; for heavy multi-drive use, look elsewhere.

Software Choices for Your Repurposed NAS

The software you install determines the features and ease of use. Here are the main options:

  • TrueNAS (formerly FreeNAS): A full-featured NAS OS with ZFS file system, snapshots, and plugins. Requires at least 8 GB of RAM and a 64-bit CPU. Best for users who want enterprise-grade features.
  • OpenMediaVault (OMV): A Debian-based NAS OS that is lightweight and easy to use. Runs well on 2 GB of RAM and supports plugins for Docker, Nextcloud, and more. Great for beginners.
  • Unraid: A paid OS that allows mixing different drive sizes and adding drives easily. Has a large app store and is very user-friendly. The license cost is a consideration.
  • Plain Linux (Ubuntu Server, Debian): Install Samba (for Windows sharing), NFS (for Linux/macOS), and optionally Docker for apps. Gives you full control but requires more manual configuration.
  • Windows or macOS: You can simply share folders on an old PC running Windows or macOS. This is the easiest but least efficient and secure option.

How to Choose the Right Device

Start by deciding what you need the NAS for. If it’s just file storage and backups, an old laptop or a Raspberry Pi will work. If you want to run Plex Media Server, a mini PC with a modern Intel CPU (with Quick Sync) is better. If you plan to store many drives in a RAID array, a full desktop with multiple SATA ports is the most practical. Also consider your electricity cost and noise tolerance. A device that runs 24/7 will consume about 0.5–1 kWh per day for a typical desktop, which adds up over a year. A low-power SBC or mini PC will cost a fraction of that.

Common Problems and How to Avoid Them

  • Data loss: A single drive can fail at any time. Use RAID 1 (mirroring) or a backup strategy to protect important files.
  • Slow transfer speeds: Check that your network cables and switch support Gigabit. Also, if you’re using a Raspberry Pi 4, expect around 110 MB/s max, but often less in practice.
  • Overheating: Old desktops and laptops may have dusty fans. Clean them out and ensure good airflow, especially if the device is in a closet.
  • Power outages: A sudden shutdown can corrupt data. Use a UPS (uninterruptible power supply) or at least a laptop with a battery to allow a graceful shutdown.

Costs and Power Consumption

The main cost is the storage drives themselves. Used enterprise drives can be cheap but have unknown wear. New drives are safer but cost more. The device itself is often free if you already have it. Power consumption varies widely: a Raspberry Pi 4 uses about 5–10 W, a mini PC 10–25 W, a laptop 15–45 W, and a full desktop 50–150 W. Over a year, a 50 W device running 24/7 consumes about 438 kWh, which at $0.15/kWh is about $65. A 10 W device costs about $13 per year. The difference is worth considering.

Safety and Data Protection

When repurposing a device, always wipe the old hard drive before using it for your NAS, especially if it came from a computer you no longer trust. Use a secure erase method (like DBAN or the built-in option in TrueNAS) to prevent data recovery. Also, ensure the device is on a stable power source and consider a surge protector. For data integrity, use a file system that checksums (ZFS) or at least enable SMART monitoring on your drives to catch failures early. Finally, never rely on a single drive for important data—always have a backup, either on another device or in the cloud.

Frequently Asked Questions

Can I use a Raspberry Pi as a NAS?

Yes, a Raspberry Pi 4 or 5 can work as a basic NAS for file sharing and backups. It’s low-power and cheap, but the USB-attached drives and shared bus limit performance and reliability. It’s fine for a single user or small home setup, but not for heavy multi-user access or large RAID arrays.

How much RAM do I need for a NAS?

For a basic file server with Samba, 2 GB is enough. If you run Docker containers, Nextcloud, or Plex, 4–8 GB is recommended. TrueNAS with ZFS requires at least 8 GB, and more RAM is better for deduplication and caching.

Can I use a laptop as a NAS?

Yes, a laptop works well for a low-power NAS. It has a built-in battery that can act as a UPS, and it’s quiet and compact. The main limitation is that most laptops only have one or two drive bays, so you’ll likely use USB external drives for additional storage.

Is it cheaper to buy a NAS or repurpose an old PC?

If you already have an old PC, repurposing it is cheaper upfront. However, consider the electricity cost over time—a dedicated NAS like a Synology or QNAP is designed to be power-efficient and may pay for itself in energy savings within a few years, especially if you run it 24/7.

What is the best free NAS software?

OpenMediaVault is a great free option for beginners, while TrueNAS is more powerful but requires more RAM. Both are open-source and actively maintained. Unraid is paid but offers a more user-friendly experience with mixed drive sizes.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →