Disk Quota Question
m.seaman at infracaninophile.co.uk
Thu Feb 19 02:15:14 PST 2004
On Wed, Feb 18, 2004 at 11:45:27PM -0500, JJB wrote:
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Joel Eddy
> Sent: Tuesday, February 17, 2004 6:11 PM
> To: freebsd-questions at freebsd.org
> Subject: RE: Disk Quota Question
> I've followed the manual on FreeBsd 5.1. Recompiled the kernel with
> options. It is on the /usr file system. everything appears to be
> I've made entries to fstab by the manual also.
> But when I quota -u USERID I get
> mail# quota -u USERID
> Disk quotas for user USERID (uid 1001): none
> Either I'm missing something or something isn't working. Where do I
> look next.
I sounds to me as if you've enabled all of the quota machinery, but
that you need to actually initialise the system and set some quotas
for each user on the partition. You need to run quotacheck(8) to
initialise the quota.user and/or quota.group files -- that should
happen automatically when you reboot, or you can run it manually by:
# quotacheck -v -a
That may take some time to run, and there shouldn't be any activity on
the filesystem while it is being checked -- best way to ensure that is
to drop to single user mode while you run it.
Having done that, what's the output of:
% repquota /usr
To set up the quota limits for each user use edquota(1).
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040219/a7823d8d/attachment.bin
More information about the freebsd-questions