Deleting Time Machine local snapshots

2019 intel iMac OS 14.2.1


I recently started having issues launching Photoshop due to the scratch disk being full (it was showing 6GB). I moved as many large files as I could online only to free up space which has helped, but my available scratch disk is dwindling again rapidly (from 135GB down now to 54GB). 'About this Mac' is showing that I have 742GB of 1TB available, but Disc Utility shows less than 100GB. Upon further investigation it looks like my problem might be the large number of Time Machine local snapshots being held on my internal HD. I have tried switching Backups to manual which is supposed to delete local snapshots but they are still there. I have tried deleting them through the Terminal (having allowed Terminal full access) but am getting "failure to delete local snapshot". can anyone advise how I can delete them and free up some much-needed disk space?

iMac (2017 – 2020)

Posted on Feb 6, 2024 1:59 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Feb 6, 2024 12:37 PM

The Apple article I linked allows you to view & delete APFS snapshots if they exist. Just make sure you first click the "Data" volume so that the "Show APFS Snapshots" option appears on the Disk Utility "View" menu on the menu bar.


I don't use DropBox, but are you sure those files were fully removed from your local drive? It is possible it may take some time for that process to complete depending how the DropBox software works. You may just need to give it a bit more time to complete its process.


Purgeable space is controlled by macOS itself and can even include data from file syncing services such as iCloud. Maybe try booting into Safe Mode for a moment, then reboot normally to see if that may trigger anything to clear up.


Unfortunately there is no good way of knowing what data is taking up this Purgeable space. There are some places even within your own home user folder where you cannot see what is on the drive even when elevated to a root user on the command line due to the new privacy & security features Apple has implemented into macOS. Even APFS snapshots are hidden from view except when using the instructions I linked or when using the special command line utility to view them.


Similar questions

7 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Feb 6, 2024 12:37 PM in response to Booksniffer

The Apple article I linked allows you to view & delete APFS snapshots if they exist. Just make sure you first click the "Data" volume so that the "Show APFS Snapshots" option appears on the Disk Utility "View" menu on the menu bar.


I don't use DropBox, but are you sure those files were fully removed from your local drive? It is possible it may take some time for that process to complete depending how the DropBox software works. You may just need to give it a bit more time to complete its process.


Purgeable space is controlled by macOS itself and can even include data from file syncing services such as iCloud. Maybe try booting into Safe Mode for a moment, then reboot normally to see if that may trigger anything to clear up.


Unfortunately there is no good way of knowing what data is taking up this Purgeable space. There are some places even within your own home user folder where you cannot see what is on the drive even when elevated to a root user on the command line due to the new privacy & security features Apple has implemented into macOS. Even APFS snapshots are hidden from view except when using the instructions I linked or when using the special command line utility to view them.


Reply

Feb 6, 2024 4:28 AM in response to Booksniffer


1. Check Time Machine Settings:

- Open System Preferences from the Apple menu.

- Click on Time Machine.

- Ensure that automatic backups are turned off by unchecking the box next to "Back Up Automatically." This should prevent Time Machine from creating new local snapshots.


2. Delete Local Snapshots via Terminal:

- Open Terminal from the Applications folder or by searching for it using Spotlight.

- In Terminal, enter the following command to list all local snapshots: tmutil listlocalsnapshots /

- Identify the snapshots you want to delete based on the timestamp.

- To delete a specific snapshot, use the following command (replace [snapshot_name] with the name of the snapshot): sudo tmutil deletelocalsnapshots [snapshot_name]

- Enter your administrator password when prompted.

- Repeat this process for each snapshot you want to delete.


3. Restart Your Mac:

- After deleting the snapshots, restart your iMac to ensure that the changes take effect.


4. Check Disk Space:

- Use Disk Utility or Finder to verify that the local snapshots have been successfully deleted and that disk space has been reclaimed.


5. Monitor Disk Usage:

- Keep an eye on your disk space usage over time to ensure that it remains within acceptable limits. You may also consider regularly backing up important files and data to an external drive to free up additional space on your internal drive.


If you continue to encounter issues or if the local snapshots persist despite your attempts to delete them, consider contacting Apple Support for further assistance. They may be able to provide additional troubleshooting steps or guidance specific to your situation.

Reply

Feb 6, 2024 8:48 AM in response to Booksniffer

Here is a link to an Apple article with instructions for viewing & deleting APFS snapshots:

View APFS snapshots in Disk Utility on Mac - Apple Support


Here is another post I wrote regarding macOS storage terminology which may help you better understand things.

macOS Storage Terminology -- hwtech - Apple Community


It is very unfortunate that Apple decided to focus & use "Available" instead of "Free" storage space since the latter is the most important value. You need to always keep at least 20GB+ of Free space at all times for the normal operation of macOS. For some people they may need to keep 100GB+ Free if there workloads involve large projects such as video editing.






Reply

Feb 6, 2024 10:43 AM in response to HWTech

Thanks, but I'm not sure that helps. I know what the problem is - I have 94GB of 'free' space but 634GB of 'purgeable' space. The only thing I have that was eating huge amounts of disk space were work-related files in Dropbox - I have moved (temporarily) nearly all of those online, but this has not affected my free space at all. The only thing that I can find that could be eating up space are these Time Machine snapshots. I've tried everything that I'm supposed to do but Terminal will not allow me to delete them. I just need to know HOW to delete them to see if that is in fact the problem.

Reply

Feb 6, 2024 2:02 PM in response to HWTech

Thank you SO SO much for the tip about booting in Safe Mode! Disk Utility is now showing I have 535GB of free space. You don't know how relieved I am - I have a few deadlines over the next few days and have been living in dread of Photoshop quitting on me due to a full scratch disk. I can sleep without worrying tonight.

Reply

Feb 6, 2024 5:20 PM in response to Booksniffer

I ran across an interesting YouTube video that describes a strategy to free up the System Data on a Mac running Sonoma. Here's the link: Free Up System Data on Mac


I mention this because it appears, from what I saw in this video, that Adobe products leave a lot of "stuff" that gets thrown into the System Data...and a lot of this "stuff" can be cleared out. You mentioned Photoshop, which is why I thought of this video.


Hopefully it helps.

Reply

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.

Deleting Time Machine local snapshots

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