* HELP: Quotas on OSF/1
@ 1995-07-21 4:00 Ratish J. Punnoose
1995-07-22 4:00 ` Keith DeLong
1995-07-24 4:00 ` Peter Marksteiner
0 siblings, 2 replies; 3+ messages in thread
From: Ratish J. Punnoose @ 1995-07-21 4:00 UTC (permalink / raw)
Hi
I am running OSF/1 3.2 on an Alpha Station. I have trying in vain to
enforce file system quotas. I can use the edquota command and the
vedquota (for the Advanced FileSystem). But I do not know what to enter
when the editor comes up. I could not find any documentation on the
format of the file to be edited. Could someone please tell me the format
of the file which is edited by the edquota command?
Thanks
Ratish J. Punnoose
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HELP: Quotas on OSF/1
1995-07-21 4:00 HELP: Quotas on OSF/1 Ratish J. Punnoose
@ 1995-07-22 4:00 ` Keith DeLong
1995-07-24 4:00 ` Peter Marksteiner
1 sibling, 0 replies; 3+ messages in thread
From: Keith DeLong @ 1995-07-22 4:00 UTC (permalink / raw)
Ratish J. Punnoose (punnoose@pluto.ee.cua.edu) wrote:
: I am running OSF/1 3.2 on an Alpha Station. I have trying in vain to
: enforce file system quotas. I can use the edquota command and the
: vedquota (for the Advanced FileSystem). But I do not know what to enter
-------
I use the vedquota for AFS file systems. Basically you can change the
quota by changing the 0's that come next to "soft" and "hard" to what you
want the quotas to be, then just save the file using the editor commands.
Soft is the long term maximum, Hard is an extra allocation that they can
use for a fixed number of minutes/days/ etc. After the time is up, they
cant save any more files, until they delete enough to go back under the
soft quota, then the hard quota timer resets.
The hard quota timer is set with another option of vedquota, although I
don't remember off the top of my head what it is.
Since I pretty much want all our users to be the same, I created a user
who's actual name is 'quota' (it could be anything) And I set the quota's
on the "quota" user, and tell vedquota to a particular user just like the
"quota" user.
I incorporated that into our account creation so it sets the user like
"quota" when the account is created. In the beginning, when I set quotas
on existing users, I wrote a little shell script to look at all the
entries in the main users directory (which happen to be the same as their
usernames) and set each of the usernames using vedquota like the "quota"
user. (I keep root and other non-quoted directories under another
directory tree, so it worked out fine.)
--Keith
--
----------------------------------------------------------------------
Keith DeLong Phone: 517-686-9536 <-- NEW Number
Delta College Email: Keith_DeLong@delta.edu
University Center, MI 48710 Home: http://www.delta.edu/~keith
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HELP: Quotas on OSF/1
1995-07-21 4:00 HELP: Quotas on OSF/1 Ratish J. Punnoose
1995-07-22 4:00 ` Keith DeLong
@ 1995-07-24 4:00 ` Peter Marksteiner
1 sibling, 0 replies; 3+ messages in thread
From: Peter Marksteiner @ 1995-07-24 4:00 UTC (permalink / raw)
Ratish J. Punnoose (punnoose@pluto.ee.cua.edu) wrote:
: I am running OSF/1 3.2 on an Alpha Station. I have trying in vain to
: enforce file system quotas. I can use the edquota command and the
: vedquota (for the Advanced FileSystem). But I do not know what to enter
: when the editor comes up. I could not find any documentation on the
: format of the file to be edited. Could someone please tell me the format
: of the file which is edited by the edquota command?
Your problem is probably that you have not set up the file systems for
quota accounting, therefore "edquota" or "vedquota" come up with an
empty screen. Once you have edited /etc/fstab and started quota accounting
with "quotaon" or "vquotaon", the (v)edquota command comes up with a
template that is fairly self-explaining (except that you never know how
much a "block" is, usually it's 1024 bytes).
A typical entry in /etc/fstab for quotas looks like the following:
file_domain#fset /filesystem advfs rq,userquota,groupquota 0 0
--
Peter Marksteiner
Vienna University Computer Center
Universitaetsstrasse 7
A-1010 Vienna, Austria
e-mail: Peter.Marksteiner@univie.ac.at
Tel: (+43 1) 406 58 22 255
FAX: (+43 1) 406 58 22 170
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-07-24 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-21 4:00 HELP: Quotas on OSF/1 Ratish J. Punnoose
1995-07-22 4:00 ` Keith DeLong
1995-07-24 4:00 ` Peter Marksteiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox