Question

My understanding is that with APFS, volumes exist inside containers, and the volumes all grow as much as needed, as long as there is space in the container.

But I want to limit the space for the volumes. I have a 2TB disk with two volumes - one for Time Machine and one for general storage. I don't want the Time Machine volume to take the entire physical disk. Sadly, there is no way (in macOS 11 Big Sur) to delete Time Machine snapshots, so I need to limit its space by limiting the size of the volume.

Was it helpful?

Solution

When creating an APFS volume, you can set a quota. In Disk Utility, in the sheet to create a new volume, choose Size Options and set a Quota Size.

The optional quota size limits how much storage this volume can allocate.

This can't be added or changed for an existing volume.

OTHER TIPS

There is no way to limit individual APFS volumes that are used with Time Machine as per macOS 11.1. Any quota pre-set to an APFS volume would be removed by Time Machine when it takes over it.

The only way would be to partition the drive and create distinct APFS containers to limit Time Machine's use of the drive.

Yes it's possible, but not by the Disk Utility, because you can't set a role to your Volume by this way.

You can find my solution at this link : https://apple.stackexchange.com/a/419848/415185

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top