Arrays
Unraid's storage system combines flexibility with data protection through its array and cache architecture. The array manages your primary storage with optional parity protection, while cache pools accelerate performance.
Driving principles
-
Use your largest drives for parity - Data disks can't be larger than your parity disks, so use your biggest drives for parity to avoid future expansion limits. If you use dual parity, both drives should be at least the size of your largest data disk, but they can be different sizes from each other. No disk can be larger than your smallest parity drive.
-
Save SSDs for cache pools - Unraid doesn't support TRIM/Discard for SSDs in the main array, which causes performance degradation over time. Use SSDs in cache pools or as unassigned devices instead, where these features work properly.
-
Add a cache for better write performance - A cache dramatically speeds up writes by temporarily storing data on fast drives before the Mover transfers it to the array (typically at 3:40 AM). Cached data still appears in your shares, so access feels instant while the transfer happens in the background.
-
Use a cache pool for data protection - A single cache device puts your cached data at risk until the Mover runs. Multiple devices in a cache pool provide redundancy and protect your data from cache device failures.
-
SSDs excel for apps and VMs - Applications and virtual machines benefit significantly from SSD speed. A cache pool with SSDs provides the perfect balance of speed, efficiency, and data protection for these workloads.
-
Encryption is optional - Encryption is disabled by default and requires reformatting drives (which erases data). If you need it, move data off the disk, change to an encrypted file system, format, then move data back. See How to encrypt a drive in Unraid for details. Be aware that encryption complicates data recovery if something goes wrong.
Unraid identifies disks based on their serial numbers and sizes, not the specific SATA ports they're connected to. This means you can switch drives between different SATA ports without affecting their assignments in Unraid. This feature is particularly useful for troubleshooting hardware problems, like finding a faulty port or replacing unreliable power or SATA cables.
Your array will not start if you assign or attach more devices than your license key allows.
Start/Stop the array
When your system starts up, it usually powers up the array of disks automatically. However, if you've recently changed the disk setup, such as adding a new disk, the array will remain off to allow you to check your configuration.
Keep in mind that you'll need to stop the array first to make any adjustments. Stopping it will fully stop all Docker containers and network shares, shut down or hibernate VMs, and your storage devices will be unmounted, making your data and applications inaccessible until you restart the array.
To start or stop the array:
- Click on the Main tab.
- Navigate to the Array Operation section.
- Click Start or Stop. You may need to check the box that says "Yes, I want to do this" before proceeding.
File system selection
By default, new array drives will be formatted with XFS. If you want to use ZFS or BTRFS instead, select your preferred file system from the drop-down menu.
For detailed information about file system options, see File systems.
Array operations
Unraid provides several maintenance and configuration options for your storage array. Operations include:
- Adding disks to array - Expand storage capacity
- Replacing disks in array - Upgrade or swap failed drives
- Removing disks from array - Decommission or reduce array size
- Array health and maintenance - Monitor and maintain your array
Array write modes
Unraid provides various write modes for managing array operations, each with its own pros and cons regarding speed, power consumption, and drive wear. Knowing how these modes work, along with the role of a cache drive or pool, can help you fine-tune your server to best suit your needs.
Write modes at a glance
| Write Mode | Speed (Typical) | Power usage | When drives spin up | Data protection | Best use case |
|---|---|---|---|---|---|
| Read/Modify/Write | 20–40 MB/s | Low | Only parity and target drive | Yes | Most workloads, energy savings, small writes |
| Turbo Write (Reconstruct) | 40–120 MB/s | High | All drives | Yes | Large file transfers, array rebuilds, parity checks |
| Cache Write (SSD/NVMe) | 50–110 MB/s (SSD), 250–900 MB/s (NVMe)* | Varies | Cache drives only | No (until moved) | Apps, VMs, frequent writes, maximizing speed |
Read/Modify/Write
This is the default write mode. It reads the existing data and the parity, calculates the new parity, and then writes the updated data. Only the parity drive and the target data drive spin up, which results in lower power usage and less wear on the drives. However, it can be slower due to the additional read/write cycles.
Use this mode anytime, especially if you want energy savings and idle drives to spin down. It's great for small or infrequent writes.