Snapshot fsroot tree corruptions

Hello everyone,



I'm experiencing the following error:


Running First Aid on “Macintosh HD” (disk1s1)


NOTE: First Aid will temporarily lock the startup volume.


Verifying file system.

Volume could not be unmounted.

Using live mode.

Performing fsck_apfs -n -l -x /dev/rdisk1s1

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 volume.

Checking the APFS volume superblock.

The volume Macintosh HD was formatted by hfs_convert (748.1.46) and last modified by apfs_kext (945.250.134).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking snapshot 1 of 1.

error: directory valence check: directory (oid 0x3): nchildren (25) does not match drec count (24)
warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted

Checking the extent ref tree.

Checking the fsroot tree.

Verifying allocated space.

The volume /dev/rdisk1s1 appears to be OK.

File system check exit code is 0.

Restoring the original state found as mounted.


Operation successful.



I've run First Aid on Recovery Mode and checked external hard-drives to delete any files that might be the cause of the issue but nothing has changed...


MacBook Pro 13", macOS 10.14

Posted on May 11, 2019 3:20 AM

Reply

Similar questions

3 replies

May 11, 2019 6:35 AM in response to iric95

iric95 wrote:


error: directory valence check: directory (oid 0x3): nchildren (25) does not match drec count (24)
warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted

Operation successful


And did you run a Time Machine backup—this will effectively remove the snapshot.


And you booted to Recovery and ran First Aid (?)

Recovery http://support.apple.com/kb/HT4718



if it persist:


Start up Mac in single-user mode by restarting then press and hold Command + S.

Type /sbin/fsck -fy into the command line and press Enter. This will initiate a file system check. You will see the same error, however in this case the repair will continue and fix the issue.

Type reboot and press Enter.

Login as normal and run First Aid on Disk and the error should be gone.



Start up your Mac in single-user mode or verbose mode - Apple Support


May 11, 2019 11:38 AM in response to leroydouglas

Hello,


I did run a backup, deleted the older ones and redid a backup just earlier but the error is till there; I've also used the single-user mode and did everything you've instructed... Maybe I did something wrong? Here are current details:



Running First Aid on “Container disk1”


NOTE: First Aid will temporarily lock the startup volume.


Verifying storage system

Using live mode.

Performing fsck_apfs -n -x -l /dev/disk0s2

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 volume.

Checking the APFS volume superblock.

The volume Macintosh HD was formatted by hfs_convert (748.1.46) and last modified by apfs_kext (945.250.134).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking snapshot 1 of 3.

error: directory valence check: directory (oid 0x3): nchildren (25) does not match drec count (24)

warning: snapshot fsroot tree corruptions are not repaired; they'll go away once the snapshot is deleted

Checking snapshot 2 of 3.

Checking snapshot 3 of 3.

Checking the extent ref tree.

Checking the fsroot tree.

Checking volume.

Checking the APFS volume superblock.

The volume Preboot was formatted by newfs_apfs (748.1.46) and last modified by apfs_kext (945.250.134).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking the extent ref tree.

Checking the fsroot tree.

Checking volume.

Checking the APFS volume superblock.

The volume Recovery was formatted by newfs_apfs (748.1.46) and last modified by apfs_kext (945.250.134).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking the extent ref tree.

Checking the fsroot tree.

Checking volume.

Checking the APFS volume superblock.

The volume VM was formatted by newfs_apfs (748.1.46) and last modified by apfs_kext (945.250.134).

Checking the object map.

Checking the snapshot metadata tree.

Checking the snapshot metadata.

Checking the extent ref tree.

Checking the fsroot tree.

Verifying allocated space.

The volume /dev/disk0s2 appears to be OK.

Storage system check exit code is 0.


Operation successful.



Thank you for the help you are providing!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Snapshot fsroot tree corruptions

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.