From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 17:08:54 2006 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 29C7D16A420 for ; Sat, 14 Jan 2006 17:08:54 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93DBE43D49 for ; Sat, 14 Jan 2006 17:08:53 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from fenrir.wireless.private.submonkey.net ([192.168.11.23]) by shrike.submonkey.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1ExotT-0008Hw-Qx; Sat, 14 Jan 2006 17:08:51 +0000 In-Reply-To: <003301c618f8$c712ec60$0b00020a@mickey> References: <003301c618f8$c712ec60$0b00020a@mickey> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-6-37523400" Message-Id: <2C09AB46-75C4-4917-8977-669D32C24DC9@submonkey.net> Content-Transfer-Encoding: 7bit From: Ceri Davies Date: Sat, 14 Jan 2006 17:08:33 +0000 To: Don O'Neil X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.746.2) Cc: freebsd-questions@freebsd.org Subject: Re: Setquota on FreeBSD 4.11 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, 14 Jan 2006 17:08:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-6-37523400 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 14 Jan 2006, at 10:53, Don O'Neil wrote: > I'm having problems getting the port 'setquota' to work on my FBSD > 4.11 > box... > > When I type: > > setquota -g -f /array01 -bh51200K root > > I get > > setquota : /array01 does not have quotas enabled. > > Or when I type: > > setquota -u -f /array01 -bh51200K root > > I get > > setquota : GETQUOTA(root) - Invalid argument > > Even though I have built the kernel w/ the option, enabled quotas > in rc, > etc... > > quota -v shows: > > Disk quotas for user root (uid 0): > Filesystem usage quota limit grace files quota > limit > grace > /array01 0 0 0 0 > 0 0 > > I can edit quotas using edquota no problems. > > I had to build setquota from sources, as the port package for 4.11 > isn't > available anymore. > > Any ideas what might be going on here? I'm not familiar with the setquota port, but it's possible that the *quota files in /array01 are missing. Running quotacheck will fix that if it's the case. Ceri -- That must be wonderful! I don't understand it at all. -- Alice --Apple-Mail-6-37523400 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDyTARme8yCsQvJJ0RAuz9AKCIu7jEFPGk8K4pWJYy0qqSAlFU5ACeLf+k BEXKFFNKh/acPFjJ4p9AH+c= =fAlN -----END PGP SIGNATURE----- --Apple-Mail-6-37523400--