[lkml]   [2001]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Oops: Quota race in 2.4.12?

    > On Sunday October 28, wrote:
    > > Some of our dual CPU web servers with 2.4.12 are Oopsing while running
    > > quotacheck. They don't seem to die immediately, but oops many times and
    > > eventually break. The old tools didn't warn about quotachecking on a
    > > live file system, so some of our servers were set up to run quotacheck
    > > nightly. The new tools still allow you to do it, but warn that it may
    > > not be consistent. We didn't have any problems with 2.2 kernels.
    > quotacheck cannot be reliable on a live system as it scans through the
    > filesystem counting the usage for each user and then updates the
    > quotas file. If usage changes between scanning a file and updating
    > the quota record, you get an error. This is particularly a problem
    > if quotacheck takes a long time, and on one of my servers (heavily
    > loaded NFS server) quotacheck takes a *long* time if the server is
    > live (it isn't exactly quick if it isn't live either).
    > I wrote a little program which uses libext2fs to scan the block device
    > for inodes and add up usage that way (as opposed to walking the
    > filetree as I believe quotacheck does). It runs *much* faster
    > (minutes instead of hours).
    Note that quotacheck(8) uses e2fslib too if compiled properly...


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:12    [W:0.023 / U:33.044 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site