Fix Disk Utility First Aid Failed on APFS Volume
Disk Utility First Aid may fail on APFS volumes due to corruption or snapshot issues. This guide provides step-by-step fixes using Terminal commands and recovery mode.
Symptoms
When running Disk Utility First Aid on an APFS volume, the process may fail with messages like: "First Aid process has failed", "The volume /dev/diskXsX could not be verified completely", or "Snapshot is missing". The volume may become unmountable or behave erratically.
Root Causes
- Corrupted APFS container or volume metadata due to improper shutdown, disk errors, or software bugs.
- Stale or missing APFS snapshots (common after Time Machine or system updates).
- Insufficient free space on the volume for repair operations.
- Third-party disk utilities interfering with APFS structures.
- Hardware issues like failing SSD or bad sectors.
Step-by-Step Fix
Prerequisites
- Back up important data if possible (if volume is mountable).
- Boot into macOS Recovery (Intel: Cmd+R at startup; Apple Silicon: hold power button).
Method 1: Repair via Terminal in Recovery Mode
- Open Terminal from Utilities menu.
- Identify the disk:
diskutil list - Note the APFS container disk (e.g.,
disk2) and volume (e.g.,disk2s1). - Run fsck_apfs in read-only mode first:
/sbin/fsck_apfs -n /dev/diskXsX - If errors found, run repair:
Use -l for live volumes./sbin/fsck_apfs -y /dev/diskXsX - If repair fails due to snapshots, delete orphaned snapshots:
Then delete:diskutil apfs listSnapshots /Volumes/YourVolumeNamediskutil apfs deleteSnapshot /Volumes/YourVolumeName -name snapshot_name - Re-run First Aid from Disk Utility.
Method 2: Force Repair Using -o flag
- In Terminal, unmount the volume:
diskutil unmount force /dev/diskXsX - Run:
Thesudo fsck_apfs -y -o /dev/diskXsX-oflag forces repair even if volume is dirty.
Alternative Fixes
- Use Disk Utility from another macOS installation (e.g., external drive).
- Clone the volume using
ddorasrif mountable, then erase and restore. - Erase the APFS container and restore from Time Machine backup (last resort).
- Run Apple Diagnostics (hold D at startup) to rule out hardware failure.
Prevention
- Always shut down macOS properly; avoid force restarts.
- Keep at least 10-15% free space on your startup disk.
- Regularly run Disk Utility First Aid (monthly).
- Disable Time Machine local snapshots if you rarely use them:
sudo tmutil disablelocal - Update macOS to latest version to avoid APFS bugs.
- Use
diskutil verifyVolumeperiodically via Terminal.
Technical Notes
APFS uses copy-on-write and snapshots for data integrity. First Aid failures often stem from snapshot metadata corruption. The fsck_apfs tool is more robust than Disk Utility GUI. If all else fails, contact Apple Support or consider data recovery services.
| Command | Purpose |
|---|---|
diskutil list | Show all disks and volumes |
fsck_apfs -n | Check only, no repair |
fsck_apfs -y | Repair automatically |
diskutil apfs listSnapshots | List snapshots on volume |
Was this solution helpful?