From owner-freebsd-questions@FreeBSD.ORG Sat Oct 22 16:29:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE5AC16A41F for ; Sat, 22 Oct 2005 16:29:40 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from mail.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AD6943D45 for ; Sat, 22 Oct 2005 16:29:40 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from mail.math.ku.dk (localhost [127.0.0.1]) by mail.math.ku.dk (Postfix) with ESMTP id 73B9E1B2E7; Sat, 22 Oct 2005 18:29:37 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by mail.math.ku.dk (Postfix) with ESMTP; Sat, 22 Oct 2005 18:29:37 +0200 (CEST) Date: Sat, 22 Oct 2005 18:29:37 +0200 (CEST) From: Erik Norgaard To: "MELVIN D. NAVA" In-Reply-To: <04fa01c5d714$8cefca10$0100a8c0@galileo> Message-ID: References: <04fa01c5d714$8cefca10$0100a8c0@galileo> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Quotas not working on FreeBSD 5.4 for amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 16:29:41 -0000 On Sat, 22 Oct 2005, MELVIN D. NAVA wrote: > Recently (three weeks ago) I bought one dedicated server with FreeBSD > 5.4-release for amd64 and I haven't been able to use quotas, after I tried > to enable quotas in fstab over the home filesystem and rebooting, the system > just hanged so I checked if quota was enabled on the Kernel but it wasn't... > So I asked at the Datacenter and they told me they tried initially to enable > quotas on the Kernel but it wasn't working at all and the server wouldn't > start. 1. Make sure your kernel supports quota, the GENERIC kernel does not. You need to add this line to your kernel config and then compile and install a new kernel: options QUOTA #enable disk quotas Then reboot 2. In fstab as you know, you need to add "userquota" and/or "groupquota" to the options. 3. Enable or disable quota with quotaon/quotaoff 4. Edit quota for individual users or groups with edquota I suggest that you keep quota turned off at boot so your system doesn't hang, then enable quotas after boot as in 3. > I've been trying to find something like this already documented but I > haven't found anything at all. Did you check the handbook? Chp 16.14 seems to be for you. It is far more detailed than what I just wrote: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html Cheers, Erik