From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 13:24:22 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A7D91065679 for ; Tue, 19 Aug 2008 13:24:22 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id D05328FC24 for ; Tue, 19 Aug 2008 13:24:21 +0000 (UTC) (envelope-from simon@optinet.com) Received: (qmail 5266 invoked by uid 110); 19 Aug 2008 13:24:20 -0000 Received: from unknown (HELO desktop1) (simon%optinet.com@69.112.29.182) by cobra.acceleratedweb.net with SMTP; 19 Aug 2008 13:24:20 -0000 From: "Simon" To: "Kostik Belousov" Date: Tue, 19 Aug 2008 09:24:18 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: <20080819130341.GY1803@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Message-Id: <20080819132421.D05328FC24@mx1.freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rong-en Fan , "freebsd-hackers@freebsd.org" , Konstantin Belousov Subject: Re: Disk quotas out of sync X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 13:24:22 -0000 Yes, the inodes seem to be in sync. When I run quotacheck -av only blocks get fixed or at least that is what I see. Here is an example repquota -a output before 'quotacheck -av': Block limits File limits User used soft hard grace used soft hard grace john -- 135426892 175000000 175000000 - 183785 500000 500000 - after quotacheck: /web1: john fixed (user): blocks 270853784 -> 326298284 Block limits File limits User used soft hard grace used soft hard grace john -- 163149142 175000000 175000000 - 183785 500000 500000 - -Simon On Tue, 19 Aug 2008 16:03:41 +0300, Kostik Belousov wrote: >On Mon, Aug 18, 2008 at 11:54:15PM -0400, Simon wrote: >>=20 >> Yes, I'm running SMP on all machines, version 7.0-R-p2 (amd64 on some). >> No group quotas, just user. >The questions to you: >1. Are inode counts for users coincide with quota report ? >2. How did you compared "actual usage" with the usage reported by > quota subsystem ? >>=20 >> Thanks, >> Simon >>=20 >> On Tue, 19 Aug 2008 09:36:43 +0800, Rong-en Fan wrote: >>=20 >> >On Tue, Aug 19, 2008 at 7:16 AM, Simon wrote: >> >> Hello All, >> >> >> >> I sent this to freebsd-questions but it went unanswered, hoping for be= >tter >> >> luck here. The issue I'm trying to resolve is this: >> >> >> >> Ever since I went from 6.x to 7.0-R I have started experiencing disk q= >uotas >> >> getting out of sync with the actual amount used. For example, a user w= >ith >> >> 100GB used disk space suddenly shows usage of only 80GB as if the data >> >> is gone, but it isn't. This forces me to run quotacheck -av often. Was >> >> something changed regarding quotas in 7.0-R? Nobody else noticed this = >issue? >> >> I have this issue across multiple, different hardware, servers running= > 7.0-R >> >> >> >> Thank you for any insight and help in advance! >>=20 >> >Are you running SMP? Quotas in 7.x and 6.x (since this May) become MPSAF= >E. >> >I'm CC'ing kib@ who wrote the patch, maybe he has some insights. >>=20 >> >Regards, >> >Rong-En Fan >>=20 >>=20 >>=20 >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"