xfs
[Top] [All Lists]

Re: quotacheck speed

To: Arkadiusz Miśkiewicz <arekm@xxxxxxxx>
Subject: Re: quotacheck speed
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 16 Feb 2012 08:45:17 +1100
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <201202151139.10612.arekm@xxxxxxxx>
References: <201202122201.07649.arekm@xxxxxxxx> <20120213234235.GE14132@dastard> <201202140635.45902.arekm@xxxxxxxx> <201202151139.10612.arekm@xxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Feb 15, 2012 at 11:39:10AM +0100, Arkadiusz Miśkiewicz wrote:
> On Tuesday 14 of February 2012, Arkadiusz Miśkiewicz wrote:
> > On Tuesday 14 of February 2012, Dave Chinner wrote:
> > > On Mon, Feb 13, 2012 at 07:09:50PM +0100, Arkadiusz Miśkiewicz wrote:
> > > > On Monday 13 of February 2012, Christoph Hellwig wrote:
> > > > > In what cases do you regularly run quotacheck when you did not do
> > > > > a repair first?
> > > > 
> > > > I don't initiate quotacheck manually. AFAIK internal xfs quotacheck
> > > > happens in two cases here:
> > > > 1) repair->mount
> > > > 2) filesystem has quotacheck done properly some time ago -> umount ->
> > > > mount-
> > > > 
> > > > >oops/reset/something like that happens while mounting -> new mount
> > > 
> > > So you'd like both quotacheck to be sped up and repair
> > > to do it as well? ;)
> > 
> > Well, 1) is happening much more often than 2) :-)
> 
> Oh, and one more scenario. Running system, sysrq u, s, b -> new boot, mount 
> -> 
> quotacheck runs.
> 
> Does it need to run in such case?

That's no different to an unclean shutdown. I'm not sure why that
would trigger a quotacheck. Anything inthe log that might indicate
why it started a quotacheck?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>