High Sierra shows wrong disk usage for photos in information
I recently ran into this - on my 500GB SSD, my free space was only 5% where I expected more like 75%. I found an answer in a blog that worked for me:
Apple state that they automatically remove local snapshots when disk space is low, but their definition of low is apparently only 5GB of free space remaining – not really much free working space in 2017 when you might want scratch space of 22GB for 1 hour of 4k 30FPS footage.
On older MacOS releases, it was possible to disable the local snapshot feature entirely, this doesn’t seem to be the case with High Sierra – but it does appear to be possible to force an immediate purge of local snapshots with the following command:
sudo tmutil thinLocalSnapshots / 10000000000 4
From the tmutil
manpage:
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.
Most likely the space is taken by Time Machine. It keeps making local snapshots when the persistent TM storage is not available. The local snapshots can pile up to as much as 80% of disk space. After the next backup, or when the disk space runs low, the local snapshots are automatically removed by macOS. So this is not really a problem that needs a fix, the system will take care of it.
That said, I'd agree that the System Information app needs a fix on High Sierra. It seems to include the local snapshots into "System" category and therefore it appears as used space, while Finder counts the snapshots as "purgeable", including it into the "available" space. This inconsistency is confusing.
DaisyDisk currently includes the snapshots into the used space (as opposed to Finder). Previously the snapshots could be revealed (./MobileBackups folder) when scanning "As Administrator", but starting from High Sierra and APFS, the local snapshots are saved outside the scannable area, so DaisyDisk simply shows a bigger "hidden space" segment. An update of DaisyDisk is said to be coming that will display purgeable space more consistently with Finder: https://daisydiskapp.com/manual/4/en/Topics/HiddenSpace.html?subtopic=StillHiddenSpace
I had a similar problem just now: Finder, "Get Info", and Disk Utility were all reporting 18GB free on a 250GB SSD that should have had plenty of free space. Under "About this Mac"->Storage, it reported 130GB of "System" usage. None of the space was listed as "purgeable", and macOS started complaining about lack of disk space.
I found a solution in this Apple discussion thread. In my case, the problem was fixed by going to Time Machine Preferences and removing an old backup drive (that had long ago died) from the list of backup drives. Immediately, the available disk space on my SSD started being reported correctly as 120GB.
I found that just opening the Storage Administration window (in System Information) fixed this.
This was important as I needed to restore my photo library from Time Machine and throwing the broken folder in the trash and emptying the trash did not release the diskspace. Disk Utility said there were five snapshots on the disk which most likely was the culprit.