September 10th, 2014 06:00

Assume your home directories are in /ifs/home and you want all of /ifs/home to be 2T.   I'm writing this up for OneFS 7.1.

# isi quota create --type directory --path /ifs/home --container true --hard-threshold 2T

# isi quota create --type default-user --path /ifs/home --hard-threshold 10G

Now when any user creates a file in /ifs/home, a default quota entry of 10G will be created.  This will apply to EVERY folder/file in that volume, whether it's auto-created or not.  We have a separate Isilon volume for our home directories.  We also don't auto-create them here but manually create them.

The next thing to check is how to apply exceptions to the rule.  Let's say you want user foo to have a 20G quota instead of the default:

# isi quota modify --type user --user foo --path /ifs/home --linked no

# isi quota modify --type user --user foo --path /ifs/home --enforced yes

# isi quota modify --type user --user foo --path /ifs/home --hard-threshold 20G

122 Posts

September 9th, 2014 20:00

Hello,

You can create script

for dir in /ifs/home/*

do

     isi quota quotas create "$dir" directory --soft-threshold 1M  [more options]

done

4 Operator

 • 

1.2K Posts

September 10th, 2014 06:00

This will work for sure. Just every user will see a volume size of 2TB, not 10GB.

So his/her usage in percent will always appear to be... neglectable.

We create homes via script, not automagic incarnation,

so it's easier for us to have directory "container" quotas set per user; 10GB is the default here, too.

-- Peter

September 10th, 2014 07:00

Every user unfortunately sees the higher volume size.  We have our own custom scripts that process the Isilon-generated quota reports and put them in a useful format.  My plan is to replace the existing scripts with an API call to get the info directly from the array.

20 Posts

September 11th, 2014 04:00

Can u share ur scripts

20 Posts

September 17th, 2014 19:00

I want to create a role which can only create

Modify and delete quotas of a particular smb share only. Please guide. We have joined our storage to domain.

Since there is no way to automatically assign directory type quota with container as yes, to the automatically created user home directories, we have decided to create a role which would only be able to create/modify/delete directory type quotas on user home directories. We will add a domain user to that role and delegate him the rights to manages those quotas.

No Events found!

Top