public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Arkadiusz Miśkiewicz" <arekm@maven.pl>
To: xfs@oss.sgi.com
Subject: Re: XFS Adding Quotas - Skip Quota check on first mount/boot
Date: Fri, 7 Jun 2013 07:04:27 +0200	[thread overview]
Message-ID: <201306070704.28004.arekm@maven.pl> (raw)
In-Reply-To: <20130607035046.GJ29338@dastard>

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.

This is needed purely for estimating downtime of the service.

> Hence I suggest just waiting for it to complete - if you have
> millions of inodes it could hours to complete, so just let it go
> overnight...

... and say users goodbye ;)

> 
> Cheers,
> 
> Dave.


-- 
Arkadiusz Miśkiewicz, arekm / maven.pl

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-06-07  5:04 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 [this message]
2013-06-07  5:57     ` Dave Chinner
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=201306070704.28004.arekm@maven.pl \
    --to=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