Turning a pile of old hard drives into a RAID array gives you a single, larger, and often faster storage volume that can also protect against drive failure. You take two or more drives, connect them to the same computer or NAS, and configure them to work as one unit. This guide covers the planning, physical setup, and software configuration for both Windows and Linux, plus what to do when things go wrong.
What You’ll Need
- Two or more hard drives (same capacity recommended, but not required)
- A computer with enough free SATA ports, or a USB-to-SATA adapter for external drives
- If using more drives than ports, a PCIe SATA expansion card
- If building a NAS, a compatible enclosure or a separate PC
- Software: built-in OS tools (Windows Storage Spaces, Linux mdadm) or a free utility like OpenMediaVault
- Time and patience – setup can take hours depending on drive size
Step-by-Step
- Back up any data on the drives. RAID creation will erase everything. Copy files you need to another location.
- Choose a RAID level. For most home users, RAID 1 (mirror) gives redundancy with two drives, RAID 5 (striping with parity) needs at least three drives and gives more usable space, RAID 0 (striping) gives speed but no protection. If you just want one big volume and don’t care about data loss, RAID 0 is fine.
- Check drive health. Use a tool like CrystalDiskInfo (Windows) or smartctl (Linux) to check SMART status. Discard drives with reallocated sectors or high error counts.
- Connect the drives. Install them in your PC case or external enclosure. Ensure power and data cables are firmly attached. For external drives, plug them in via USB.
- Boot your OS and identify the drives. In Windows, open Disk Management (right-click Start). In Linux, run
lsblkorfdisk -l. Note the disk numbers (e.g., Disk 1, Disk 2) or device names (e.g., /dev/sdb, /dev/sdc). - For Windows: Use Storage Spaces.
- Go to Settings > System > Storage > Advanced storage settings > Storage Spaces.
- Click “Create a storage pool” and select the drives you want to include.
- After the pool is created, click “Create a storage space” and choose a name, drive letter, and file system (NTFS or ReFS).
- Choose a resiliency type: Simple (RAID 0), Mirror (RAID 1), or Parity (RAID 5). For two drives, Mirror is the only redundancy option.
- Set the size (you can use the full pool) and click Create.
- For Linux: Use mdadm.
- Install mdadm:
sudo apt install mdadm(Debian/Ubuntu) orsudo dnf install mdadm(Fedora). - Create the array. For RAID 1 with two drives:
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc - For RAID 5 with three drives:
sudo mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb /dev/sdc /dev/sdd - Wait for the array to sync (check with
cat /proc/mdstat). - Create a filesystem:
sudo mkfs.ext4 /dev/md0 - Mount it:
sudo mount /dev/md0 /mnt/raid - To make it permanent, add an entry to /etc/fstab and save the mdadm config:
sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
- Install mdadm:
- For a NAS: Use OpenMediaVault or similar. Install the OS on a separate small drive, then use its web interface to create a RAID array from the data drives. The process is similar to the Linux steps but with a GUI.
- Verify the array. After creation, copy a few test files to the array and read them back. Check the array status (Windows: Storage Spaces shows healthy; Linux:
cat /proc/mdstatshows active).
Common Mistakes
- Using drives of vastly different capacities. The array will be limited to the smallest drive’s size in RAID 1 or 5, wasting space.
- Forgetting to back up before starting. RAID is not a backup – it protects against drive failure, not accidental deletion or malware.
- Mixing drive interfaces (SATA and USB) in the same array. This can cause performance issues and instability.
- Not checking SMART health first. A dying drive will fail during the initial sync, potentially corrupting the array.
- Choosing RAID 0 for important data. If one drive dies, you lose everything.
Tips
- Use drives from the same batch if possible, but not necessarily the same model – different models reduce the chance of simultaneous failure.
- Label each drive with its capacity and date before installing.
- For RAID 5, consider using a dedicated controller if you have many drives, but software RAID is fine for 2–4 drives.
- Monitor drive temperatures and SMART data periodically.
- If you’re using old drives, expect them to be slower than new ones. RAID 1 will not increase speed; RAID 0 will, but at risk.
- Keep a spare drive of the same size on hand for quick replacement.
Troubleshooting
- Array not recognized after reboot. In Linux, ensure /etc/mdadm/mdadm.conf is correct and run
sudo update-initramfs -u. In Windows, check that the drives are still visible in Disk Management. - Drive fails during initial sync. Replace the failed drive immediately. In Linux, remove it from the array and add a new one:
sudo mdadm --manage /dev/md0 --fail /dev/sdbthen--removeand--add. In Windows, use the Storage Spaces interface to remove and replace the drive. - Array shows as degraded. This means a drive has failed or been disconnected. Check connections, then replace the drive as above.
- Performance is poor. Check if the array is still resyncing (Linux:
cat /proc/mdstat). Also ensure drives are connected via SATA III, not USB 2.0. - Cannot see array in Windows Explorer. Go to Disk Management and assign a drive letter to the volume.
- RAID 5 won’t create with three drives. Verify all drives are recognized and have no partitions. Use
sudo wipefs -a /dev/sdbto clear them.
Frequently Asked Questions
Can I mix different drive sizes in a RAID array?
Yes, but the array will use only the smallest drive’s capacity for each member. For example, a 2TB and a 1TB drive in RAID 1 will give you 1TB of usable space. The extra space on the 2TB drive is wasted.
Is RAID a backup?
No. RAID protects against a single drive failure, but not against file corruption, accidental deletion, ransomware, or power surges. Always keep a separate backup of important files.
Can I use USB external drives for RAID?
Technically yes, but it’s not recommended. USB connections can drop, causing the array to degrade. Performance is also lower than internal SATA. If you must, use a powered USB hub and stable connections.
How long does initial RAID sync take?
It depends on drive size and speed. A 1TB drive can take several hours. You can use the array during sync, but performance will be degraded.
Can I add more drives to an existing RAID array?
For RAID 1, you can add a third drive to create a three-way mirror. For RAID 5, you can add a drive and expand the array, but this is complex and risky. It’s often easier to back up, recreate the array with more drives, and restore.
What happens if I remove a drive from a RAID 1 array?
The array becomes degraded, but data remains accessible on the remaining drive. You can replace the removed drive with a new one and rebuild the mirror.
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
- Poco C51 Airtel Prepaid Locked Variant India?
- Jenkins vs GitHub Actions: Which CI/CD Fits Your Team?
- Turn Off Backup Encryption in iTunes?
- Campus Tech Innovation Hubs: What They Are
- Shared VPS Hosting: Is It Better?
- Disk Defrag Pro: What It Does and Whether You Need It