Louis-David Mitterrand wrote:
> On Fri, Oct 06, 2006 at 02:09:11AM +0400, Vladimir V. Saveliev wrote:
>> On Friday 06 October 2006 00:34, Louis-David Mitterrand wrote:
>>> On a 200-user mail server with a 500gb reiser3 fs, quotacheck takes an 
>>> hour at boot time. This is a mail server with 200 users. 
>>>
>> which linux version is in use on the server?
> 
> Debian unstable with latest kernel 2.6.17.
> 
>>> Is that normal? Is there a way to speed it up?
>>>
>> How do users store their mails? If they store one mail in a separate 
>> file, then quotacheck is to iterate over
>> a lot files which can be very time consuming.
> 
> We use maildir, so, yes, it's a lot of files.
> 
> Isn't there a way to run quotacheck in the background while daemons 
> start serving users? 
> 
> Or must it absolutely be run at mount time to be effective?

You may run quotacheck at any time if you don't mind slightly incorrect
qotas as changes done on already checked files while qotacheck is
running wouldn't be noticed. You may skip quotacheck at startup at all -
if your server didn't crash quotas should stay in sync. So you could use
some off-peak time for quotacheck at runtime and do this once in a while.

-- 
Konstantin Münning

Reply via email to