APFS space sharing: why volumes show different free space, reserves and quotas

By the Zofle team · 11 November 2026 · 7 min read

If you run df -H in Terminal or open Disk Utility on any modern Mac running macOS Sonoma, Sequoia, or later, you will likely notice a puzzling phenomenon: five or six completely different volumes all report the exact same free space down to the last gigabyte.

$ df -H | grep disk3
/dev/disk3s1s1    11G    11G   185G    6%   /
/dev/disk3s5     120G   120G   185G   40%   /System/Volumes/Data
/dev/disk3s2     6.2G   6.2G   185G    4%   /System/Volumes/Preboot
/dev/disk3s4     1.2G   1.2G   185G    1%   /System/Volumes/Recovery
/dev/disk3s6     2.1G   2.1G   185G    2%   /System/Volumes/VM

Macintosh HD (the sealed system snapshot), Data (your user home folder and apps), Preboot, Recovery, and the VM swap volume all claim to have 185 GB available. Did macOS multiply your SSD storage? If you write a 50 GB file to your Data volume, does free space drop to 135 GB across all five volumes? The answer is yes—and it is the foundation of Apple File System (APFS) Space Sharing.

Containers vs Partitions: the storage pool revolution

Under traditional filesystems like HFS+, FAT32, NTFS, or Linux ext4, partitioning a disk was a rigid, physical commitment. If you had a 500 GB drive and split it into two 250 GB partitions:

  • Partition A was locked to sectors 0 through 488,281,249.
  • Partition B was locked to sectors 488,281,250 through 976,562,499.
  • If Partition A ran out of space while Partition B had 150 GB completely unused, Partition A would crash with a "Disk Full" error. Reallocating space required risky, destructive partition-table resizing and moving millions of contiguous disk blocks.

APFS replaces static partitioning with Containers (Storage Pools). An APFS Container spans a designated physical disk partition (or multiple slices). Within that Container, individual APFS Volumes do not own fixed physical sectors. Instead, they treat the Container as a single, pooled reservoir of unallocated disk blocks.

Every volume in the container draws storage on demand as files are written, and releases blocks back to the shared pool when files are erased. Because free blocks belong to the container rather than to any single volume, every member volume reports the container's total unallocated free capacity as its own available free space.

Container vs Traditional Partitions

FeatureTraditional Partitions (HFS+ / MBR / GPT)APFS Space Sharing (Container Pool)
Boundary AllocationFixed physical cylinder / LBA rangesDynamic block pooling across container
Adding a VolumeRequires repartitioning & shifting data blocksInstantaneous (diskutil apfs addVolume in <1s)
Free Space VisibilityIsolated per partition (stranded free space)Shared globally across all sibling volumes
Resizing FrictionSlow, dangerous, often requires external backupZero friction; volumes shrink & grow automatically
Enforced BoundariesHard boundary by partition sizeOptional reserve floor and quota ceiling
Encryption (FileVault)Full partition or core storage wrapperIndividual per-volume cryptographic keys

The runaway problem: why Reserves and Quotas exist

While space sharing prevents stranded free space, it introduces a dangerous new failure mode: resource starvation. If you create a second APFS volume for local virtual machines, automated video render scratch files, or a Time Machine backup destination, a rogue script or massive export could fill all 185 GB of pooled space. When that happens, your primary macOS Data volume also runs out of space, preventing macOS from allocating swap memory and freezing the system.

To maintain order inside a shared container, APFS provides two volume-level constraints:

  1. Reserve Size (-reserve): Guarantees a minimum amount of disk space strictly for that volume. Even if sibling volumes write hundreds of gigabytes, the APFS allocator stops them from encroaching into this volume's reserved floor.
  2. Quota Size (-quota): Imposes a hard maximum ceiling on how much space a volume can consume, regardless of how much unallocated space remains in the container.

Worked calculations: pooled space vs reserves and quotas

To understand how APFS calculates free space when reserves and quotas are configured, consider this realistic scenario:

  • Container Total Capacity: 500 GB
  • Active Data across all volumes: 200 GB
  • Raw Container Free Space: 300 GB (500 GB − 200 GB)

Now, let's add two custom volumes with explicit constraints:

  • Volume Dev: Created with -reserve 50g -quota 120g. Currently holds 10 GB of files.
  • Volume Media: Created with -reserve 30g -quota 100g. Currently holds 20 GB of files.
  • Macintosh HD - Data: Default unconstrained volume. Currently holds 170 GB of files.

How APFS allocates the remaining space:

MetricVolume DevVolume MediaMacintosh HD - Data (Default)
Current Usage10 GB20 GB170 GB
Guaranteed Reserve Floor50 GB (40 GB unwritten)30 GB (10 GB unwritten)None (0 GB)
Remaining Reserve Protection40 GB protected10 GB protectedN/A
Quota Ceiling120 GB (110 GB headroom)100 GB (80 GB headroom)None (Container ceiling)
Reported Available Free Space110 GB (capped by quota)80 GB (capped by quota)250 GB (300 GB free pool − 50 GB unwritten reserves)

Notice what happened to Macintosh HD - Data: even though the container has 300 GB of raw unwritten blocks, it only reports 250 GB available. APFS subtracts the 50 GB of unwritten guaranteed reserves (40 GB for Dev + 10 GB for Media) so your primary drive never writes into storage guaranteed to other volumes.

Real Terminal commands: inspecting and creating volumes

All APFS container and volume parameters can be queried and modified natively via diskutil. These inspection commands are completely safe to run:

# 1. List all APFS containers, physical stores, volumes, reserves and quotas
diskutil apfs list

# 2. Get detailed low-level metrics for the root volume
diskutil info /

# 3. Inspect a specific volume (e.g., disk3s5)
diskutil info /dev/disk3s5

Inside the output of diskutil apfs list, examine the Capacity Consumed, Capacity reserve, and Capacity quota fields for each volume.

Creating an APFS volume with reserve and quota

To create a dedicated project volume that is guaranteed at least 10 GB of space and capped at 50 GB so it cannot overrun your SSD:

# Syntax: diskutil apfs addVolume <containerDev> <format> <VolumeName> [-reserve <size>] [-quota <size>]
diskutil apfs addVolume disk3 APFS TestVol -reserve 10g -quota 50g

Adjusting or removing reserves and quotas on an existing volume

If your volume runs out of space because it hit its quota, you do not need to reformat. You can modify or remove the quota dynamically on a live, mounted volume:

# Increase quota to 80 GB on disk3s7
diskutil apfs resizeVolume disk3s7 0 -reserve 10g -quota 80g

# Remove quota and reserve entirely (revert to pure dynamic space sharing)
diskutil apfs resizeVolume disk3s7 0 -reserve 0 -quota 0

Note: Passing 0 as the size argument to resizeVolume tells diskutil not to alter physical partition slicing, but instead update volume metadata properties. Passing -quota 0 disables the quota cap.

Why Disk Utility shows "Purgeable" space

When calculating free space inside an APFS container, macOS differentiates between Free Space and Available Space. The difference is Purgeable Space, which includes:

  • Local Time Machine mobile snapshots (com.apple.TimeMachine.*).
  • Cached cloud files in iCloud Drive, Apple Music, and TV app.
  • Caches and temp files in ~/Library/Caches.

Purgeable space consists of files that macOS considers safe to purge silently if an application requests space. However, low-level POSIX utilities like df and standard C/Python file writers only see raw unallocated blocks. If your Mac shows 60 GB Available in Finder but df shows only 5 GB Free, an installer expecting 20 GB of raw blocks may abort before macOS gets a chance to prune purgeable snapshots.

Where Zofle fits. Zofle, our free Mac app coming soon to the Mac App Store, analyzes your APFS containers and maps real container allocation across volumes, local APFS snapshots, and purgeable caches. It shows you the true unconstrained free space before you run into quota traps or disk-full freezes. Join the waitlist and get Zofle Pro free when it launches.

Sources and method

  • Apple Inc.: Apple File System Guide (Container Architecture, Space Sharing, and Volume Groups).
  • macOS Sequoia (15.1) Darwin kernel source and diskutil(8) APFS command reference.
  • Howard Oakley, The Eclectic Light Company: APFS: Reserves and Quotas and volume capacity calculations.
  • Tested on Apple Silicon Mac mini (M4, 256 GB SSD) across multi-volume container configurations.

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.