Highlighted
2 Bronze

Smart Quotas - Set default (template) for all child directories

Jump to solution

Hi there,

 

I've been looking around quite a bit to find this answer but don't really see anything that meets my criteria.

With SmartQuotas, am I able to create a default quota for all child directories 1 level deep (for each folder within a path) to have a # quota? I would hate if I had to create a unique quota for each of my 500 sub-directories. This means when our Isilon grows, if we want to raise the "default" quota, we would again have to edit and change 500 quotas manually.

 

For example

 

Directory structure:

/groups/

/groups/a1

/groups/b2

/groups/c3

/groups/d4

 

- create a "default" smart quota policy on /groups/ that applies to each child directory within /groups/ (not an overall quota on /groups/ but a quota on /groups/a1, /groups/b2, /groups/c3, /groups/d4).

This means /groups/a1, /groups/b2, groups/c3, groups/d4 all have a quota of 1TB each

- override a specific child directory's quota to another #

This means /groups/a1 can be changed to have a quota of 5TB but /groups/b2, groups/c3, groups/d4 all still have a quota of 1TB each (from the default)

 

I recall something to do with "default-user" quotas, that "link" however i don't want to the quota to be user based (it doesn't matter how much data users create within each /group/, but each child within group should be restricted)

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
4 Beryllium

Re: Smart Quotas - Set default (template) for all child directories

Jump to solution

Looks like it didn't make it into the Web GUI...

Use the command line (CLI):

isi quota quotas create /ifs/SOME/PATH default-directory --hard-threshold SIZE ... 

 

-- Peter

View solution in original post

4 Replies
Highlighted
4 Beryllium

Re: Smart Quotas - Set default (template) for all child directories

Jump to solution

This has been introduced as 'default directy quotas' in OneFS 8.2.0.

-- Peter 

0 Kudos
Highlighted
2 Bronze

Re: Smart Quotas - Set default (template) for all child directories

Jump to solution

Interesting... however I don't see any reference to "default directory quota" in quota types. My cluster is running 8.2.2.0

0 Kudos
Highlighted
4 Beryllium

Re: Smart Quotas - Set default (template) for all child directories

Jump to solution

Looks like it didn't make it into the Web GUI...

Use the command line (CLI):

isi quota quotas create /ifs/SOME/PATH default-directory --hard-threshold SIZE ... 

 

-- Peter

View solution in original post

Highlighted
2 Bronze

Re: Smart Quotas - Set default (template) for all child directories

Jump to solution

Thanks for this, I've just tested and it's working. After a bunch of searching around for documentation, I came upon some updated smart quota documentation that simply references this value in a paragraph detailing the addition.

This however seems to be a very shotty/quick implementation by the Isilon team as there's no way to "filter" the GUI display by "default-directory" or "directory linked" quota types. This means there's no easy way to view the newly created CLI default-directory quotas in the GUI (we have thousands of other user quotas and since the lists aren't sortable, you can't be expected to hit "next" on over 100 pages of quotas).

To get around this, I had to remove all filters, and only specify the "path" I used to create the new default-directory quota from the CLI, as well as enable "include children" on the filter.

0 Kudos