Setquota on FreeBSD 4.11

Don O'Neil don at lizardhill.com
Sat Jan 14 02:53:38 PST 2006


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?

Don



More information about the freebsd-questions mailing list