I'm trying to configure quotas for home directories. the more research in the community section i do the more confused i am over what is and isn't possible.
so i've created a volume (users) and inside that a qtree (1GB).
/vol/users/1GB
I;ve used cifs.homedirs to allow the user to map their homedrive with \\filername\~ and that works lovely.
I've applied a quota of 1GB for users against this qtree. actually, i think its the default quota becuase of the * at the start of the quota line. in /etc/quotas it looks like
* | user@/vol/leeds_users/1GB | 1048576K | - | - | 972800K | - |
this isn't currently working, ive got three users in the qtree and when they collectively take up 1GB, no more storage is allowed. but im fairly confident i'll get this working, as there are threads like this one that explain how this works.
when i do get this working, I'd like to create a new qtree, 5GB inside users and apply a quota to that,
/vol/users/5GB
will i be able to have two quotas that apply to users? and configure a quotas file like this?
* | user@/vol/users/1GB | 1G | - | - | 950M | - |
* | user@/vol/users/5GB | 5G | - | - | 4.5G | - |
if you can give me a link to docco to read to understand this properly, would be most appreciative.