macOS Clean Time Machine Snapshots

Original link: https://blog.frytea.com/archives/750/

75

After installing Asahi Linux, it was found that the available disk space was 0. After consulting the documentation, it was found that it was a problem with the time machine.

 We're going to resize this partition: APFS [Macintosh HD] (245.11 GB, 6 volumes) Total size: 245.11 GB Free space: 132.23 GB Available space: 0 B Overhead: 94.23 GB Minimum total size: 245.11 GB (100.00%)

After the time machine is turned on, the system will automatically take a local snapshot, which will occupy all available space and need to be cleaned up manually:

 $ tmutil listlocalsnapshots / $ sudo tmutil deletelocalsnapshots # For example, $ sudo tmutil deletelocalsnapshots 2021-06-26-123740 # Once you see the statement "Delete local snapshot" followed by the date and time stamp, the local snapshot has been deleted.

Reference

This article is transferred from: https://blog.frytea.com/archives/750/
This site is only for collection, and the copyright belongs to the original author.