public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Aaron Goulding <aarongldng@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS filesystem recovery from secondary superblocks
Date: Fri, 9 Nov 2012 08:02:10 +1100	[thread overview]
Message-ID: <20121108210210.GP6434@dastard> (raw)
In-Reply-To: <CABJyUz+r7yQSswqyBng_W=fAXxTz9heb88NeiKSeFU7j4ZD=Hw@mail.gmail.com>

On Thu, Nov 08, 2012 at 07:16:06AM -0800, Aaron Goulding wrote:
> Well I found an error in my bgrep. I was searching for XFSB but in the
> wrong order. Once fixed, I get almost 19,000 results, but I note most of

That seems like way too many to be filesystem metadata hits. I woul
dhave expected the same number of hits as there are AGs in the
filesytem. What you want is the XFSB string in the first 4
bytes of a sector, with the next sector having XAGF as the first
four bytes....


> those results happen within one section on the drive. I've attached the
> first 1MB from that point (4398047346688 bytes in) and I will grab the
> other results as 1K blocks.

I'm not going to look at 19000 potential hits. Narrow it down to
likely candidates first whithe the sector location filter...

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

  parent reply	other threads:[~2012-11-08 21:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31  5:02 XFS filesystem recovery from secondary superblocks Aaron Goulding
2012-11-01  9:18 ` Emmanuel Florac
2012-11-01 22:59 ` Dave Chinner
2012-11-07 15:24   ` Aaron Goulding
     [not found]     ` <CABJyUz+r7yQSswqyBng_W=fAXxTz9heb88NeiKSeFU7j4ZD=Hw@mail.gmail.com>
2012-11-08 21:02       ` Dave Chinner [this message]
     [not found]         ` <CABJyUzKy4YXVZAj=awVNfPD69eWo2mKhM7a-xWF1Vy-PD989sg@mail.gmail.com>
2012-11-09 10:48           ` Dave Chinner
2012-11-09 15:22             ` Aaron Goulding
2012-11-11  7:08               ` Aaron Goulding
2012-11-11 22:39                 ` Dave Chinner
2012-11-14  3:26                   ` Aaron Goulding
2012-11-25  0:20                     ` Aaron Goulding
2012-11-11 22:36               ` Dave Chinner

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=20121108210210.GP6434@dastard \
    --to=david@fromorbit.com \
    --cc=aarongldng@gmail.com \
    --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