Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 17:08:33 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Don O'Neil <don@lizardhill.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setquota on FreeBSD 4.11
Message-ID:  <2C09AB46-75C4-4917-8977-669D32C24DC9@submonkey.net>
In-Reply-To: <003301c618f8$c712ec60$0b00020a@mickey>
References:  <003301c618f8$c712ec60$0b00020a@mickey>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C09AB46-75C4-4917-8977-669D32C24DC9>