error: snap_metadata_val object (): invalid extentref_tree_oid (0x0)

After upgrading to High Sierra on an 2011 MacBook Air, when running Disk Aid on the boot disk (auto-converted to APFS) I get this error:


error: snap_metadata_val object (oid 0xe79f): invalid extentref_tree_oid (0x0)


it still says the check completed sucessfuly, but this error looks not benign. I also booted in recovery mode and get the same error.

MacBook Air (13-inch Mid 2011), macOS High Sierra (10.13)

Posted on Sep 29, 2017 12:11 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 6, 2017 1:18 PM

I have the same error as you. In my case it turned out to be a dateless time machine local snapshot.


To check for it, open a Terminal and list local time machine snapshot by running the
command "tmutil listlocalsnapshots /"

It will show entries like "com.apple.TimeMachine.YYYY-MM-DD-HHMMSS"

If you see dateless snapshot, delete it use "sudo tmutil deletelocalsnapshots YYYY-MM-DD-HHMMSS"
with the actual date of the dateless entry. You will need to enter your user password.


# tmutil listlocalsnapshots /

com.apple.TimeMachine.2017-10-04-014927 (dataless)

com.apple.TimeMachine.2017-10-04-024750

com.apple.TimeMachine.2017-10-04-024752

com.apple.TimeMachine.2017-10-04-024835

com.apple.TimeMachine.2017-10-04-024852


# sudo tmutil deletelocalsnapshots 2017-10-04-014927

Password:

Deleted local snapshot '2017-10-04-014927'


# tmutil listlocalsnapshots /

com.apple.TimeMachine.2017-10-04-024750

com.apple.TimeMachine.2017-10-04-024752

com.apple.TimeMachine.2017-10-04-024835

com.apple.TimeMachine.2017-10-04-024852

54 replies

Apr 1, 2018 10:04 AM in response to dkalchev

Hey,


I came across the same problem as well. I cannot delete this bloody localsnapshots.


I removed all TM backups from my external drive and disable the automatic TM backups and I made a manual back up for couple of gigabytes and stopped it. Then I listed the snapshots. I was able to delete the fresh snapshot refering today however something dated back to 2018-03-25-021312 is still not removable. This is the same error I got:


Error parsing argument com.apple.TimeMachine.2018-03-25-021312


There is an update to my High Sierra however I cannot even update it. Whatever I delete form my mac piles up as still used space. My 500Gb SSD shows only 3-5gb free space even if I deleted at least 60-70gb yesterday. It is so frustrating.


Is there any solution for that yet? Any help is appreciated.


Thanks

Apr 7, 2018 1:46 PM in response to LittleLebowski

Iˋve got a similar problem:

- My MacBook Air doesnˋt boot anymore. Not even into recovery mode.

- fsck -y tells Snapshot metadata tree is invalid

- Sudo tmutil listlocalsnapshots / shows a dataless snapshot

- I canˋt delete the entry: sudo tmutil deletelocalsnapshots 2018-01-28-213323 only results in „failed to delete local snapshot ´2018-01-28-213323´. Sudo doesnˋt ask for the adminpassword.


Any hints to delete the entry?

Aug 26, 2018 1:10 PM in response to dkalchev

My recent experience was slightly different, posting here in case it helps anyone with similar issue.


After my MBP 2014 didn't wake from sleep I did a hard restart into single-user mode and ran fsck; got the "volume could not be verified completely" error. Unfortunately when I ran the Terminal command # tmutil listlocalsnapshots / it only showed one snapshot and it was NOT listed as dataless.


What I wound up doing was using the app Daisy Disk to find "hidden space" and delete the chunk of space set aside for Time Machine. When I ran # tmutil listlocalsnapshots / again it listed the snapshot as dataless so I ran the command to delete it. In all likelihood I probably could have deleted it without trashing the hidden space first; regardless, my next pass at fsck completed successfully.


Much thanks to oxfrombws for your solution; I had never encountered this before and I was at a loss!

Nov 28, 2017 12:26 AM in response to oxfrombws

Thanks for your tips. Have the same problem and google led me here.

I followed your steps, but it just doesn't work in my case.

$ tmutil listlocalsnapshots /

com.apple.TimeMachine.2017-11-22-071811 (dataless)

com.apple.TimeMachine.2017-11-24-112803

com.apple.TimeMachine.2017-11-24-125246

$ sudo tmutil deletelocalsnapshots 2017-11-22-071811

Error parsing argument 2017-11-22-071811


Is there any other way to delete these snap shots files?

Any advice?

Apr 1, 2018 11:07 AM in response to oxfrombws

Output is:


com.apple.TimeMachine.2018-03-25-021312


It does not state (dataless).


And yes I use excatly:

sudo tmutil deletelocalsnapshots 2018-03-25-021312


and I always get this error:


Error parsing argument 2018-03-25-021312


I could delete todays localsnapshot with this command but there is problem with the one above.


My HD space is shrinking to 1.5 GB and cannot even use my macbook pro properly because of this HUGE bug or whatever. I dont know what to do!

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.

error: snap_metadata_val object (): invalid extentref_tree_oid (0x0)

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