About Apple File System (APFS)
It just works
Starting with macOS High Sierra, Apple introduced its newAPFS file system on Macs.
APFS is astate-of-the-art file system, optimized for the now dominating solid-state drives. It’s more scalable, more reliable and more feature-rich compared to its predecessorHFS+.
The best thing about APFS is thatit just works. You, as a user, will hardly notice any change after switching to APFS. (This happens by default when you install macOS High Sierra or newer on Macs with SSD drives, such as MacBooks.)
If you’re interested, here’s adeeper look on APFS features.
What’s different
Here are a few things to keep in mind when working with APFS disks and DaisyDisk:
APFS introducessnapshots — a new way to create instant snapshots of your entire disk. The snapshots are cheap and fast to create and delete, they don’t consume additional disk space. Time Machine now uses them to create its hourlylocal snapshots, which are the main contributor to thepurgeable space.
In contrast toHFS+,APFS doesn’t delete its snapshots until really necessary. Over time, as you make changes to the data on your disk, the snapshots may pile up until80% of disk capacity is taken. Snapshots older than 24 hours are deleted automatically.
Consequently,About This Mac > Storage may now show theSystem categorytaking too much space on macOS High Sierra.
In DaisyDisk, unlike previously, theAPFS snapshots cannot be revealed byscanning as administrator. Instead, DaisyDisk providesother macro-level tools for viewing and reclaiming the purgeable space.
APFS introducesspace sharing between volumes. In APFS, every physical disk is a container that can have multiple volumes inside, which share the same pool of free space. Your startup disk is also a container, and beside your data, macOS keeps some hidden system volumes there.
For this reason, in DaisyDisk, you will notice a new opaquecomponent inside thehidden space —“other volumes”, typically a few GB.
Besides, if you create your own APFS volumes, they will be included into the “other volumes” too.
APFS introducesclones — a more fine-grained analog ofhard links. The effect of using clones is that the aggregate size of a bunch of files can be smaller than the sum of the same files taken separately.
For now, macOS does not provide DaisyDisk any way to detect the APFS clones, but fortunately, their use appears to be very limited on a typical APFS disk.
Scanning an APFS disk in DaisyDisk takes somewhat longer and consumes more CPU power compared toHFS+. Hopefully, this performance issue will be optimized in future updates of APFS.
See also
- Version 4, English
- Version 3, English
- Version 2
- Version 1, English