Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dolphins1972

macrumors member
Original poster
Oct 1, 2017
76
10
Fresh install of Monterey using MLOC.

Monterey started taking a long time to shutdown so I ran First Aid.

I have MLOC installed on Mojave SATA SSD bay 1 and Monterey on PCIe SSD slot 4 (need riser cable for slot 2)

The system volume and the physical disk are OK. I get the above error when running first aid on the APFS container volume. There are several snapshots that are corrupted, is that the reason for the error code or do I need to repair in Recovery or possibly wipe drive and start over?

Running First Aid on “Container disk6” Verifying the startup volume will cause this computer to stop responding. Verifying storage system Using live mode. Performing fsck_apfs -n -x -l /dev/disk1s2 Checking the container superblock. Checking the EFI jumpstart record. Checking the space manager. Checking the space manager free queue trees. Checking the object map. Checking the encryption key structures. Checking volume /dev/rdisk6s1. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking snapshot 1 of 17 (com.apple.TimeMachine.2023-08-23-122957.local) Checking snapshot 2 of 17 (com.apple.TimeMachine.2023-08-23-133049.local) Checking snapshot 3 of 17 (com.apple.TimeMachine.2023-08-23-143054.local) Checking snapshot 4 of 17 (com.apple.TimeMachine.2023-08-23-153103.local) Checking snapshot 5 of 17 (com.apple.TimeMachine.2023-08-23-163113.local) Checking snapshot 6 of 17 (com.apple.TimeMachine.2023-08-23-173530.local) Checking snapshot 7 of 17 (com.apple.TimeMachine.2023-08-23-183930.local) error: mismatch between extentref entry reference count (1) and calculated fsroot entry reference count (2) for extent (36719509 + 1) error: mismatch between extentref entry reference count (1) and calculated fsroot entry reference count (2) for extent (36727787 + 1) error: mismatch between extentref entry reference count (1) and calculated fsroot entry reference count (2) for extent (38682171 + 14) Checking snapshot 8 of 17 (com.apple.TimeMachine.2023-08-23-194033.local) warning: mismatch between extentref entry reference count (-1) and calculated fsroot entry reference count (-2) for extent (36719509 + 1) warning: mismatch between extentref entry reference count (-1) and calculated fsroot entry reference count (-2) for extent (36727787 + 1) warning: mismatch between extentref entry reference count (-1) and calculated fsroot entry reference count (-2) for extent (38682171 + 14) Checking snapshot 9 of 17 (com.apple.TimeMachine.2023-08-23-204142.local) Checking snapshot 10 of 17 (com.apple.TimeMachine.2023-08-23-214530.local) Checking snapshot 11 of 17 (com.apple.TimeMachine.2023-08-23-224548.local) Checking snapshot 12 of 17 (com.apple.TimeMachine.2023-08-23-234548.local) Checking snapshot 13 of 17 (com.apple.TimeMachine.2023-08-24-074817.local) Checking snapshot 14 of 17 (com.apple.TimeMachine.2023-08-24-084817.local) Checking snapshot 15 of 17 (com.apple.TimeMachine.2023-08-24-094819.local) Checking snapshot 16 of 17 (com.apple.TimeMachine.2023-08-24-104834.local) Checking snapshot 17 of 17 (com.apple.TimeMachine.2023-08-24-115704.local) Checking the document ID tree. Checking the fsroot tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s1 was found to be corrupt and needs to be repaired. Checking volume /dev/rdisk6s2. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking the fsroot tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s2 appears to be OK. Checking volume /dev/rdisk6s3. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking the fsroot tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s3 appears to be OK. Checking volume /dev/rdisk6s4. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking the fsroot tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s4 appears to be OK. Checking volume /dev/rdisk6s5. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking snapshot 1 of 1 (com.apple.os.update-4D9D96DD48A0CE4119915E7E97401DD786B87AD448CA6401815001509BAE183E) Checking the fsroot tree. Checking the file extent tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s5 appears to be OK. Checking volume /dev/rdisk6s6. Checking the APFS volume superblock. Checking the object map. Checking the snapshot metadata tree. Checking the snapshot metadata. Checking the fsroot tree. Checking the extent ref tree. Verifying volume object map space. The volume /dev/rdisk6s6 appears to be OK. Verifying allocated space. Performing deferred repairs. error: orphan/invalid physical extent (36727787) at snapshot 12132 error: missing/invalid physical extent (36719509 + 1) with refcnt 2 at snapshot 11509 Skipped 7/7 repairs of this type in total. Deferred repairs skipped. The container /dev/disk1s2 could not be verified completely. Storage system check exit code is 8. Storage system verify or repair failed. : (-69716) Operation successful.
 
Last edited:

Dolphins1972

macrumors member
Original poster
Oct 1, 2017
76
10
Solved both issues. No more shutdown issues and First aid passed with exit code 0.

Here's what I did:

Open Disk Utility, select View, Show APFS Snapshots.

Find the offending snapshot which was #8 for me and deleted it, that's it.
 
  • Like
Reactions: Macschrauber
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.