From: Ben Myers <bpm@sgi.com>
To: Guillaume Anciaux <guillaume.anciaux@epfl.ch>
Cc: linux-xfs@oss.sgi.com
Subject: Re: mount XFS partition fail after repair when uquota and gquota are used
Date: Mon, 18 Mar 2013 16:36:04 -0500 [thread overview]
Message-ID: <20130318213604.GF22182@sgi.com> (raw)
In-Reply-To: <51477035.7070200@epfl.ch>
Hi Guillaume,
On Mon, Mar 18, 2013 at 08:51:17PM +0100, Guillaume Anciaux wrote:
> On 18/03/2013 17:47, Ben Myers wrote:
> >On Mon, Mar 18, 2013 at 02:59:56AM -0700, anciaux wrote:
> >>I have been struggling to repair a partition after a RAID disk set failure.
> >>
> >>Apparently the data is accessible with no problem since I can mount the
> >>partition.
> >>
> >>The problem is ONLY when I use the uquota and gquota mount option (which I
> >>was using freely before the disk failure).
...
> >>I fear for the filesystem to be corrupted and xfs_repair not able to
> >>notice. At least for the quota information. Someone has any hint on
> >>what could be the problem ?
> >
> >Have you tried xfs_repair? I'm not clear on that.
>
> Sorry I was not clear enough in my message: Yes I did hit xfs_repair
> -L. And it permitted me to mount the partition but ONLYwhen quota
> options are not set. If quota is activated then a corruption message
> (see below for the complete message) is printed in syslog.
Running xfs_repair with the -L option will have zeroed the log so you have
likely lost some recent metadata transactions. -L is dangerous.
> >>On how I could fix/regenerate the quota
> >>information ?
> >
> >It looks like you're hitting the corruption during quotacheck, which is in the
> >process of regenerating the quota information. Your paste seems to be missing
> >the output that would be printed by xfs_warn at line 513 which would include
> >ino, total nextents, and the number of blocks used. Is that info available?
>
> Sorry I did a " | grep -i xfs" for the previous log. The complete
> log is hereafter:
>
> Mar 18 09:35:50 storage kernel: [ 417.883817] XFS (sdb1): corrupt
> dinode 3224608213, extent total = 1, nblocks = 0.
^^^^^^^^^^
You know the inode number now. It has one extent. It is using 0 blocks which
is why you're having trouble. You could use 'find' to find that file.
> Corruption detected. Unmount and run xfs_repair
Does a subsequent xfs_repair (without -L) find the inode and fix it? If not we
have a bug in xfs_repair. I recommend you try with the latest and greatest
version which you can find here: git://oss.sgi.com/xfs/cmds/xfsprogs.git
> >Could you provide a metadump? This bug report isn't ringing any bells for me
> >yet, but maybe it will for someone else.
>
> I wish I could do this but the result of "meta_dump /dev/sdb1" for
> the partition containing 6.9T of data is promising to be quite
> large. Are there special options I should use to extract only the
> information that you would need to investigate my problem ?
A metadump is the best option. How big?
Thanks,
Ben
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2013-03-18 21:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-18 9:59 mount XFS partition fail after repair when uquota and gquota are used anciaux
2013-03-18 16:47 ` Ben Myers
2013-03-18 19:51 ` Guillaume Anciaux
2013-03-18 21:36 ` Ben Myers [this message]
[not found] ` <51478CAB.3020409@epfl.ch>
2013-03-19 14:15 ` Guillaume Anciaux
2013-03-18 21:47 ` Keith Keller
2013-03-18 23:33 ` Dave Chinner
2013-03-19 8:21 ` Guillaume Anciaux
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=20130318213604.GF22182@sgi.com \
--to=bpm@sgi.com \
--cc=guillaume.anciaux@epfl.ch \
--cc=linux-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.