Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 09:24:18 -0400
From:      "Simon" <simon@optinet.com>
To:        "Kostik Belousov" <kostikbel@gmail.com>
Cc:        Rong-en Fan <grafan@gmail.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Konstantin Belousov <kib@freebsd.org>
Subject:   Re: Disk quotas out of sync
Message-ID:  <20080819132421.D05328FC24@mx1.freebsd.org>
In-Reply-To: <20080819130341.GY1803@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <simon@optinet.com> 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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080819132421.D05328FC24>