Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 02:53:39 -0800
From:      "Don O'Neil" <don@lizardhill.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Setquota on FreeBSD 4.11
Message-ID:  <003301c618f8$c712ec60$0b00020a@mickey>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003301c618f8$c712ec60$0b00020a>