From: Dave Chinner <david@fromorbit.com>
To: "Arkadiusz Miśkiewicz" <arekm@maven.pl>
Cc: xfs@oss.sgi.com
Subject: Re: XFS Adding Quotas - Skip Quota check on first mount/boot
Date: Fri, 7 Jun 2013 15:57:55 +1000 [thread overview]
Message-ID: <20130607055755.GK29338@dastard> (raw)
In-Reply-To: <201306070704.28004.arekm@maven.pl>
On Fri, Jun 07, 2013 at 07:04:27AM +0200, Arkadiusz Miśkiewicz wrote:
> On Friday 07 of June 2013, Dave Chinner wrote:
>
> > > I suspect that upon re-mount, XFS is running a quota check on the 14TB
> > > RAID. My question is: how do I disable the initial quota check so it
> > > can mount it properly and have quota check run in the background?
> >
> > You can't. quotacheck relies on exclusive access to the filesystem,
> > and so the mount cannot process until it completes. Quotas need to
> > be consistent before you can start using the filesystem....
> >
> > Now, there's the possibility that we could parallelise quotacheck
> > because it uses bulkstat for iteration, but somebody would have to
> > find the time to do that and it won't solve your immediate problem.
>
> I'm facing similar problem sometimes. The parallelisation would be nice but
> I'm missing something more obvious - kind of progress indicator, like printked
> message (or in proc/sysfs) after processing some known part of job.
Patches welcome ;)
> This is needed purely for estimating downtime of the service.
xfstests:src/bstat
that will run a single threaded bulkstat pass across your
filesystem. You can do it online, while the filesystem is up and
being used, and it's runtime will give you an indication of how long
a quotacheck (a single threaded bulkstat pass) will take to run.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2013-06-07 5:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 2:59 XFS Adding Quotas - Skip Quota check on first mount/boot Adam Brenner
2013-06-07 3:50 ` Dave Chinner
2013-06-07 5:04 ` Arkadiusz Miśkiewicz
2013-06-07 5:57 ` Dave Chinner [this message]
2013-06-07 5:25 ` Adam Brenner
2013-06-07 6:10 ` Dave Chinner
2013-06-07 6:36 ` Stan Hoeppner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130607055755.GK29338@dastard \
--to=david@fromorbit.com \
--cc=arekm@maven.pl \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox