[1375] in Moira

home help back first fref pref prev next nref lref last post

whine less about quota increases

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Fri Feb 18 20:28:12 2000

Message-Id: <200002190128.UAA11155@speaker-for-the-dead.mit.edu>
From: Jonathon Weiss <jweiss@MIT.EDU>
To: moiradev@MIT.EDU
cc: moira-admin@MIT.EDU
Date: Fri, 18 Feb 2000 20:28:04 -0500


The moira afs incrementals currently whine over zephyr if a volume's
quota is increased by 40M or more.  Given the larger disks and quotas
we have these days, 150M seems like a more reasonable threshold.

	Jonathon



Index: afs_quota.pl
===================================================================
RCS file: /mit/moiradev/repository/moira/incremental/afs_quota.pl,v
retrieving revision 1.8
diff -c -r1.8 afs_quota.pl
*** afs_quota.pl	1997/01/20 18:24:15	1.8
--- afs_quota.pl	2000/02/19 01:24:03
***************
*** 65,71 ****
  
  Current volume usage: $vusage, old quota $oldq, new quota $newq");
  }
! elsif ($newq-$oldq > 39999) {
      system("$zwrite","-q","-n","-c","afsadm","-i","moira","-m",
  	   "Increased quota on volume $vname ($asrv:$apart) from $oldq to $newq");
  }
--- 65,71 ----
  
  Current volume usage: $vusage, old quota $oldq, new quota $newq");
  }
! elsif ($newq-$oldq > 149999) {
      system("$zwrite","-q","-n","-c","afsadm","-i","moira","-m",
  	   "Increased quota on volume $vname ($asrv:$apart) from $oldq to $newq");
  }

home help back first fref pref prev next nref lref last post