Sub topic 1
How your Mac uses its disk
Prerequisites
This chapter assumes you can open System Settings and Finder and know where your home folder is. You don't need Terminal yet. One optional command appears near the end, and you can skip it.
One container, several volumes
Modern Macs format their internal disk with APFS (Apple File System). APFS doesn't split the disk into fixed-size partitions. It creates one container that holds several volumes, and the volumes share the container's free space.
Two volumes matter for storage:
- Macintosh HD holds macOS itself. It is read-only and sealed, so ordinary apps and users can't change it.
- Macintosh HD - Data holds your files, apps, settings, and caches. It appears in Terminal as
/System/Volumes/Data.
Finder shows the two volumes as a single "Macintosh HD", so you rarely see the split. Both volumes draw from the same pool, and neither has a size limit of its own. When your Data volume grows, the free space for the whole container shrinks. This is why "free space" is a property of the container and not of any one volume.
Why the numbers can look odd
Because volumes share space, a few things that look strange are normal.
- Used space on the Data volume is not the whole story. Other volumes in the container, such as Preboot, Recovery, and VM, also take space. They are usually small.
- Free space can change without any action from you. macOS can reclaim some space on its own (called purgeable space, covered in a later chapter), and background tasks can use space for caches, logs, and updates.
- Totals may not add up. A disk sold as 512 GB uses decimal gigabytes (1 GB = 1,000,000,000 bytes). Some tools count in binary units, so the same disk looks smaller. The capacity also includes the system volume, which you can't use for your own files.
Checking free space
To see how much room your user data has, run this in Terminal. It's optional, and the same information is available in System Settings.
df -h /System/Volumes/Datadf means "disk free". The -h flag prints sizes in human-readable units such as G and T. The output has these columns:
| Column | Meaning |
|---|---|
| Filesystem | The device and volume being reported |
| Size | Total size of the container, shown for this volume |
| Used | Space used by this volume |
| Avail | Free space you can actually use |
| Capacity | Percentage of the container in use |
Treat Avail as the number that matters. The Size and Used columns for a single volume can mislead, because the container is shared.
Why this model matters
Knowing the layout prevents three common mistakes.
- Looking for the "system partition" to shrink. You can't resize volumes the way you would partitions, and you don't need to. They adjust automatically.
- Expecting deletions to be visible everywhere. If you delete files, free space rises for the whole container. It may not change if the files were already counted as purgeable, or if snapshots still hold the data.
- Blaming the system volume. The sealed system volume is fairly constant in size. Space you can reclaim almost always lives on the Data volume, in your home folder, apps, and caches.
The next chapters use this model. You will open Storage settings, read its categories, and then decide what to remove.
Exercise
Your Mac has one internal disk with a Data volume and a system volume. You delete 10 GB from your Documents folder. Why can the free space shown by df -h /System/Volumes/Data rise by about 10 GB even though the system volume was not touched?
Show answer
Both volumes belong to one APFS container and share its free space. Freeing 10 GB on the Data volume returns that space to the shared pool, so the Avail figure rises by about 10 GB. (It might rise less if Time Machine local snapshots still reference the deleted files.)
Exercise
Which volume holds your files, apps, and caches, and what is its path as seen in Terminal?
Show answer
The Data volume, shown as "Macintosh HD - Data" in Disk Utility and found at /System/Volumes/Data in Terminal.