is quotacheck slow with reiserfs
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,
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,
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,
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
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