~/t/g/unraid $

Unraid cache unprotected by parity? Check pool redundancy

gist Check where files live and what protects them. Choose a mirror for drive-failure resilience, and keep separate backups for recovery.

contents
  1. Step 1: Check the pool’s actual protection
  2. Step 2: Separate pool redundancy from array parity
  3. Step 3: Check where each share’s files stay
  4. Step 4: Compare the cost of failure
  5. Step 5: Verify recovery before changing the pool
  6. Common questions

Unraid array parity does not protect files stored only in a cache pool. Check the pool’s redundancy and your acceptable downtime before choosing a mirror, and keep separate backups for deleted or damaged files (Unraid storage overview, backup guidance).

I run an Unraid 7.3 box with Docker containers, an array and cache pools.

Step 1: Check the pool’s actual protection

Open Main, then select the pool. Note its filesystem and inspect its protection settings:

  • BTRFS: Check Balance Status for both data and metadata profiles. For RAID1 protection, both should report RAID1.
  • ZFS: Check ZFS pool status for the device layout and health. Confirm that the data devices form mirrors rather than separate unmirrored devices.

These are the places Unraid documents for checking pool RAID levels. Pool documentation.

Two devices alone do not prove a mirror. BTRFS can use different profiles for data and metadata. RAID1 stores copies on different devices; single does not, and DUP copies on one device do not protect against that device failing. BTRFS profile documentation.

ZFS also supports several layouts. Read the whole pool topology: a mirror groups devices together, while separate top-level devices are a different arrangement. OpenZFS pool structure.

Step 2: Separate pool redundancy from array parity

A file’s current location determines which drive-failure protection applies. Pool files depend on the pool’s configuration. Array files depend on the array’s parity configuration. Moving a file changes that boundary; seeing it through a user share does not. Unraid storage overview, share documentation.

Array parity must be configured and valid to provide protection. It does not extend to pool devices. Array configuration.

A mirror keeps redundant copies of current data, so do not treat those copies as recovery from a deletion or unwanted overwrite. OpenZFS defines a mirror as identical replication across its devices, and Unraid requires separate backups for accidental deletion and ransomware. Recovering an earlier file needs a retained recovery copy. Keep a backup away from the server and at least one copy offline or inaccessible to ransomware.

Diagram branching from a file’s current location to pool redundancy or array parity.
Protection follows the file’s current location. Keep a separate backup to recover deletions or damaged data.

Step 3: Check where each share’s files stay

On Unraid 6.12 and later, inspect Primary Storage, Secondary Storage and Mover action in each share’s settings.

Primary selects the initial write location. Secondary provides another location, including overflow when the configured free-space threshold is reached. Mover action selects the transfer direction. Changing these settings does not itself move existing files. Share documentation, 6.12 storage settings.

Separate permanent pool storage from temporary incoming files:

Share Primary Secondary Mover direction Protection boundary
appdata, intended to stay on the pool Selected pool None No transfer Pool protection and separate backups
Incoming files, intended for the array Selected pool Array Pool to array Pool protection until moved; array parity afterward

For pool-only storage, verify that existing appdata files are on the intended pool. Secondary: None does not pull old files there automatically.

For incoming files, check actual placement after Mover finishes. Files can remain on the pool when they are open. Before relocating active Docker or VM data, disable the relevant services, then verify the destination before restarting them. Mover guidance.

If transfers leave too little room, see what to check when an Unraid cache fills up.

Step 4: Compare the cost of failure

Ask three questions before buying another SSD:

  1. How long can the services using this pool be unavailable?
  2. How much work could disappear between successful backups?
  3. How much effort would replacing the drive and restoring its contents take?

Pool-only appdata stays exposed to pool failure for as long as it lives there. Incoming files have a shorter exposure, but they still depend on pool protection until they move.

Choice Best fit Main tradeoff Backup need
Single SSD with backups Restore downtime and losing recent changes are acceptable One drive failure can require a full restore Back up important pool files often enough for your loss limit
Mirrored pool with backups A drive failure would interrupt services or lose valuable recent writes Extra hardware and space used for redundant copies Keep recoverable backups for deletion, damage and wider failures
Array-only storage Direct array writes meet your workload’s needs Gives up the SSD pool’s performance benefit Back up important files despite parity protection

A single-device pool has no drive-failure redundancy. A healthy two-device mirror can tolerate one member failing, but still needs repair and monitoring. Unraid pool modes, OpenZFS mirror behavior.

Estimate capacity from the actual device sizes and layout. Do not assume every uneven or multi-device pool gives exactly half its raw capacity.

Step 5: Verify recovery before changing the pool

Before a filesystem or topology change:

  1. Make a separate backup of important pool contents.
  2. Restore a sample to a separate location and check that it opens.
  3. For appdata, verify that the recovery method can restore usable application state.
  4. Record the current share settings, filesystem and pool layout.

Use Unraid appdata backup guidance to plan recovery for container data.

XFS pools are single-device pools. Moving from XFS to BTRFS or ZFS requires formatting, which erases the contents. Back up first and follow the procedure for your starting layout. Filesystem documentation.

After a pool change, wait for any required balance or resilver to finish. Recheck health and redundancy. Adding a device is not proof that the change has completed. Pool maintenance documentation.

Common questions

Does Unraid parity protect the cache?

No. Array parity protects array devices. Files stored only in a pool depend on that pool’s redundancy and separate backups.

Is one SSD enough for Unraid appdata?

Yes, if you accept restore downtime and possible loss of changes since the last backup. It provides no protection against that SSD failing.

Do two cache drives automatically mean RAID1?

No. Check the configured layout. For BTRFS, inspect both data and metadata profiles. For ZFS, inspect the topology and status.

Does Mover back up the cache?

No. Mover transfers files according to share settings. It does not keep an independent recovery copy, and it can skip open files.

Will a mirror recover deleted files?

No. Deletion affects the mirrored data too. Use a backup that retains a recoverable copy from before the deletion.

How much space will a mirrored pool have?

It depends on device sizes, filesystem and layout. Check those details before estimating usable space, especially with unequal drives or more than two devices.

../unraid/ every Unraid + Docker guide