All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: is quotacheck slow with reiserfs
  2006-10-06  7:50   ` Louis-David Mitterrand
@ 2006-10-05  7:33     ` Konstantin Münning
  2006-10-09 12:01     ` Jan Kara
  1 sibling, 0 replies; 5+ messages in thread
From: Konstantin Münning @ 2006-10-05  7:33 UTC (permalink / raw)
  To: reiserfs-list

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* is quotacheck slow with reiserfs
@ 2006-10-05 20:34 Louis-David Mitterrand
  2006-10-05 22:09 ` Vladimir V. Saveliev
  0 siblings, 1 reply; 5+ messages in thread
From: Louis-David Mitterrand @ 2006-10-05 20:34 UTC (permalink / raw)
  To: reiserfs-list

Hello,

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. 

Is that normal? Is there a way to speed it up?

Thanks,

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: is quotacheck slow with reiserfs
  2006-10-05 20:34 is quotacheck slow with reiserfs Louis-David Mitterrand
@ 2006-10-05 22:09 ` Vladimir V. Saveliev
  2006-10-06  7:50   ` Louis-David Mitterrand
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir V. Saveliev @ 2006-10-05 22:09 UTC (permalink / raw)
  To: Louis-David Mitterrand; +Cc: reiserfs-list

Hello

On Friday 06 October 2006 00:34, Louis-David Mitterrand wrote:
> Hello,
> 
> 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?

> 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.

> Thanks,
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: is quotacheck slow with reiserfs
  2006-10-05 22:09 ` Vladimir V. Saveliev
@ 2006-10-06  7:50   ` Louis-David Mitterrand
  2006-10-05  7:33     ` Konstantin Münning
  2006-10-09 12:01     ` Jan Kara
  0 siblings, 2 replies; 5+ messages in thread
From: Louis-David Mitterrand @ 2006-10-06  7:50 UTC (permalink / raw)
  To: reiserfs-list

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?

Thanks,

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: is quotacheck slow with reiserfs
  2006-10-06  7:50   ` Louis-David Mitterrand
  2006-10-05  7:33     ` Konstantin Münning
@ 2006-10-09 12:01     ` Jan Kara
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Kara @ 2006-10-09 12:01 UTC (permalink / raw)
  To: reiserfs-list

> 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.
  Actually if you are running that recent system, you can consider using
journaled quota. Then you don't have to run quotacheck at all (only
after running fsck). You can turn on journaled quota by mount options
usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 (provided you
use both user and group quotas and that you use new quota format).

> > > 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?
  Someone already answered this in this thread ;).

								Honza

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-09 12:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-05 20:34 is quotacheck slow with reiserfs Louis-David Mitterrand
2006-10-05 22:09 ` Vladimir V. Saveliev
2006-10-06  7:50   ` Louis-David Mitterrand
2006-10-05  7:33     ` Konstantin Münning
2006-10-09 12:01     ` Jan Kara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.