Setquota on FreeBSD 4.11

Ceri Davies ceri at submonkey.net
Sat Jan 14 09:08:54 PST 2006


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060114/1ae6a905/PGP.bin


More information about the freebsd-questions mailing list