Date: Sat, 8 Mar 2008 18:44:24 -0600 From: Mike Pritchard <mpp@mail.mppsystems.com> To: Helmut Schneider <jumper99@gmx.de> Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/114766: [quotas] Disk quota does not work as expected Message-ID: <20080309004424.GA80607@mail.mppsystems.com> In-Reply-To: <001a01c88119$a0ccf010$0d7ca8c0@vpe.de> References: <200803061850.m26Io2Xq013979@freefall.freebsd.org> <20080307004232.GA69112@mail.mppsystems.com> <001a01c88119$a0ccf010$0d7ca8c0@vpe.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 08, 2008 at 01:40:43PM +0100, Helmut Schneider wrote: > From: "Mike Pritchard" <mpp@mail.mppsystems.com> > > >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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080309004424.GA80607>