Unsolved

This post is more than 5 years old

2 Intern

 • 

205 Posts

1271

December 23rd, 2015 17:00

user quotas

I'm just starting to play around with user quotas. I'm very familiar with directory quotas, but these seem to be a different animal. Is there a way for the end user to easily how much space s/he has left? I'd rather not deal with email notifications, etc.

December 24th, 2015 08:00

Easy - not really.

There are several options you have available.  The first is to use the API to get the details you want.  There are examples available online and in the manual.

The second is to configure your Isilon array to create quota reports on a more regular basis.  We create ours every 15 minutes and then have a Linux utility to parse the XML and put it into a more usable format, and then also have another in-house developed script that parses the intermediate data so that the user can see what the allocation is.

The 3rd approach is to schedule an Isilon cronjob that generates a human-readable quota report (eg, isi quota list --type user --format csv) and put that on readable share for a user-runnable script to parse.

The API is the only real-time method.

Note that these methods only help you on volumes that the user already has data on.  If there's a default-user quota entry on a volume, but the user owns no files, it's possible that the user could create files there up to the default-user quota threshold.  I've had users ask to report on that but pushed back because it's also possible that the user doesn't have any rights to create files at all and you won't know until you try.  Once the first allocation is made, a linked quota entry will be created.

2 Intern

 • 

205 Posts

December 24th, 2015 15:00

Ick, sez I, ick. None of that is likely to be feasible, unfortunately. Sounds like directory quotas are where I'm at.

December 27th, 2015 13:00

All are actually feasible.  We use a LOT of user quotas here and it's working fine for us.  I'm not sure how you wanted to define "easy" but when you have a gazillion client options (and versions), it's not feasible for Isilon to develop custom client tools for all of them.

We have our own quotareport utility that a user can although we will eventually rewrite this to use the API.

We also rely on advisory quotas to give users a heads-up that a hard quota may be exceeded soon.

We use both directory and user quotas and as I said, it's working fine for us.

2 Intern

 • 

205 Posts

December 27th, 2015 18:00

I'm more looking for an in your face style self service. I suppose the advisory quotas would work for that.

I guess I was kind of expecting them to work like directory quotas where you can just add the --container=yes flag and it'll only show the quota as the drive size.

No Events found!

Top