Skip to contentSkip to conversation

is quotacheck slow with reiserfs

DISCUSSION Louis-David Mitterrand 4 participants 5 messages Oct 5, 2006 – Oct 9, 2006

lore
Share & tools
lore
#3 lore raw
In reply to Louis-David Mitterrand
Quoted 15 lines · Louis-David Mitterrand
Quoted 5 lines · Vladimir V. Saveliev
Quoted 3 lines · Louis-David Mitterrand

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.

Quoted 5 lines
Quoted 2 lines

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.

Quoted 6 lines

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.

Signature · 1 line
Konstantin Münning
#0 lore raw

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,

#1 lore raw

Hello

Quoted 5 lines · Louis-David Mitterrand

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?

Quoted 2 lines

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.

Quoted 3 lines

Thanks,

#2 lore raw
Quoted 7 lines · Vladimir V. Saveliev
Quoted 4 lines · Louis-David Mitterrand

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.

Quoted 6 lines
Quoted 2 lines

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,

#4 lore raw
Quoted 10 lines · Vladimir V. Saveliev
Quoted 7 lines · Louis-David Mitterrand
Quoted 4 lines

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

Quoted 7 lines
Quoted 6 lines
Quoted 2 lines

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.

Quoted 6 lines

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