* is quotacheck fast with xfs?
@ 2006-10-05 20:42 Louis-David Mitterrand
2006-10-05 22:15 ` Nathan Scott
0 siblings, 1 reply; 4+ messages in thread
From: Louis-David Mitterrand @ 2006-10-05 20:42 UTC (permalink / raw)
To: 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,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is quotacheck fast with xfs?
2006-10-05 20:42 is quotacheck fast with xfs? Louis-David Mitterrand
@ 2006-10-05 22:15 ` Nathan Scott
2006-10-06 7:52 ` Louis-David Mitterrand
0 siblings, 1 reply; 4+ messages in thread
From: Nathan Scott @ 2006-10-05 22:15 UTC (permalink / raw)
To: Louis-David Mitterrand; +Cc: xfs
On Thu, 2006-10-05 at 22:42 +0200, Louis-David Mitterrand wrote:
> 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.
--
Nathan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is quotacheck fast with xfs?
2006-10-05 22:15 ` Nathan Scott
@ 2006-10-06 7:52 ` Louis-David Mitterrand
2006-10-07 19:42 ` Chris Wedgwood
0 siblings, 1 reply; 4+ messages in thread
From: Louis-David Mitterrand @ 2006-10-06 7:52 UTC (permalink / raw)
To: xfs
On Fri, Oct 06, 2006 at 08:15:01AM +1000, Nathan Scott wrote:
> On Thu, 2006-10-05 at 22:42 +0200, Louis-David Mitterrand wrote:
> >
> > 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.
What you are saying is that userspace quotacheck is not needed with xfs
(or only once)?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: is quotacheck fast with xfs?
2006-10-06 7:52 ` Louis-David Mitterrand
@ 2006-10-07 19:42 ` Chris Wedgwood
0 siblings, 0 replies; 4+ messages in thread
From: Chris Wedgwood @ 2006-10-07 19:42 UTC (permalink / raw)
To: xfs
On Fri, Oct 06, 2006 at 09:52:26AM +0200, Louis-David Mitterrand wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-07 19:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-05 20:42 is quotacheck fast with xfs? Louis-David Mitterrand
2006-10-05 22:15 ` Nathan Scott
2006-10-06 7:52 ` Louis-David Mitterrand
2006-10-07 19:42 ` Chris Wedgwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox