Re: Quota problem
On Tue, 03 Oct 2000, Michael Meskes wrote:
>One idea was to only check quota if fsck returns an error, but that would
>mean that the we only get correct numbers after an incorrect umount. Besides
>this would also mean that the call to quotacheck would have to be moved to
>sysvinit's scripts.
>
>I'm simply not sure what to do. Any ideas?
What I do is change the /etc/init.d/quota script to create a flag file in
/etc when it shuts down cleanly. Then on restart if the flag exists it will
skip the quota check. This way if there has been a crash then it will
re-check but otherwise it won't.
The plans for ReiserFS include making quotas a base part of the file system
with journal support to avoid having to ever do a quota check. I expect that
the Ext3 developers have the same plans.
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
Reply to: