From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 9 00:44:31 2008 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08365106566C for ; Sun, 9 Mar 2008 00:44:31 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from mail3.gulftel.com (mail3.gulftel.com [216.231.163.44]) by mx1.freebsd.org (Postfix) with ESMTP id D3A178FC18 for ; Sun, 9 Mar 2008 00:44:30 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from localhost (localhost [127.0.0.1]) by mail3.gulftel.com (Postfix) with ESMTP id 01EAF2A77F; Sat, 8 Mar 2008 18:44:29 -0600 (CST) X-Virus-Scanned: amavisd-new at gulftel.com Received: from mail3.gulftel.com ([127.0.0.1]) by localhost (mail3.gulftel.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z09jUs4wVHjm; Sat, 8 Mar 2008 18:44:29 -0600 (CST) Received: from mail.mppsystems.com (unknown [99.194.188.184]) by mail3.gulftel.com (Postfix) with ESMTP id 4D55A2A743; Sat, 8 Mar 2008 18:44:25 -0600 (CST) Received: by mail.mppsystems.com (Postfix, from userid 1000) id 4A54317025; Sat, 8 Mar 2008 18:44:24 -0600 (CST) Date: Sat, 8 Mar 2008 18:44:24 -0600 From: Mike Pritchard To: Helmut Schneider Message-ID: <20080309004424.GA80607@mail.mppsystems.com> References: <200803061850.m26Io2Xq013979@freefall.freebsd.org> <20080307004232.GA69112@mail.mppsystems.com> <001a01c88119$a0ccf010$0d7ca8c0@vpe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a01c88119$a0ccf010$0d7ca8c0@vpe.de> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/114766: [quotas] Disk quota does not work as expected X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 00:44:31 -0000 On Sat, Mar 08, 2008 at 01:40:43PM +0100, Helmut Schneider wrote: > From: "Mike Pritchard" > > >Are you running quotacheck while there are users active, or the > >machine is accepting mail deliveries? Running quotacheck on > >an active file system will generate those type of fixups, due > >to buffered data in the kernel not being in sync with > >the disk data at that point. > > Yes, but I ran "quotacheck -va" a few minutes ago and it reported many fixups. I checked the logfiles and the last access > for a specific user, it was yesterday morning. I even rebooted the machine yesterday evening. Shouldn't at least a reboot > fix/flush all those entries? Ignore my previous message asking what version you are running. I see that you are running 6.3. You stated that the users mail files are stored in /home, which probably means the file system is active, even if no users were actually logged in and using it. Quotacheck is not designed to be run on an active file system. Edit /etc/rc.d/quota and add the -v option to the quotacheck command there. If quotacheck updates the usage information during boot up after a clean shutdown, then there is a problem somewhere, unless it was something updated on the file system during the boot process. -- Mike Pritchard mpp @ FreeBSD.org "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." - James Madison (1787)