From owner-freebsd-isp Tue Nov 14 12:19:49 2000 Delivered-To: freebsd-isp@freebsd.org Received: from visio.c3.hu (visio.c3.hu [194.38.96.80]) by hub.freebsd.org (Postfix) with SMTP id 344F437B479 for ; Tue, 14 Nov 2000 12:19:43 -0800 (PST) Received: (qmail 20972 invoked by uid 10000); 14 Nov 2000 21:19:33 +0100 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Nov 2000 20:19:32 -0000 Date: Tue, 14 Nov 2000 21:19:32 +0100 From: Pecsenyanszky Istvan To: "D. W. Piper" Cc: Subject: Re: Weird quotas problem - Help needed In-Reply-To: <02e601c04e71$b522c680$213cd3cf@loop.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, maybe there are files under /usr/www other than /usr/www/web/XXXXX owning XXXXX. Try `find /usr/www -user XXXXX | fgrep -v /usr/www/web/XXXXX' to list these files if any. Istvan On Tue, 14 Nov 2000, D. W. Piper wrote: > I've run into a strange problem trying to use quotas to limit the size > of user web sites, and I could really use some suggestions on what the > problem might be and how to fix it. > > The quota -u command shows the correct quota limit for users, but is > showing inaccurate block counts for some users that are over their > limit. Here's an example: > > # quota -u XXXXX > Disk quotas for user XXXXX (uid YYYYY): > Filesystem blocks quota limit grace files quota limit grace > /usr/www 12142* 0 7168 none 205 0 0 > > # du -sk /usr/www/web/XXXXX > 5474 /usr/www/web/XXXXX > > Needless to say, the quota system is preventing these users from > uploading files to their web site via FTP. > > I've already tried rebooting the machine with quotacheck on boot enabled > twice now, the second time being just this morning. Judging by the > times on the files, the quota.user and quota.group files weren't changed > at all by the quotacheck, and the problem was not resolved. > > Can anyone shed some light on what's going on here, and how to resolve > it? > > Thanks, > > David > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message