From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 02:15:14 2004 Return-Path: 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 0370816A4CE for ; Thu, 19 Feb 2004 02:15:14 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4756F43D1D for ; Thu, 19 Feb 2004 02:15:13 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i1JAEtoH064539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Feb 2004 10:14:55 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i1JAEspW064536; Thu, 19 Feb 2004 10:14:54 GMT (envelope-from matthew) Date: Thu, 19 Feb 2004 10:14:54 +0000 From: Matthew Seaman To: JJB Message-ID: <20040219101454.GB64286@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , JJB , Joel Eddy , freebsd-questions@freebsd.org References: <004601c3f5ab$479e5f40$0200a8c0@ici6> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org cc: Joel Eddy Subject: Re: Disk Quota Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 10:15:14 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 18, 2004 at 11:45:27PM -0500, JJB wrote: > Try > http://www.freebsd.org/cgi/man.cgi?query=3Dquotaon&sektion=3D8&apropos=3D0 > &manpath=3DFreeBSD+5.2-RELEASE+and+Ports >=20 >=20 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Joel Eddy > Sent: Tuesday, February 17, 2004 6:11 PM > To: freebsd-questions@freebsd.org > Subject: RE: Disk Quota Question >=20 > I've followed the manual on FreeBsd 5.1. Recompiled the kernel with > quota > options. It is on the /usr file system. everything appears to be > running > correctly. > I've made entries to fstab by the manual also. [...] > But when I quota -u USERID I get >=20 > mail# quota -u USERID > Disk quotas for user USERID (uid 1001): none >=20 > Either I'm missing something or something isn't working. Where do I > look next. I sounds to me as if you've enabled all of the quota machinery, but that you need to actually initialise the system and set some quotas for each user on the partition. You need to run quotacheck(8) to initialise the quota.user and/or quota.group files -- that should happen automatically when you reboot, or you can run it manually by: # quotacheck -v -a That may take some time to run, and there shouldn't be any activity on the filesystem while it is being checked -- best way to ensure that is to drop to single user mode while you run it. Having done that, what's the output of: % repquota /usr To set up the quota limits for each user use edquota(1). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFANIyedtESqEQa7a0RAhyRAKCIPFQd6DDvW6JMo3Ubi8BT61pxtACdGUMF Hvd0R2K3E5TfM4z/YAr1UyA= =QaLW -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--