Hello,
I’m trying to setup some nested default quotas. I’ve got:
/ifs/group/g1
/ifs/group/g2
/ifs/group/g3
/ifs/group/g4
# isi quota quotas list --type=default-directory
Type AppliesTo Path Snap Hard Soft Adv Used Efficiency
----------------------------------------------------------------------------------
default-directory DEFAULT /ifs/group No 50.00G - - 0.00 -
Which gives all directories under /ifs/group the default quota of 50G. Works well.
I also want to have a default-user quota under each group directory.
So user1, user2, etc.. all have their own default quotas under /ifs/group/g1
And another, separate default quota under each of the other directories (g2, g3, g4).
So user1’s files in g1 do not count towards user1’s quota in g2…
I need to specify something like --type=default-user –path=/ifs/group/* (so that each directory gets its own user quota universe).
I could use:
# isi quota quotas create --type=default-user --path=/ifs/group/g1 --hard-threshold=10G
# isi quota quotas create --type=default-user --path=/ifs/group/g2 --hard-threshold=10G
# isi quota quotas create --type=default-user --path=/ifs/group/g3 --hard-threshold=10G
...
But that is a manual step to be done each time a new directory is created (g4, g5, g250 .. etc). I’m trying to avoid that and let OneFS’s default quotas do the job.
Any help out there?
Thanks!