Skip site navigation (1)Skip section navigation (2)
Date:      02 Feb 2001 12:36:09 +0100
From:      Bjoern Groenvall <bg@sics.se>
To:        David Goddard <goddard@acm.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: quotacheck -a taking *ages* on boot
Message-ID:  <wuelxh5nbq.fsf@bg.sics.se>
In-Reply-To: David Goddard's message of "Thu, 01 Feb 2001 23:42:33 %2B0000"
References:  <5.0.2.1.0.20010201232046.009f0930@cerebus.parse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "David" == David Goddard <goddard@acm.org> writes:

David> Manually running quotacheck confirms that this step is taking a
David> looong time.

As I understand this, quotacheck takes time proportional to the number
of used inodes *and* proportional to the size of the file system.

You don't have to run quotacheck on every reboot. Only if you have to
run fsck is it necessary to run quotacheck. Also, even if fsck
repaired the filesystem, the old quota state is probably a good enough
approximation of the current (real) quota state. If you want to, you
may instead run quotacheck sometime later to rebuild a consistent
quota state.

If you put check_quotas="NO" in rc.conf you will achieve this effect.

Cheers,
Björn

-- 
  _     _                                               ,_______________.  
Bjorn Gronvall (Björn Grönvall)                        /_______________/|     
Swedish Institute of Computer Science                  |               ||
PO Box 1263, S-164 29 Kista, Sweden                    | Schroedingers ||
Email: bg@sics.se, Phone +46 -8 633 15 25              |      Cat      |/
Cellular +46 -70 768 06 35, Fax +46 -8 751 72 30       `---------------' 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wuelxh5nbq.fsf>