Arbor Mac Chicago734-454-0000
← Back to Resources

How to Fix APFS Exit Code 8 ('Disk Utility Can't Repair This Drive') in Recovery Terminal

Running Disk Utility First Aid and seeing a red alert reading File system check exit code is 8. Disk Utility can't repair this drive. Back up as much of your data as possible is one of the most terrifying warnings in macOS.

Most forums and Apple Store Genius Bar technicians will advise you to immediately wipe your internal SSD, erase your files, and reinstall macOS from scratch.

Do not wipe your drive. At our downtown Chicago repair bench, we see this error weekly. In the vast majority of cases, your drive hardware is physically healthy, and your live documents, photos, and applications are completely intact.

Below is the exact engineering breakdown of why Exit Code 8 happens and how to clear it using macOS Recovery Terminal in 10 minutes.


🔍 The Root Cause: The “Read-Only Snapshot” Glitch

To understand why Disk Utility fails, you have to understand how the Apple File System (APFS) operates:

  1. Whenever your Mac runs an automatic macOS update, executes a Time Machine backup, or runs cloning software, macOS takes an instantaneous APFS Local Snapshot—a frozen, point-in-time image of your drive.
  2. By security design, APFS snapshots are strictly read-only. Even macOS itself cannot modify or edit them once created.
  3. When you click “Run First Aid,” Disk Utility verifies not just your current live files, but every single historical snapshot stored on the disk.
  4. The Trap: If a single snapshot created 3 weeks ago has an invalid checksum, corrupted inode, or broken extent tree, Disk Utility tries to repair it. But because the snapshot is read-only, First Aid is forbidden from writing the fix. It panics, aborts the entire scan, and outputs Exit Code 8.

The solution is simple: Identify the damaged snapshot and delete it. Your live files are unaffected, and First Aid will instantly pass.


Step 1: Boot into macOS Recovery & Open Terminal

You cannot delete locked system snapshots while booted into normal macOS. You must run this from Recovery:

Once the macOS Utilities window appears, look at the top menu bar, click Utilities → Terminal.


Step 2: Identify Your APFS Volume Identifier

In the Terminal window, type:

diskutil list

Press Return. Look through the list for your internal drive (usually labeled Macintosh HD or Macintosh HD - Data).

Note the disk identifier in the rightmost column (for example: disk3s1 or disk3s5).


Step 3: List All APFS Snapshots on the Drive

Now, inspect the snapshots attached to your data volume by running:

diskutil apfs listSnapshots /Volumes/"Macintosh HD - Data"

(If your drive is mounted simply as “Macintosh HD”, use /Volumes/"Macintosh HD" instead).

Terminal will print a list of every snapshot stored on your SSD. Each entry looks like this:

+-- Snapshot Name:   com.apple.TimeMachine.2026-10-18-142301.local
    Snapshot UUID:   E2B358A1-8C9B-4D12-9F12-A1B2C3D4E5F6

Step 4: Purge the Corrupted Snapshots

To clear the snapshot obstruction, you have two methods depending on what created the snapshot:

Method A: Delete Time Machine Local Snapshots (Most Common)

If the snapshots begin with com.apple.TimeMachine, run:

tmutil listlocalsnapshots /Volumes/"Macintosh HD - Data"

To delete the problematic snapshot, enter:

tmutil deletelocalsnapshots 2026-10-18-142301

(Replace the timestamp with the exact date string shown on your screen).

Method B: Delete System & Carbon Copy Cloner Snapshots via Diskutil

If the snapshot was created by an OS update or third-party backup tool, use the snapshot’s UUID:

diskutil apfs deleteSnapshot /Volumes/"Macintosh HD - Data" -uuid E2B358A1-8C9B-4D12-9F12-A1B2C3D4E5F6

Terminal will respond with: Deleted APFS Snapshot.

[!TIP] Can’t tell which snapshot is broken? You can safely delete all local snapshots. Local snapshots are merely temporary point-in-time restore points; deleting them does not delete any of your current desktop files, applications, or external Time Machine backup drives. In fact, deleting them will instantly free up 20GB to 80GB of hidden storage!


Step 5: Run Direct fsck_apfs File System Repair

Once the locked snapshots are removed, you can run the raw Unix file system checker directly on your disk container without Disk Utility’s graphic interface getting in the way:

fsck_apfs -y -x /dev/disk3s1

(Replace disk3s1 with your actual volume identifier from Step 2).

Watch Terminal verify the object map, check inode records, and inspect directory trees. When finished, Terminal will display:

The volume /dev/disk3s1 was found to be corrupt and was repaired.
** The volume Macintosh HD appears to be OK.
** File system check exit code is 0.

Exit code 0 means your file system is 100% repaired and healthy! Quit Terminal, click the Apple icon, restart your Mac, and you are back in business.


Bench Attribution & Educational Disclaimer

[!NOTE] Primary Authority & Community Thanks:
We gratefully acknowledge Howard Oakley at The Eclectic Light Company (eclecticlight.co) and Rich Trouton at Der Flounder (derflounder.wordpress.com). Their exhaustive forensic documentation of APFS B-tree structures, snapshot immutability, and Darwin diskutil binaries serves as the gold standard for independent Mac technicians worldwide.

At Arbor Mac Repair, our mission is to take these dense forensic terminal breakthroughs and translate them into practical, consumer-friendly recovery guides so everyday Mac owners can rescue their data without unnecessary panic or expense.

Bench-Tested Hardware & Recommended Tools

Emergency APFS Backup & Terminal Triage Kit

High-speed external drives to clone your volume before executing low-level Terminal repairs or snapshot purges.

Emergency Clone Drive~$109

Samsung T7 Shield 1TB Rugged Portable SSD (1,050 MB/s)

Technician Note: Always take a full Carbon Copy Cloner or Time Machine snapshot image before executing raw Terminal fsck operations.

View on Amazon
Offline Rescue Stick~$18

SanDisk 128GB Ultra Dual Drive Luxe USB Type-C & Type-A

Technician Note: All-metal flash drive to store offline Terminal recovery scripts and extracted personal files.

View on Amazon
Bench Diagnostic Enclosure~$27

Sabrent Tool-Free M.2 PCIe NVMe SSD USB-C Enclosure

Technician Note: Enables external mounting and forensic triage of damaged NVMe storage volumes.

View on Amazon
FTC Disclosure: As an Amazon Associate, Arbor Mac Repair earns from qualifying purchases of bench-tested tools at no extra cost to you. We only recommend hardware and tools our Chicago bench technicians personally test and use.

APFS First Aid Code 8 Won't Clear in Chicago?

We safely isolate corrupted read-only snapshots and repair damaged APFS containers without wiping your personal data:

Check Data Recovery & APFS Repair Price →

Related DIY & Troubleshooting Guides

View All →

Frequently Asked Questions

Does APFS First Aid Exit Code 8 mean my Mac's SSD is physically dying?

Rarely. In over 85% of cases we see at our Chicago repair bench, Exit Code 8 is a logical file system error caused by a single corrupted read-only local APFS snapshot (often created by Time Machine, Carbon Copy Cloner, or an automatic macOS system update). The underlying SSD hardware and your live files are almost always completely healthy.

Why does Disk Utility say 'Disk Utility can't repair this disk'?

By design, APFS snapshots are strictly read-only point-in-time freezes of your drive. Because Disk Utility is forbidden from writing changes to or modifying a snapshot, if it encounters a minor checksum error inside a historical snapshot tree, it cannot repair it and aborts the entire scan with Exit Code 8.

Can I fix APFS Exit Code 8 without reformatting my Mac?

Yes! By booting into macOS Recovery, launching Terminal, identifying the specific damaged snapshot with 'diskutil apfs listSnapshots', and purging only that individual snapshot, you allow 'fsck_apfs -y' to pass with a clean exit code 0—all without losing your live data or reinstalling macOS.

How much does Arbor Mac charge for APFS data recovery and storage repair in Chicago?

We perform in-person drive diagnostics, APFS snapshot purging, and full data recovery at our Willoughby Tower office (8 S Michigan Ave #312) in downtown Chicago. APFS software repair is $95 to $145, backed by our No Fix, No Fee guarantee.

Arbor Mac iPhone Repair

Willoughby Tower (Across from Millennium Park)

8 S Michigan Ave #312, Chicago, IL 60603

Walk-ins: 12:00 PM – 10:00 PM | Other hours by appointment