is quotacheck fast with xfs?
Hello,
We have a 500GB mail server with 200 users presently with reiserfs. At boot time quotacheck takes close to one hour.
Would quotacheck be faster on xfs?
Thanks,
Quoted 7 lines · Louis-David Mitterrand
Hello,
We have a 500GB mail server with 200 users presently with reiserfs. At boot time quotacheck takes close to one hour.
Would quotacheck be faster on xfs?
Yes, typically - XFS uses its internal "bulkstat" code to speed up the inode scanning process (and it only needs to be done once, on the initial mount, and then XFS "remembers" that the check has been done, for subsequent mounts and it journals all updates to the quota files), whereas the userspace quotacheck(1) program is filesystem independent (IIRC) and doesn't implement such optimisations.
FWIW, quotacheck time is a function of the number of inodes in the filesystem, not the number of users.
cheers.
Signature · 1 line
Nathan
Quoted 14 lines · Nathan Scott
Quoted 5 lines · Louis-David Mitterrand
We have a 500GB mail server with 200 users presently with reiserfs. At boot time quotacheck takes close to one hour.
Would quotacheck be faster on xfs?
Yes, typically - XFS uses its internal "bulkstat" code to speed up the inode scanning process (and it only needs to be done once, on the initial mount, and then XFS "remembers" that the check has been done, for subsequent mounts and it journals all updates to the quota files), whereas the userspace quotacheck(1) program is filesystem independent (IIRC) and doesn't implement such optimisations.
Quoted 2 lines
FWIW, quotacheck time is a function of the number of inodes in the filesystem, not the number of users.
What you are saying is that userspace quotacheck is not needed with xfs (or only once)?
Quoted 2 lines · Louis-David Mitterrand
What you are saying is that userspace quotacheck is not needed with xfs (or only once)?
there is no userspace quata check, it's done in the kernel
userspace tells the kernel it needs to mount with quotas, if there were none before it will rebuild the quata database