Unraid Disk Disabled: Red X Causes and Rebuild
What a disabled disk in Unraid actually means, how to tell a dead drive from a bad cable, and the order to work through before starting a rebuild.
A red X against a disk in the Unraid web interface is alarming and frequently misread. It does not mean the drive is dead, and it is not an instruction to buy a replacement. It means Unraid has stopped writing to that disk, and the correct next step is diagnosis, not procurement.
What “disabled” actually means
Unraid marks a disk disabled when it encounters a write error on it. From that moment the physical disk is taken out of the write path and its contents are emulated from parity plus the remaining data disks. Unraid’s manual is direct about the cause: a failed or disabled disk is not always broken, and the trigger is often a bad connection, a power problem or a transient glitch rather than a dying drive.
This is worth internalising because the two situations demand opposite actions. A drive with failing media needs replacing. A drive behind a loose SATA cable needs the cable reseated, and replacing it changes nothing except the invoice.
Do not pull the disk yet
While a disk is disabled, Unraid emulates it. The shares still work, the files are still readable, and any writes that would have gone to that disk are captured in parity and the emulation instead. The physical disk is left untouched, which preserves it as a recovery option.
That gives room to work. Three things are worth doing before touching hardware:
- Capture diagnostics from the web interface while the system is in the failed state.
- Confirm the emulated disk mounts and its contents look right.
- Read the syslog and the SMART report for the disk in question.
Know where you stand first
Protection level determines how much risk there is in taking your time. Unraid’s manual sets it out plainly:
| Failure scenario | No parity | Single parity | Dual parity |
|---|---|---|---|
| 1 disk failure | Data lost | Rebuildable | Rebuildable |
| 2 disk failures | Data lost | Data lost | Rebuildable |
With single parity and one disk disabled, the array is running with no remaining protection. A second failure during the rebuild loses data. With dual parity, one or two disks can be replaced at once, though replacing two at once removes the margin for a third.
If more disks have failed than parity can cover, stop. The documented advice is to halt write operations immediately, post the issue and diagnostics to the Unraid forums, and not attempt a rebuild until you have advice. Focus on salvaging data first.
Diagnose before rebuilding
Two sources answer most cases: the syslog and SMART.
Syslog. Unraid logs every CRC recovery attempt there, so a burst of them clustered around the moment the disk dropped points at the physical link rather than at the platters.
SMART self-test. A short test only samples the drive. An extended test reads the whole surface, which is the one worth running before deciding a drive is healthy. It takes hours on a large disk, and that is fine: the array is still serving the emulated disk while it runs.
Attribute 5, reallocated sector count. Unraid’s SMART guidance is blunt about this one. Above 0 means the drive is starting to fail.
Attribute 199, UDMA CRC error count. This is the single most useful attribute on an Unraid box, and it almost never means what people assume. A CRC error means data sent between the drive and the controller failed an integrity check, which points at the physical link rather than the platters. Unraid retries the transfer, and if the retry succeeds the operation continues with nothing worse than a slower write. If retries keep failing, Unraid treats it as a read error and attempts to rewrite the affected sector from parity and the other drives. Only when that also fails is the disk disabled and marked with the red X.
Frequency matters more than the raw count. The documented reading: a few CRC errors over weeks or months are typically not a concern, since the counter never resets and accumulates historic events. Errors appearing daily or weekly, or a count climbing quickly, indicate a live problem that will get worse.
Attribute 197, current pending sector count. This one is genuinely bad news, especially alongside CRC errors. Pending sectors are unstable areas the drive could not read reliably and which may fail outright soon. The documented reading of the combination is that the communication problems are causing physical damage to the drive’s ability to store and retrieve data reliably, which is the point at which the link fault has stopped being only a link fault. Back up anything critical immediately, run an extended SMART test, and plan replacement if the count keeps rising.
The cable-first rule
Because CRC errors point at the link, the documented causes are almost entirely physical:
- Loose or poorly seated SATA cables. The connectors are not robust and vibration works them loose.
- Damaged or low-quality cables.
- Power delivery problems, often from splitter cables or an overloaded power supply.
- A disk controller card not fully seated in its slot.
- Cable management faults: over-tightened tie straps, power cables routed alongside data cables rather than crossing them at 90 degrees, and SATA cables force-bent into 90 degree turns.
- An actual drive fault, which is the rare case rather than the first guess.
One detail makes this much easier to work through: Unraid identifies disks by serial number and size, not by the SATA port they are attached to. Drives can be moved to different ports to isolate a bad port or cable without disturbing their array assignments. Choosing components that avoid this class of problem in the first place is covered in the Unraid hardware guide.
Check the emulated disk before you rebuild
This step gets skipped and it is the one that costs people data. If the emulated disk does not mount, repairing the filesystem is essential before any rebuild, because fixing the filesystem is quicker and more effective than rebuilding a broken one onto a new disk. A rebuild reproduces exactly what parity says was there, including corruption.
The same logic applies to parity itself. Before a capacity upgrade, the documented procedure begins with running a parity check and confirming zero errors, because rebuilding a disk from invalid parity corrupts its filesystem.
The rebuild procedure
Once the diagnosis is done and the replacement drive is ready, the sequence is:
- Confirm the replacement is at least as large as the failed disk and no larger than the smallest parity disk. If it is larger than parity, the Parity Swap procedure is required instead.
- Optionally pre-clear the new drive to shake out early failures. This is not mandatory; the Preclear plugin exists for it.
- Stop the array.
- Assign the replacement disk to the vacant slot.
- Start the array to begin the rebuild. Unraid reconstructs the contents from parity and the remaining disks.
Keep the original disk intact until the rebuild has completed and the data has been confirmed. It is the only fallback if the rebuild goes wrong.
Rebuilding onto the same disk is a legitimate move when the evidence says the disk is healthy and the cause was a cable or power fault. The procedure is the same: unassign the disk, start the array so Unraid sees the slot as empty, stop, reassign the same disk, and start to rebuild. Do this only after the underlying fault has actually been found and fixed, otherwise the disk will simply be disabled again.
Sync errors after the fact
A parity check compares recalculated parity against what is stored, and mismatches are reported as sync errors, counted in 4 KiB blocks. Only the first 100 addresses with errors are logged, to keep the log usable, so a report that stops at 100 is a formatting limit rather than a coincidence.
Checks run in one of two modes. A correcting check updates parity to match the recalculated value; a non-correcting check only reports. After an unsafe shutdown Unraid automatically starts a check using the mode configured under Settings, which is non-correcting by default. Unexpected power loss is the most common trigger, which is the practical argument for an uninterruptible power supply.
Where the array has no parity device, or has more disabled drives than parity devices, a parity check is not the right tool. A read check examines every sector of every disk to find unrecoverable read errors instead.
What not to do
- Do not pull the disabled disk out and reformat it. It is the fallback copy.
- Do not rebuild before understanding why the disk was disabled.
- Do not rebuild onto a disk larger than the smallest parity disk without doing a Parity Swap.
- Do not treat a correcting parity check as a diagnosis. It makes parity agree with whatever the disks currently say, which is not the same as the data being right.
- Do not treat parity as a backup. It survives disks, not mistakes.
Prevention that actually pays
Enable notifications under Settings so drive problems surface on the day they happen rather than at the next check. Schedule correcting parity checks monthly or quarterly, which is the documented recommendation. Fit a UPS. And understand what the parity model does and does not promise, which is the subject of how Unraid storage works; if you are still weighing that model against the alternatives, Unraid vs TrueNAS vs Synology compares their failure behaviour directly. To estimate how long a rebuild will take on a given drive mix before it happens, use the parity calculator.
Sources
Related
Unraid Hardware Guide: What to Buy for a First Build
What actually constrains a first Unraid server: licence device limits, parity disk sizing, where SSDs belong, the boot device and the network card.
Unraid Array vs Pool: Parity, Speed and Best Uses
Compare the Unraid array and pools by parity, speed, redundancy and workload, then place media, appdata, Docker and VMs on the right storage.
How to Set Up Unraid Docker Containers
A practical guide to setting up Unraid Docker containers, including Docker setup, Community Applications, appdata paths, networks, and updates.