MacOS Catalina, Disk Utility: “Unable to perform deferred repairs”

disk-utilityfsckmacos

Upon running Disk Utility against `Macintosh HD – Data", I get the following towards the end of the check:

error: dstream (id 8753874978) does not have an associated dstream id object
Verifying allocated space.
Performing deferred repairs.
error: Unable to perform deferred repairs without full space verification
error: Try running fsck against the entire APFS container instead of a volume
The volume /dev/rdisk1s1 could not be verified completely.
File system check exit code is 0.
Restoring the original state found as mounted.

I've booted into Single User mode, but running fsck -fy tells me that it cannot be run because the /dev/rdisk1s1 drive is mounted in write mode. I've also tried Googling the term "error: Unable to perform deferred repairs without full space verification" and found 1 thread on Apple's forums, with 67 likes and 0 answers.

So, how can I repair my HD? rMBP late 2013 model.

Best Answer

Run Disk Utility in Recovery Mode:

  1. Boot into Recovery mode by holding down ⌘R while powering up
  2. Select Disk Utility
  3. Select the "Container" for Macintosh HD - Data (do not select Macintosh HD - Data itself)
  4. Click "First Aid" and "Run"
  5. If that does not seem to fix the problem, select the Drive that contains the "Container" and run "First Aid" on it.

The above is from memory. You may need to mount or unlock the drive at some point in the above process.