Possible to limit storage in a namespace?

CelticWebs

Member
Mar 14, 2023
75
3
8
Simple question that may or may not have a simple answer.

If I've got for example 40TB datastore setup in PBS, then I had 3 different people to backup to it. One user will hog all the storage if they're not limited. So is it possible to setup 3 differnet name spaces but limit the storage capacity based on the namespace? That way I could say user1 Namespace, 5TB, User2 Namespace 10Tb, user3 Namespace 1TB etc. Is this possible?
 
Hi!
sadly this is not possible for namespaces, but you can still create datastores for each user!
If you use something like zfs, you can create a dataset and assign quotas for each datastore.
 
You must run also the Proxmox BS internal process and an "clean up/ delete" for every user after ex. 10 Backup.
 
Hi!
sadly this is not possible for namespaces, but you can still create datastores for each user!
If you use something like zfs, you can create a dataset and assign quotas for each datastore.
Thanks for the response, is this possible via the GUI?
 
Just realised how easy it is to do from command line anyway.

For anyone looking you simple create the Dataset using

Code:
zfs create POOLNAME/DATASETNAME

you can then change the size limit using

Code:
zfs set quota=2000G POOLNAME/DATASETNAME

Extremely straight forward!

Shame it's not available in the GUI but not real hardship.
 
  • Like
Reactions: ggoller

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!