Purging Purgeable Data

The amount of free space on your hard drive is in question.

Some application says you don't have enough free space to do something with 1 GB of data (such as iTunes cannot backup your iPhone to the local computer!).

Finder says something like 200 GB are free. Yay! no....

Disk Utility says 200 GB are free, but 199.9 GB are Purgeable. Those numbers are made up. See my screenshot for my actual situation.

User uploaded file

If you're like me, you thought, "Where's the Purge button?" Well, the only one we find is in the back of our throat.

You read articles.

You do not have Optimize Mac Storage turned on and never have.

You have hooked your computer up to your Time Machine backup and let it run overnight, plugged in and turned on without closing the lid (just in case, you know, something wtvrs.)

You read MOAR articles.

You turn on Optimize Mac Storage. You let it do its thing for a day. Nothing changes. You turn it back off. You wait a day. Nothing changes.

You turn off Automatic Backups in Time Machine. You reboot. You wait a day. Nothing changes.


Then you start reading all sorts of fun things in Terminal

tmutil disablelocal is an Unrecognized verb. Nothing else works. And then you start to mash the info together...


HERE IS WHAT I CAME UP WITH:

Open Terminal.

df -h

See list of volumes / drives. Find the one you care about. It is not always /dev/disk1. For example, here's mine:

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on

/dev/disk1s1 605Gi 420Gi 184Gi 70% 1268158 9223372036853507649 0% /

devfs 185Ki 185Ki 0Bi 100% 640 0 100% /dev

/dev/disk1s4 605Gi 1.0Gi 184Gi 1% 1 9223372036854775806 0% /private/var/vm

/dev/disk0s3 94Gi 59Gi 35Gi 64% 242895 36453481 1% /Volumes/BOOTCAMP

map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net

map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home


I find that /dev/disk1s1 is my largest volume and the stats noted corespond to my actual local drive space usage.

Now do this:

diskutil secureErase freespace 0 /dev/disk1s1

See something like a percentage meter and such. Let the thing do its work. When it is done is looks like this:

Started erase on disk1s1 Macintosh HD

Creating a temporary file

Securely erasing a file

Creating a secondary temporary file

Mounting disk

Finished erase on disk1s1 Macintosh HD

NOW go look at Finder and Disk Utility.

User uploaded file

HEY-OHHHHH!!!! It worked for me. BUT you really should make sure the simpler things do not work for you, first.


Dear Apple Developers:

Statistically NOBODY knows that local Time Machine Snapshots are being made.

Your OS doesn't just make room for new data by eliminating snapshots on the fly. It might be supposed to, but it don't.

So, since we can't see your magic hidden data and you don't give us an option to work this out, we end up screwed and having to go muck about in the Terminal. FOR A WEEK. Just so that we can, in my case, make a complete local backup of my iPhone SO THAT I CAN WIPE RESET AND REINSTALL IT... *AGAIN*.


No Love,

All Of Us.


PS - Stop doing things like this.

MacBook Pro (Retina, Mid 2012), OS X Mavericks (10.9), 2.7 i7, 16GB RAM, SSD, 2TB TM USB

Posted on Oct 27, 2017 8:56 AM

Reply
10 replies

Oct 27, 2017 7:19 PM in response to Gryphon MacThoy

Purgeable does not equal unnecessary, unwanted, extraneous, or otherwise something you want to purge.

They are files that the OS detects have a copy on iCloud and could be deleted if you need the space.


From what I can tell, Local Snapshots show up as Purgeable. Sometimes, local snapshots can get stuck and won't delete. There is information in the linked FAQ on how to turn them on or off in Terminal, but as that website hasn't been updated since the death of its author, you might have to check other sources if those methods don't work.

Oct 27, 2017 8:05 PM in response to Barney-15E

OK, here we go. "It's easy! Just do this!"

tmutil enablelocal

That command no longer works in High Sierra. "Check other sources..." Exactly. Why, therefore, I shared my experiences here.


But hey, thanks for reading the whole thing I wrote so you'd know I already knew and tried literally everything in the article you linked to with no results. No? Oh, then you just thought you'd comment the most basic possible "help" to a complicated problem. <sarc>AWESOME</sarc>

Nov 16, 2017 12:54 AM in response to Barney-15E

I think you've missed the point, here. You wrote, "...you may have to search somewhere else to find someone who actually knows how ... to cause the Snapshots to disappear." I did. It was me. The method I outlined actually works and is not outdated, which is more than can be said for every other article I found on the issue on these forums.


This isn't wailing and gnashing. It's called Technical Support. I do it. You should try sometime. Or at the very least, stop failing to show how smart you are by proposing an outdated solution that doesn't work.

Jan 6, 2018 6:31 AM in response to Gryphon MacThoy

As someone frustrated by this issue and being clueless when it comes to computers, I really appreciate your posts.

I tried your method but sadly it didn't work for my main drive. I copy and pasted your text (/dev/disk1s1 appears to be my main drive). Terminal did the '0%.....10%....20%....30%....' thing but on checking the drive Info and Disk Utility after it ran it appears I still have 100GB of purgeable data.


User uploaded fileUser uploaded file



Apple states that “In macOS Sierra, “Purgeable” content appears when you've turned on Optimize Mac Storage.".

Where's the advice for macOSHigh Sierra?!

If I follow the advice for macOS Sierra then the inference is that if I DON'T turn on 'Optimize Mac Storage', then purgable data ought not to appear. But it DOES appear so what purpose does the Apple statement serve? None other than to confuse and confound their customers.


User uploaded file


I see someone thought it useful to provide an Apple 'Feedback' link.

"We read all feedback carefully, but we are unable to respond to each submission individually." - The Apple feedback page.

With all due respect I don't want to provide feedback, I want a solution.

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.

Purging Purgeable Data

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