Disk Utility First Aid failed: “File system check exit code is 8”
“Exit code is 8” means the file system check found damage it couldn’t repair. First Aid has already tried to write fixes, so stop repeating it. If the files matter, copy them to another drive using a read-only tool now. Only after that is it worth reformatting.
Don’t run First Aid again. Check the drive’s health with read-only commands, then read it directly and copy your files to another drive. If the drive is failing, make an image first. Reformat only once your files are copied and verified.
What the message says
When First Aid fails you see a log ending in lines like File system check exit code is 8, Operation failed… or The underlying task reported failure on exit. The check tools behind First Aid (fsck_apfs, fsck_hfs, fsck_exfat, fsck_msdos) return a nonzero exit status when they can’t fully repair the volume, and 8 is the code users commonly see when it fails. Apple doesn’t document each code in its Disk Utility guide, which only says that Disk Utility can’t find or fix every problem and that if a disk is about to fail you should back up and replace it (Apple).
In plain terms, the volume has damage that the checker either can’t fix or doesn’t dare to. Typical triggers: an unclean eject, a drive with bad sectors, a damaged partition map, or a drive that is starting to fail.
Why you shouldn’t just retry
First Aid’s repair pass writes to the drive. A partial or failed repair can leave the volume in a worse state than before, and on a drive with failing sectors every pass adds wear. If the files are irreplaceable, the order is: look, copy, verify, then repair.
Safe checks that only look
- Note the identifier. In Terminal,
diskutil listprints every disk. Find yours, for exampledisk4. - Check the connection. Different cable, different port, direct to the Mac. A flaky connection can make First Aid fail on a healthy drive. Rule that out before blaming the file system.
- Check for hardware warnings. Spinning drive: listen. Clicking, ticking or repeated spin-ups mean stop, power down and see the next section. In Disk Utility, SMART status (if the drive reports it) appears in the info panel.
- Verify, don’t repair:
diskutil verifyVolume disk4s2reads and reports without fixing. Compare with what First Aid said. - Try mounting read-only:
diskutil mount readOnly disk4s2. If this works, copy everything out in Finder before doing anything else.
Get your files off with Retrova
If the volume won’t mount, Retrova can still read it directly. It opens the drive read-only and never repairs, mounts or formats it.
- Plug the drive in and open Retrova. On the home screen choose A drive won’t open. Retrova lists every drive and partition it can see, with the file system it detected.
- Pick the drive or partition. macOS asks for your administrator password at this point, because reading a disk directly needs it. Retrova only uses it to read.
- Browse and choose what you want back. If the file system is readable you see your original folders and file names, and you can preview photos, videos, PDFs and text before copying.
- Choose a destination on a different drive with enough free space. Retrova never saves onto the drive it is reading.
- Copy, then Verify. Files are written as temporary parts and renamed only when complete. When it finishes, run Verify to compare every copy with the original, byte for byte.
If what you see in Retrova looks incomplete, or the file system is too damaged to list, run Deep scan:
If no file system is recognised, or the one it finds is too damaged to list files, run Deep scan from I deleted something. Deep scan ignores the file system and searches the raw drive for the start of 72 known file types (photos including camera RAW, videos, audio, documents, archives, mail files and more). It only recovers files that were stored in one piece, and the original names and folders are lost: finds come back sorted by type with new names.
If the drive is failing
If First Aid took a long time, errors appeared at specific points, the drive disconnects, or it makes unusual sounds, don’t browse it. Make one full image first, which copies the healthy data first and returns to the damaged areas later, then recover from the image. See Image a failing drive on Mac or Windows and Recover files from a failing hard drive: image it first. If it clicks or grinds, stop and contact a professional data recovery lab.
After your files are safe
Verify the copy (How to check a copy is perfect: verify files byte for byte). Then, in Disk Utility, erase the drive and choose a format (APFS for a Mac-only drive, exFAT for a Mac and Windows drive). If it keeps failing after being erased, retire it.
What Retrova can’t do: it can’t undelete files with their names on APFS, ext or other file systems (only NTFS, FAT and exFAT), can’t open an encrypted drive without its password or recovery key, can’t open the startup disk of a T2 or Apple silicon Mac away from that Mac, doesn’t handle RAID sets or phones, and can’t fix a drive with physical damage. Retrova’s builds aren’t signed or notarised yet, so macOS and Windows will show a warning the first time you open it.
What not to do
- Don’t run First Aid a third or fourth time on a drive that matters. Each run can write.
- Don’t use
diskutil repairVolumeorfsck -fybefore copying. Both write. - Don’t erase to “clear the error” while your files are on it.
- Don’t keep a clicking drive powered on to “try one more time”.
Get Retrova
Free and open source for macOS 11+ and Windows 10/11. No account, no recovery limit, and it never writes to the drive you’re rescuing.
Download RetrovaFree for Mac and WindowsQuestions
What does “File system check exit code is 8” mean?
The file system checker found damage it couldn’t repair. Apple doesn’t define the number, but it is how a failed repair is reported. Your data may still be readable even though the check failed.
Can I recover files after First Aid fails?
Often, yes. A failed repair usually means the volume’s structures are damaged, not that every file is gone. Read the drive with a read-only tool and copy what you can, ideally from an image if the drive is unhealthy.
Will Retrova repair the volume?
No. It never writes to the source drive. It reads it and copies your files elsewhere.
Should I reformat now?
Not until your files are copied and verified. Reformatting creates an empty file system and erases the file list.