Nested Default quotas

112 views
Skip to first unread message

Paul Letta

unread,
Jun 10, 2021, 11:39:13 AM6/10/21
to Isilon Technical User Group
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!

Peter Serocka

unread,
Jun 10, 2021, 12:14:41 PM6/10/21
to Isilon Technical User Group
Seems like DellEMC have opened Pandora's Box with default-directory quotas, as quotas can be defined for to-be-created directories. Makes perfect sense to me to also have default-user quotas work in the same way, pre-specified for upcoming directories. Conceptually, that would require a new quota type, like "default-directory-user" -- you might want to reach out to DellEMC for a feature or enhancement request. 

In the meantime, why not put all steps for creating a new group folder (creation, ownership, permissions, export/share, snapshots, backups, and quotas) into a single script in order to save some "manual" work?

fwiw
-- Peter

--
You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isilon-user-group/60c03c49-238d-45af-a53f-6c496fffb584n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages