Time Machine Snapshots not erasable.

Hello everyone,

It's a few weeks I am struggling with my internal HDD that is apparently full. Eventually I found out that I have 330GB of hidden stuff to delete, which is basically old TM snapshots. Firstly with CleanMyMac, then with DaisyDisk, and even I tried to delete them one by one through the terminal, but everything looks impossible.


In the meantime I keep receiving alerts that the space on my hdd is finished and that I should delete something. In the worst cases it affects also the RAM, and speed of course, and the system pushes me to close some applications. Everywhere it seems that this space it is not occupied while instead it is and it is slowing me down and annoying a lot. Is it the new Big Sur the problem?


How can I rid of this stuff??? Any idea?


I shared with you some screenshots.








Thanks,

S.


P.S. Of course I tried to switch off the TM automatic backup, but it didn't work.

Posted on Apr 11, 2021 11:46 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 12, 2021 2:59 AM

The worst thing you can do to your mac is letting creepy software like "cleanmymac" on it.


Snapshots should be cleared automatically, but for some reason sometimes they aren't.


It is however relatively easy to clear them using tmutil.


Try this: in Terminal, type the following:


sudo tmutil thinlocalsnapshots / 100000000000 4


type your password when requested (nothing will appear, not even bullets or asterisks as you type the password), and press enter. It will take a while, wait until the prompt appears on the next line.


Let us know how that goes.


That large number is about 100GB, and the number 4 is the highest "urgency".

So the above command will try to reclaim about 100GB of free space by "thinning" the space used for snapshots.

Similar questions

17 replies
Question marked as Top-ranking reply

Apr 12, 2021 2:59 AM in response to Sag167

The worst thing you can do to your mac is letting creepy software like "cleanmymac" on it.


Snapshots should be cleared automatically, but for some reason sometimes they aren't.


It is however relatively easy to clear them using tmutil.


Try this: in Terminal, type the following:


sudo tmutil thinlocalsnapshots / 100000000000 4


type your password when requested (nothing will appear, not even bullets or asterisks as you type the password), and press enter. It will take a while, wait until the prompt appears on the next line.


Let us know how that goes.


That large number is about 100GB, and the number 4 is the highest "urgency".

So the above command will try to reclaim about 100GB of free space by "thinning" the space used for snapshots.

Apr 12, 2021 8:56 PM in response to Sag167

Hey again!


First, allow Terminal Full Disk Access. You can add it to System Preferences > Security and Privacy > Privacy > Full Disk Access > “+” > Terminal.


Next, disable Auto-backup in System Preferences > Time Machine.


Next, open Terminal and run:


sudo tmutil thinlocalsnapshots / 999999999999999 4


(Yes, that’s 15 9’s)


Anyhow, I remember seeing them right under /Volumes, and don’t believe they’re read only as the system partition, but it’s been a while since I’ve had to find them, this command should get rid of them.


This developer article may also shed some light:


APFS snapshots: where are they located?

https://developer.apple.com/forums/thread/81171


Mind you, I believe this article was printed at the release of APFS/High Sierra, etc.


Hope one or the other helps! Let me know!

Apr 16, 2021 8:16 PM in response to Sag167

Hey again!


Wow, that should’ve wiped them clean. Well if it’s going to be stubborn, I’d go with @Luis Sequeria1, to erase the internal drive and reinstall the OS, I personally would set it up as new without migrating and do a manual restoration via drag and drop, copy and paste, etc.


Of course if you need to, you can also manually backup your data the same way.


Unless it’s actually an external HD that’s not functioning as expected, perhaps that drive would need the same.


Sorry the easiest route didn’t want to work as it should, good luck!

Apr 12, 2021 1:00 AM in response to Sag167

Hey there!


Can you say what you attempted in Terminal as far as removing the local snapshots? There maybe another way.


Likewise, I don’t understand some of the language in the screenshots. I know local snapshots are hidden by default. However can you show the file path in what those apps brought you to, to show the cause of the storage usage?

Apr 12, 2021 3:20 AM in response to DiZoE

About the Terminal I input:

  • tmutil listlocalsnapshots /
  • sudo tmutil deletelocalsnapshots
  • sudo tmutil deletelocalsnapshots 2021-01-31-004314 (Failed to delete local snapshot '2021-01-31-004314')


Then, yes, sorry the system is in Italian, but basically in the screenshots you can see that it seems there are 330GB of free space or of hidden stuff to be deleted. DaisyDisk and CleanMyMac found it but they couldn't erase it. DaisyDisk at least told me that basically it's time machine snapshots. I tried to reach them but but they are in some hidden directories and I can't find them, something like Volumes/mobilesomething. I use the key command/shift/dot to unhide the folders but still I cannot find where these snapshots are.



Thanks for helping me.

S.


Apr 12, 2021 3:28 AM in response to Luis Sequeira1

Hi Luis,

you are right, but at the very beginning I couldn't find what was happening. I thought it was something regarding the sync of Dropbox/GDrive/etc. and a bad use of the cache or similar. So I started using CleanMyMac to analyse the space, since even the native features were telling me anything. Then once I found an hidden stuff to be deleted, I discover DaisyDisk, which told me about the snapshots. So without it I doubt I could get at least a clue.


I used your command, but it doesn't work. I still have 330GB to delete.


Thanks!

S.

Apr 12, 2021 4:13 PM in response to Sag167

Anyway there is something wrong with Time Machine. I used CCC to make a Backup into an external drive 1TB. It works. Then I inizialized and reset the drive and I tried to do the same with Time Machine saving the backup in the same drive and it stops saying that the drive is full while of course it's not. It looks like it can't understand the space available.


If I activate the automatic backup it should understand that there is not space and that it should delete old snapshots automatically, isn't it?


I don't know. I am a bit lost. :-(


I think I should go to an Apple center and lose at least a full day or more.


S.

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.

Time Machine Snapshots not erasable.

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