Symptoms
When running First Aid on an APFS volume in Disk Utility, the process may fail with messages such as:
- “First Aid process has failed. Unable to repair the volume.”
- “The volume /dev/diskXsY could not be repaired.”
- “Operation timed out” or “Error: -69845”
- “File system check exit code is 8”
Root Causes
Common causes include:
- File system corruption due to improper shutdown, power loss, or hardware failure.
- Incompatible or outdated macOS version (APFS repair tools improve with updates).
- Disk errors (bad sectors) on the physical drive.
- Corrupted APFS container metadata or snapshot issues.
- Running First Aid on a volume that is currently mounted or in use.
Step-by-Step Fix
Step 1: Boot into macOS Recovery
- Restart your Mac and hold Command (⌘) + R immediately until the Apple logo or spinning globe appears.
- Select your language if prompted.
Step 2: Open Terminal
From the macOS Utilities window, select Utilities > Terminal.
Step 3: Identify the APFS Volume
Run:
diskutil listNote the identifier of the APFS volume (e.g., disk1s5) or the container (e.g., disk1).Step 4: Run fsck_apfs in Single User Mode (if possible)
If you can boot into Single User Mode (hold Command + S at startup), run:
/sbin/fsck -fyOtherwise, in Recovery Terminal, use: diskutil verifyVolume /dev/diskXsYReplace diskXsY with your volume identifier.Step 5: Repair the APFS Container
If verification fails, repair the container:
diskutil repairVolume /dev/diskXsYIf that fails, try: diskutil apfs repairContainer /dev/diskXReplace diskX with the container disk (e.g., disk1).Step 6: Force Repair with fsck_apfs
Use the low-level tool:
fsck_apfs -y /dev/diskXsYAdd -l for verbose output: fsck_apfs -l /dev/diskXsYStep 7: Reboot and Verify
Exit Terminal and restart. Run Disk Utility First Aid again to confirm the issue is resolved.
Alternative Fixes
- Use Safe Mode: Boot into Safe Mode (hold Shift at startup) and run First Aid from there.
- Reset NVRAM/PRAM: Restart and hold Option + Command + P + R for 20 seconds.
- Check Disk Health: Use
smartctl(install via Homebrew) or Disk Utility to check for hardware issues. - Reinstall macOS: If repairs fail, reinstall macOS without erasing data (from Recovery).
- Third-party tools: Consider DiskWarrior or Drive Genius for advanced repairs.
Prevention
- Always shut down your Mac properly.
- Keep macOS and all apps updated.
- Regularly back up with Time Machine or other backup solutions.
- Run Disk Utility First Aid periodically (e.g., monthly).
- Avoid using third-party disk utilities that are not APFS-aware.
- Monitor disk health with SMART status checks.
If all steps fail, the disk may be failing. Backup immediately and replace the drive.