Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ultrix disk quota help wanted
@ 1992-03-17 21:09 Terry J. Klarich
  1992-03-25  1:30 ` Mark Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Terry J. Klarich @ 1992-03-17 21:09 UTC (permalink / raw)



We find it necessary to use ultrix disk quotas at our site.  Each user is
allocated a certain amount of disk blocks on the /u file system.  There is a
very serious bug with quotas on ultrix 4.2 in this setup.  I have seen
the same problem on earlier versions as well.  It seems that a write system
call will complete without an error indication even though the user is
out of allocated disk blocks.  This causes real trouble for programs like vi
which depend on the return status to know if it is all right to over write
the original file.  The most common situation, where this happens, is when a
user tries to write his file and leave vi when the user does not have enough
available blocks to hold the file.  Vi will think that the file was written
properly; but, the file is of 0 length.  Dec has stated that it is a problem
but can't say when or if it will be fixed.

Has anyone had this problem? and, if so, how did you get arround it?

Terry
-- 
--------------------------------------------------------------------------------
Terry Klarich (n5hts)                  Oklahoma State University
Systems Software Services              Computer Center Stillwater OK 74075
A man is not complete until he is maried; then, he is finished.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ultrix disk quota help wanted
  1992-03-17 21:09 ultrix disk quota help wanted Terry J. Klarich
@ 1992-03-25  1:30 ` Mark Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Garrett @ 1992-03-25  1:30 UTC (permalink / raw)


From article <1992Mar17.150933.80@vms.ucc.okstate.edu>, by terry@unx.ucc.okstate.edu (Terry J. Klarich):
> 
> out of allocated disk blocks.  This causes real trouble for programs like vi
> which depend on the return status to know if it is all right to over write
> the original file.  The most common situation, where this happens, is when a
> user tries to write his file and leave vi when the user does not have enough
> 
> Has anyone had this problem? and, if so, how did you get arround it?
> 
	I have used disk quotas on ultrix since v3.1. I think your
real problem is your are riding your users to close to the wind with
disk quota limits. Regardless the above suggested bug, If a user
is running out of quota trying to use vi, then give them more quota
or more advice on keeping there usage down. Look at the limits
you have set between the soft and hard limit, increase this difference should
set things straight. This would result in warnings when they logout and in
at least to advice the over soft limit. This allows them
to extend their quota thought 3 login before being refused more disk
blocks. 

	Hope this helps,
		Cheers
			Mark :)
-- 
Mark Garrett	Internet:  mark@loki.une.edu.au	Phone: 	+61 66 20 3859
   University of New England, Northern Rivers, Lismore NSW Australia.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-03-25  1:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-17 21:09 ultrix disk quota help wanted Terry J. Klarich
1992-03-25  1:30 ` Mark Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox