Array health and maintenance
Regularly checking your Unraid array is crucial for maintaining data integrity and identifying potential issues before they result in data loss. This page covers monitoring tools and troubleshooting procedures for your array.
Checking array devices
You can initiate a check using the Check button under Array Operations. Depending on your array's configuration, this button allows you to conduct either a parity check or a read check.
For convenience, you can schedule these checks to run automatically at intervals that suit you by navigating to Settings → Scheduler. It's advisable to perform automated, correcting checks on a monthly or quarterly basis to ensure the ongoing health of your data and fix any sync errors found.
Parity checks
A parity check is essential when your array includes at least one assigned parity device. During this process, all data disks are read simultaneously. The system recalculates the parity and compares it to the information stored on your parity disk(s).
In-depth: Parity sync vs. Parity check - What's the difference? - Click to expand/collapse
A parity sync reads all data disks and creates parity from scratch, saving the results on the parity drives. This process typically happens when you add or replace a parity drives or after significant configuration changes.
A parity check reads all data disks along with the parity drives. It recalculates the parity values and compares them to the stored values. There are two modes for running a parity check:
- Correcting (CORRECT): If it finds a mismatch, it updates the parity disk and logs the event.
- Non-correcting (NOCORRECT): Only logs any errors found without updating the parity.
To avoid excessive logging, only the first 100 addresses with errors are reported during a parity check. These mismatches are referred to as sync errors and indicate where the parity does not align with the data, typically due to issues such as sudden power losses or hardware problems. Each sync error is counted in 4KiB blocks - this is the system's I/O unit size (known as the Linux page size).
In-depth: What does "valid" mean for parity and array disks? - Click to expand/collapse
A valid parity disk indicates that after the last successful parity sync, Unraid recognized the parity as "good," meaning it's suitable for data recovery if a disk fails. The "valid" status applies to every disk in the array, not just the parity one. If all disks except one are valid, Unraid can reconstruct the missing or failed disk's data using parity.
Unraid maintains the parity disk's "valid" status even when some sync errors occur following a non-correcting check. This ensures that you can still recover a failed disk. If the parity were marked as invalid, you would risk having two invalid disks after just one additional failure, leading to potential data loss.
While a parity check is in progress, you can still use the array. However, be aware that performance may slow down due to drive contention, as both file operations and the check will compete for resources.
Normally, if the parity check identifies errors, Unraid will update the parity disk to align with the computed data and increment the Sync Errors counter.
If you prefer to run a check without making corrections, simply uncheck Write corrections to parity before starting. This way, errors will be reported but not fixed.
After an "Unsafe Shutdown" - when the array is restarted without being properly stopped - Unraid automatically initiates a parity check using the mode configured under Settings → Scheduler → Parity Check (non-correcting by default). To change how the automatic check runs, open Settings → Scheduler → Parity Check and adjust the options there. Unexpected power loss is the most common trigger for an unsafe shutdown, so using an uninterruptible power supply (UPS) is strongly recommended to protect your data.
What are parity errors?
Parity errors happen when the parity information your system calculates doesn't match what's stored on your parity drives. This mismatch can arise from several issues, including:
- Sudden power loss or unsafe shutdowns
- Failing drives or disk errors
- Problems with cables or connections
- Unclean shutdowns or unexpected system crashes
When parity errors occur, either the parity drives or the data disks could be out of sync. Ideally, a parity check should report zero errors so everything functions correctly.
What to do if you encounter parity errors
If your parity check reveals errors:
- Investigate the problem: Start by checking SMART reports, which provide detailed information about your drives' health. Look for any signs of disk or connection problems.
- Seek help from our forums: If you cannot resolve the issue on your own, consider reaching out for advice on the Unraid forums. The community can offer valuable insights and suggestions based on their experiences.
- Run another check: After you've addressed any hardware issues, running another parity check is a good idea to ensure everything is back in order.
Remember that parity checks can take several hours, depending on the size of your disks and the activity level of your system. For the best results, schedule these checks during times of low system usage.
Read checks
A read check is an important task you should perform under certain conditions to ensure the health of your storage array. This check is necessary if your array does not have any parity devices assigned or if you have more disabled drives than available parity drives.
During a read check, every sector of every disk in the array is examined. The goal is to verify that all data can be accessed and to identify any unrecoverable read errors.
Why read checks matter
Read checks are essential for monitoring the health of your disks, especially in configurations without parity protection. If a disk encounters an unrecoverable read error during the check, the affected data cannot be retrieved, which could lead to data loss. Therefore, keeping an eye on the results of these checks is crucial, and taking action when errors are reported is necessary.
You can also review the history of read check operations in the Unraid interface, which helps you spot trends or recurring issues over time.
When to use a read check
Consider running a read check in the following situations:
- No parity devices assigned: When your array lacks parity protection.
- Verifying disk integrity: To confirm the integrity of each disk without making any corrections.
- Post-hardware issue resolution: After fixing hardware issues, to ensure all disks are healthy.
What to do if errors are found
If your read check reports errors, here are some steps to follow:
- Review SMART reports: Check the SMART reports for the affected disks to understand their health status.
- Inspect connections: Ensure that physical connections and cables are secure.
- Consider replacements: If a disk shows persistent errors, think about replacing it.
- Backup critical data: Move important data off any disks reporting errors as soon as possible to prevent data loss.
Without parity protection, any unrecoverable read error will lead to permanent data loss for the affected files or sectors.
To maintain the health of your disks, it's wise to schedule regular read checks, especially if your array does not have parity protection. This proactive measure will help you catch potential issues early and safeguard your data.
Check history
Whenever the system performs a parity check or a read check, it keeps a record of what happened. You can view these details easily by clicking the History button found under Array Operations in the interface.
For those who want to dive deeper, all these records are saved in a text file located in the config directory on your Unraid USB flash device.
Spinning disks down or up
Unraid allows you to control the power states of your hard drives. You can easily spin them up or down, and manage SSDs to be active or in standby. This helps save energy, extend the life of your drives, and reduce noise when the disks are not being used.
Why spin down or up?
Spinning down drives that aren't used often saves energy and helps them last longer. Spinning up disks ahead of time cuts down wait times when you need files soon.
How to control spin states
Control disk spin states through the Main tab:
- Go to the Main tab and locate your array devices.
- Each disk shows spin control buttons:
- 🔘 button - Spin Up (if currently spun down)
- 🟢 button - Spin Down (if currently spinning)
- Click the appropriate button for the action you want.
Remember that if a disk is being accessed (like if you're opening a file), it will stay active and ignore any spin-down request.
When a disk is spun down, its temperature won't show in the WebGUI. However, once any application or user accesses it, it will automatically spin up.
Use the spin controls to save power and reduce wear on your drives. Remember that disks that are actively being used will stay on until all tasks are finished.
Reset the array configuration
Resetting your array configuration is an important step that should be undertaken carefully. This process is usually necessary when removing a disk, starting fresh with a new array layout, or fixing disk assignment issues. Please note that this action can impact data protection and parity, so ensure you only proceed when truly needed.
Reset your array when:
- Removing or replacing disks
- Starting fresh with a new array layout
- Fixing disk assignment errors
- Recovering from configuration problems

To reset your array configuration:
- Go to Tools → New Config.
- Optionally keep some existing disk assignments for minor adjustments.
- Check the confirmation box and click Apply.
- Return to the Main tab.
- Assign or unassign disks as needed.
- Start the array in Normal or Maintenance Mode.
- Unraid attempts to recognize previously used drives and preserve data where possible
- Removing a data drive invalidates parity unless that drive was zeroed before removal
- Changing disk order won't affect parity1, but it can invalidate parity2
When you see the Start button, there is a checkbox labeled Parity is Valid. Only check this box if you are certain it is correct or if an experienced Unraid user has advised you to do so during recovery. Incorrectly checking this option can lead to data loss.
Do not use New Config if your goal is to rebuild a disk. Performing a New Config clears the array history required for a rebuild, and Unraid will not offer to rebuild the disk afterward. Follow the disk rebuild procedure instead.