Deleting local snapshot to clear up space

My Mac suddenly created a snapshot after I installed the overdue Mojave update. I have almost 66Gb of free space, but 65Gb of it is shown as purgeable space. I already tried utilizing terminal commands to manually delete the snapshot and it shows that it is deleted successfully, but there is still no change in free space. Finder, 'Get info', and Disk utility all show different values. How can I clear this space?


MacBook Pro 13″, macOS 10.14

Posted on Jul 21, 2021 7:10 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 21, 2021 7:18 PM

Hello, JoRizky143.


This support doc has info about the local snapshots, including how to force TM to delete them.

About Time Machine local snapshots - Apple Support:

https://support.apple.com/en-us/HT204015

8 replies

Jul 21, 2021 8:07 PM in response to D.I. Johnson

On APFS-based Macs, there are additional commands under diskutil apfs - listSnapshots and deleteSnapshot.


diskutil apfs 
Usage:  diskutil [quiet] ap[fs] <verb> <options>
        where <verb> is as follows:

     list                (Show status of all current APFS Containers)
     listUsers           (List cryptographic users/keys of an APFS Volume)
     listSnapshots       (List APFS Snapshots in a mounted APFS Volume)
     listVolumeGroups    (List all current APFS Volume Group relationships)
     convert             (Nondestructively convert from HFS to APFS)
     create              (Create a new APFS Container with one APFS Volume)
     createContainer     (Create a new empty APFS Container)
     deleteContainer     (Delete an APFS Container and reformat disks to HFS)
     resizeContainer     (Resize an APFS Container and its disk space usage)
     addVolume           (Export a new APFS Volume from an APFS Container)
     deleteVolume        (Remove an APFS Volume from its APFS Container)
     eraseVolume         (Erase contents of, but keep, an APFS Volume)
     changeVolumeRole    (Change the Role metadata flags of an APFS Volume)
     unlockVolume        (Unlock an encrypted APFS Volume which is locked)
     lockVolume          (Lock an encrypted APFS Volume (diskutil unmount))
     changePassphrase    (Change the passphrase of a cryptographic user)
     setPassphraseHint   (Set or clear passphrase hint of a cryptographic user)
     encryptVolume       (Enable FileVault security in background or instantly)
     decryptVolume       (Disable FileVault security in background or instantly)
     deleteSnapshot      (Remove an APFS Snapshot from an APFS Volume)
     defragment          (Arm or check status or begin APFS defragmentation)
     updatePreboot       (Update a macOS Volume's related APFS Preboot Volume)
     syncPatchUsers      (Copy Volume Group crypto users System-to-Data role)

diskutil apfs <verb> with no options will provide help on that verb

Jul 21, 2021 7:26 PM in response to D.I. Johnson

Hi, D.I. Johnson.


I already came across that support doc and it got me confused because it says that snapshots are automatically deleted if space is needed like whenever the user tries to update the software. I'm trying to download the Big Sur update but I'm prompted saying I've got no space available. That is why I'm trying to manually delete the snapshot. I already tried the deletelocalsnapshot and the thinlocalsnapshot, but the snapshot is too stubborn

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 local snapshot to clear up space

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