How to fix File system verify or repair failed. : (-69845)
I think many have posted about that. When I ran Disk First Aid on “Data” (disk3s5) of my internal drive I received this report:
Verifying file system.
Volume could not be unmounted.
Using live mode.
Performing fsck_apfs -n -l -x /dev/rdisk3s5
Checking the container superblock.
Checking the checkpoint with transaction ID 9388716.
warning: container has been mounted by APFS version 2235.60.6, which is newer than 1934.141.2.700.2
warning: disabling overallocation repairs by default; use -o to override
Checking the space manager.
Checking the space manager free queue trees.
Checking the object map.
Checking the encryption key structures.
Checking volume /dev/rdisk3s5.
Checking the APFS volume superblock.
The volume Data was formatted by newfs_apfs (1677.100.114) and last modified by apfs_kext (1934.141.2.700.2).
Checking the object map.
Checking the snapshot metadata tree.
Checking the snapshot metadata.
Checking the document ID tree.
Checking the fsroot tree.
error: doc-id tree: record exists for doc-id 2639, file-id 110244562 but no inode references this doc-id
error: doc-id tree: record exists for doc-id 3021, file-id 158630952 but no inode references this doc-id
Checking the extent ref tree.
Checking the file key rolling tree.
Verifying volume object map space.
The volume /dev/rdisk3s5 was found to be corrupt and needs to be repaired.
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/rdisk3s5 could not be verified completely.
File system check exit code is 8.
Restoring the original state found as mounted.
File system verify or repair failed. : (-69845)
I have followed some suggestions regarding this issue, the (-69845) error: I have tried to use recovery mode to run Disk Utility but it still couldn't fix that. I also tried to use fsck -fy in terminal in recovery mode, the following messages appeared:
warning: option -f is not implemented, ignoring
error: container /dev/rdisk3 is mounted with write access.
I'm not familiar with unix stuff so I better give it up. I just want to ask if I earse the Mac and reset it to factory settings. And then restore the files from Time Machine. Would these procedures fix the problem? Or any other suggestion?
MacBook Air 13″, macOS 12.7