[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::advfs_support

Title:AdvFS Support/Info/Questions Notefile
Notice:note 187 is Freq Asked Questions;note 7 is support policy
Moderator:DECWET::DADDAMIO
Created:Wed Jun 02 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1077
Total number of notes:4417

994.0. "advfs quotas problems: grace time does not (really) reset" by NETRIX::"jarkko.hietaniemi@fno.mts.dec.com" (Jarkko Hietaniemi) Thu Jan 30 1997 08:16

My customer reports:

When the situation is normalized (the used blocks go below the
soft quota limit), the grace time counter does not seem to be reset.
At least when the soft limit is re-exceeded, the grace time is EXPIRED
*immediately*:

For example, the account "iankka" has EXPIRED her quota:

kruuna% quota -v
Disk quotas for iankka (uid 12002):
Filesystem     usage  quota  limit    timeleft  files  quota  limit   
timeleft
        /h/5   4227   4100   5000     EXPIRED    141  25000  33300      

Then going back below the soft limit:

kruuna% /bin/rm 3mm
kruuna% quota -v
Disk quotas for iankka (uid 12002):
Filesystem     usage  quota  limit    timeleft  files  quota  limit   
timeleft
        /h/5   4099   4100   5000                140  25000  33300      

Then exceeding the soft limit again:

kruuna% ll sep96
-rw-r--r--   1 root       113603 Sep 23 15:49 sep96
kruuna% cp sep96 3mm
kruuna% quota -v
Disk quotas for iankka (uid 12002):
Filesystem     usage  quota  limit    timeleft  files  quota  limit   
timeleft
        /h/5   4227   4100   5000     EXPIRED    141  25000  33300      

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
994.1Can't reproduce thisNETRIX::"tmark@zk3.dec.com"Tim MarkThu Jan 30 1997 11:4010
I cannot reproduce this problem.  What version of Digital UNIX is running?
I am especially suspicious because the output of the quota command doesn't
even match ours.  Please confirm that this output is from Digital UNIX and
please supply a version number.

Thanks,

Tim Mark
AdvFS Engineering
[Posted by WWW Notes gateway]
994.2(mis)works also on Digital UNIX 4.0BNETRIX::"jarkko.hietaniemi@fno.mts.dec.com"Jarkko HietaniemiFri Jan 31 1997 05:0917
Oops, sorry, yes, that was the example from a Solaris 2.5 client
(durned cut and paste).

But the same thing happens in Digital UNIX 4.0B (both the server
and the client are that):

vesuri% /usr/sbin/quota -v
Disk quotas for user iankka (uid 12002):
     Filesystem  blocks   quota   limit   grace   files   quota   limit
...
           /h/5    4099    4100    5000             142   25000   33300
vesuri% cp sep96 3mm
vesuri% /usr/sbin/quota -v
...
           /h/5    4219*   4100    5000    none     143   25000   33300

[Posted by WWW Notes gateway]
994.3What is grace period?NETRIX::"tmark@zk3.dec.com"Tim MarkFri Jan 31 1997 09:254
For the example you just gave, please show the user grace period.  
You can get this by running: edquota -t
Please post what this command shows.  Thanks.
[Posted by WWW Notes gateway]
994.4Also...NETRIX::"tmark@zk3.dec.com"Tim MarkFri Jan 31 1997 09:5319
...make sure that quotas are actually turned on for the fileset.  As of
4.0, it is necessary to explicitly run 'quotaon' to do this when a fileset
is mounted.  This is compatible with UFS.  If you don't run 'quotaon', you
will ALWAYS see "none" for a grace period.  You will also not get a 
warning when you exceed the soft limit.  If quotas are on and you exceed
the soft limit, you'll get a warning like 
"/sb: warning, user disk quota exceeded".  In your example, you did not
include
such a warning so I'm wondering if you have quotas turned on.  A quick way
to check is to run 'mount':

# quotaoff /sb
# mount | grep sb
sb#sb on /sb type advfs (rw)
# quotaon /sb
# mount | grep sb
sb#sb on /sb type advfs (rw, quota)

[Posted by WWW Notes gateway]
994.5That was it, they did not even have the quotas turned on.NETRIX::"jarkko.hietaniemi@fno.mts.dec.com"Jarkko HietaniemiWed Feb 05 1997 02:203
Sorry about this unneeded hassle.

[Posted by WWW Notes gateway]