Date: Sat, 22 Oct 2005 18:29:37 +0200 (CEST) From: Erik Norgaard <norgaard@math.ku.dk> To: "MELVIN D. NAVA" <mdnava@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Quotas not working on FreeBSD 5.4 for amd64 Message-ID: <Pine.LNX.4.64.0510221819160.6021@shannon.math.ku.dk> In-Reply-To: <04fa01c5d714$8cefca10$0100a8c0@galileo> References: <04fa01c5d714$8cefca10$0100a8c0@galileo>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0510221819160.6021>