User Disk Quota on Monterey

How to setup per-user disk quotas in macOS Monterey? The BSD quota

functionality seems unworkable any longer since the root file system is

read-only.

And I don't find anything in the Apple documentation.

All the search I've done in Google shows how to do it on old macos version, which don't work with Monterey.


Any help or hint would be great!


Regards,

Alessandro

Posted on Nov 20, 2021 10:07 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 20, 2021 10:41 AM

Assuming that you don't have too many users, you could set up multiple APFS volumes (one per user) in the same container. You should be able to specify a disk quota for each such volume. Also, the storage allocated to the container is shared by all of its APFS volumes.


- Pie Lover

3 replies

Nov 20, 2021 10:55 AM in response to BlueberryLover

Ah... I didn't know this feature of the APFS volumes! Seems interesting :-D


Let say I create 2 APFS volumes (volumeA and volumeB), each with a limitation of 500GB (quota) on my 2TB container.

I have userA and userB.

Can I mount the volumeA on /Users/userA and volumeB on /Users/userB?

That way they do whatever they want on their home directory until the limit (quota) is reached.


Is it possible? (probably yes :-D but just want to be sure!)

Probably I need to create the volumes and the mounts before creating the users.


Regards,

Alessandro

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

User Disk Quota on Monterey

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.