You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Top-ranking reply

Oct 6, 2017 1:18 PM in response to dkalchev

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

Oct 6, 2017 1:18 PM in response to oxfrombws

This is what I have:


$ tmutil listlocalsnapshots /

com.apple.TimeMachine.2017-09-30-071340 (dataless)

com.apple.TimeMachine.2017-09-30-091235 (dataless)

com.apple.TimeMachine.2017-10-05-084406


$ sudo tmutil deletelocalsnapshots 2017-09-30-071340

Password:

Deleted local snapshot '2017-09-30-071340'

$ sudo tmutil deletelocalsnapshots 2017-09-30-091235

Password:

Deleted local snapshot '2017-09-30-091235'


I no longer see the error condition in Disk Aid. Thanks!

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

First of all, thanks a lot for trying to help.


I have run the disk utility. Here are the results;

User uploaded file

And I tried to thin the localsnapshot too. That seems not working for me as well. Here is the output:


Last login: Sun Apr 1 20:38:57 on console

Buraks-MacBook-Pro:~ Burak$ tmutil listlocalsnapshots /

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

Buraks-MacBook-Pro:~ Burak$ tmutil thinlocalsnapshots / 1000000000

Thinned local snapshots:

Buraks-MacBook-Pro:~ Burak$ tmutil thinlocalsnapshots / 1000000000 1

Thinned local snapshots:

Buraks-MacBook-Pro:~ Burak$

May 12, 2018 1:17 AM in response to oxfrombws

I ALMOST formatted my SSD to resolve this error, but I'm glad I saw your answer first! The error is resolved!


Just one quick bit of feedback... you might want to edit your response to replace the word "dateless" with the correct word, "dataless." While it's somewhat insignificant, there might be pepo[le honing in on that one keyword, and if they searched for "dataless," your solution might not show up for them in Google.


Anyhow, thanks again for taking the time to share!


User uploaded file

Apr 1, 2018 11:35 AM in response to AragornBurak

I suggest you run disk utility on the volume first before this.

see Verify a disk using Disk Utility on Mac - Apple Support


If there is huge amount of disk space used for localsnapshots, you can try thinlocalsnapshots verb of the tmutil.


TMUTIL(8) BSD System Manager's Manual TMUTIL(8)



NAME

tmutil -- Time Machine utility

...

thinlocalsnapshots mount_point [purge_amount] [urgency]

Thin local Time Machine snapshots for the specified volume.

When purge_amount and urgency are specified, tmutil will attempt (with urgency level 1-4) to reclaim purge_amount in bytes by thinning snapshots.

If urgency is not specified, the default urgency will be used.


Google thinlocalsnapshots for suggestion.

May 14, 2018 1:17 AM in response to elgrego

Hi, all -


I tried a couple of things, but they didn't work:


  • I tried adding the prefix com.apple.[etc] to the snapshot name when using sudo tmutil delete, but it didn't help. Same errors.
  • On the hunch that maybe the "idle sleep power assertion" error I got had something to do with the fact that my laptop wasn't plugged in at the time, I tried doing the commands again after having attached the power supply and rebooting. No change. Same errors. I just realized that there was a typo in my first post, though. Here's the correct number:

    IOPMAssertionCreateWithName returned -536870199


Any suggestions?

Nov 8, 2017 2:58 AM in response to oxfrombws

I had this same problem, preventing me from installing the 10.13.1 OS update (which failed silently whilst looking like it had worked, grrrr).


I rebooted to recovery, applied disk first aid and saw the error in the title of this thread, which is how I found this thread.


Followed the instructions here and lo and behold, removing a dataless local time machine backup solved the problem.


I regularly switch my laptop between GMT and GMT+1. I wonder whether there’s any commonality there? I also back up to two separate time machines in the different time zones, so at any one time I always have one time machine backup failing whilst the other succeeds.

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?

Dec 6, 2017 9:45 AM in response to dkalchev

I am dealing with this error and also cannot delete the dateless snapshot.


root# tmutil listlocalsnapshots /

com.apple.TimeMachine.2017-11-27-194607 (dataless)

com.apple.TimeMachine.2017-12-06-120144

root# tmutil delete com.apple.TimeMachine.2017-11-27-194607

com.apple.TimeMachine.2017-11-27-194607: No such file or directory (error 2)

Total deleted: 0B

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.