Thats how I do it also. For instance, if you want to use a scheduled task to
do a quota off/on instead of resize, you could say:
This would be first cmd file-
rsh filername -l username:password -n quota off volumename
call c:\foldername\filename.cmd
This would be second cmd file-
rsh filername -l username:password -n quota on volumename
-----Original Message-----
From: Jordan Share [mailto:iso9@phantasticant.com]
Sent: Thursday, October 18, 2001 2:23 PM
To: Grey, Michael; toasters(a)mathworks.com
Subject: RE: quotas file
Well, I can't help you with most of your questions, but I can tell you how I
rsh from win2k to my filer.
In my hosts.equiv file, I have a line like this:
w.x.y.z Administrator
Where w.x.y.z is the IP of the machine I am rsh'ing from.
Then I use commands like this:
rsh FILERNAME -l root:ROOTPASSWORD command_for_filer
This works for me.
Jordan
-----Original Message-----
From: owner-toasters(a)mathworks.com
[mailto:owner-toasters@mathworks.com]On Behalf Of Grey, Michael
Sent: Wednesday, October 17, 2001 8:12 PM
To: 'toasters(a)mathworks.com'
Subject: quotas file
Well I have figured out how to set quotas based on global groups in Windows
NT, but I'm having a little problem with the quotas file once completed.
My script checks to see if a user is a member of a global group for a quota
alocation (200MB, 350MB, and 500MB) via the "Global" command. This script
runs automatically when a change is made to a quota global group. If the
user ID is not in any global group then they would receive the default
quota. The users who are members of a global group for quotas are written to
a scratch file in the format of the quotas file. Once the script is complete
the quotas file is deleted and then this scratch file is renamed to the
quotas file.
Everything works excellent but quota changes are not applied until I perform
a "quota resize" command. I need to know if the filer automatically
recalculates the quotas based on this file and if so, under what conditions?
or, is there any way to have the filer recalculate quotas based on the quota
file other then via the "quota resize" command. I'm trying to do this from a
batch script under NT. I'm not sure how to RSH to the box via a script from
NT if at all possible.
Any help would be appreciated.
Thanks.