Automatic creation of home directoires and reporting the back the size of the hard quota threshold.

1,101 views
Skip to first unread message

SCR512

unread,
Mar 7, 2013, 9:06:45 AM3/7/13
to isilon-u...@googlegroups.com
Is anyone utilizing the automatic home directory provisioning stuffs in OneFS? 

In our environment we are using this but ran into a snafu with linked user quotas not giving us the ability to report back the size of the linked quota to the end user. So the enduser might have a 5GB quota but they see the entire cluster size if they map that SMB share. Makes for fun/confusing times.

I ran across an article that seems to remedy this? (I've not tested this on our DR cluster yet) http://vcevblog.com/?p=94

Kevin McDonald

unread,
Mar 7, 2013, 11:39:35 AM3/7/13
to isilon-u...@googlegroups.com
We're using it and have seen the same display behavior - which is confusing to end users.  (We are 6.5.5.11 right now.)  We use a 5G default quota, but they see a 1TB limit from the clients.     We are going to try this fix out to see if it makes it any better.  Looks like you can only specify one value though?  We have some users with custom quotas ...

KMac 

--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-Kevin.

Paul Williams

unread,
Mar 7, 2013, 11:53:53 AM3/7/13
to isilon-u...@googlegroups.com
The issue here is that you cannot apply the container option to a user (or for that matter group) quota.  It is this container option that reports to the client the total space available and it is only available on directory quotas.

Peter Serocka

unread,
Mar 7, 2013, 12:00:00 PM3/7/13
to isilon-u...@googlegroups.com
The key is to not use linked user quotas
but directory quotas (one per each user's home)
and set the container flag.

Which is exactly what the script presented
in http://vcevblog.com/?p=94 does.

Using that script, different quotas for somes users can
be set under ”root preexec”,
when you replace the static "isi quota ..." command
by a script that pulls the intended quota value
from some config or rule set, and then runs isi quota.

Peter

Paul Williams

unread,
Mar 7, 2013, 12:04:21 PM3/7/13
to isilon-u...@googlegroups.com
This correct. A great solution would be for Isilon to provide an inherited directory quota functionality, so that for each new directory that gets created it automatically inherits a directory quota of x size that has the container option set. This would save the need for manually creating the quota, or have a script run through the directory tree looking for directories that do not have a quota applied.

Cheers,

Paul

Kevin McDonald

unread,
Mar 7, 2013, 12:12:34 PM3/7/13
to isilon-u...@googlegroups.com
Ok - I see.  Yes, an inherited directory quota sure would be nice - thanks!

SCR512

unread,
Mar 8, 2013, 9:34:37 AM3/8/13
to isilon-u...@googlegroups.com
So... trying this on my DR cluster which is running OneFS 7.0.1.2 I'm not having luck getting this to work. This is after I fixed up the isi quota command as it's different in 7.x. Anyone have this sorta template working in 7.x? :)

Aglidic

unread,
Apr 30, 2013, 2:43:25 AM4/30/13
to isilon-u...@googlegroups.com
Hi guys,

do you find a solution for this on  onfeFS 7?

I try the script from the blog, i modified it to the command of oneFS 7 but still nothing.
Thanks

Peter Serocka

unread,
Apr 30, 2013, 3:29:42 AM4/30/13
to isilon-u...@googlegroups.com
Does the script actually get executed?

What do you see when you capture standard output and error to a file?
like

value=" ... > /tmp/homescript.out 2> /tmp/homescript.err"

(ampersand-gt-; will become > , 2ampersand-gt-; will become 2> )


Peter

Aglidic

unread,
Apr 30, 2013, 3:38:58 AM4/30/13
to isilon-u...@googlegroups.com

hum didn't check that, did you success to make it work on oneFS 7?

Peter Serocka

unread,
Apr 30, 2013, 5:24:46 AM4/30/13
to isilon-u...@googlegroups.com

On Tue 30 Apr '13 md, at 09:38 st, Aglidic wrote:

> hum didn't check that, did you success to make it work on oneFS 7?


I don't have OneFS 7 at my hand now, but that issue should be quite
straightforward to sort out by investigation on script level. You
might also pack the mkdir and isi commands into a single script file
like /opt/homescript.sh. That makes it easier to test the actual
scripts manually and to capture logs. And one can write &'s and >'s as
plain &'s and >'s.

Peter
Reply all
Reply to author
Forward
0 new messages