From owner-freebsd-doc@FreeBSD.ORG Sat Apr 16 10:16:45 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5193616A4CE for ; Sat, 16 Apr 2005 10:16:45 +0000 (GMT) Received: from ns.rixir.net (ns.rixir.net [66.36.228.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C495A43D31 for ; Sat, 16 Apr 2005 10:16:44 +0000 (GMT) (envelope-from rickt@tyburski.com) Received: from ns.rixir.net (ns.rixir.net [66.36.228.34]) by ns.rixir.net (8.12.9p2/8.12.9) with ESMTP id j3GAGmF7026745 for ; Sat, 16 Apr 2005 03:16:48 -0700 (PDT) (envelope-from rickt@tyburski.com) Date: Sat, 16 Apr 2005 03:16:43 -0700 (PDT) From: Rick X-X-Sender: rickt@ns.rixir.net To: doc@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Quota Documentation X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 10:16:45 -0000 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