Quota Documentation

Rick rickt at tyburski.com
Sat Apr 16 10:16:45 UTC 2005


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html

FreeBSD Handbook Chapter 16 Storage
16.14 File System Quotas


I had a bit of a problem and I found someone else that did as well. It
appears we followed the steps for configuring Quota and in our effort
to streamline our servers on reboot, we had placed check_quotas="NO"
in the /etc/rc.conf file.

Why you ask?
######################
For finer control over your quota startup, there is an additional
configuration variable available. Normally on bootup, the quota integrity
of each file system is checked by the quotacheck(8) program. The
quotacheck(8) facility insures that the data in the quota database
properly reflects the data on the file system. This is a very time
consuming process that will significantly affect the time your system
takes to boot. If you would like to skip this step, a variable in
/etc/rc.conf is made available for the purpose:

check_quotas="NO"
########################


This is all fine and dandy, unless you have just built the kernel and
/dir/quota.user doesn't exist and you touch the file instead of running
quotacheck during, or after the reboot.

Yeah, I saw it in /etc/defaults/rc.conf that it should check it by
default, but I guess I was over zealous in my streamline attempt. I
figured I could always run "quotacheck" as needed and didn't want to
prolong any gut wrenching server downtime that might occur when put
into production.

My suggestion, if you feel it is warranted, is to perhaps add a sentence
in parenthesis like so;

check_quotas="NO"
(Do not add the "NO" option to the /etc/rc.conf file, until the server has
successfully rebooted and you verify that quota is working.)

Just a thought. It would've saved me some grief and a re-install because
bad things happend.


Signed,

A somewhat grief stricken, but loyal FreeBSD user,

-Rick



More information about the freebsd-doc mailing list