[Top] [All Lists]

Re: XFS filesystem recovery from secondary superblocks

To: Aaron Goulding <aarongldng@xxxxxxxxx>
Subject: Re: XFS filesystem recovery from secondary superblocks
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 9 Nov 2012 08:02:10 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <CABJyUz+r7yQSswqyBng_W=fAXxTz9heb88NeiKSeFU7j4ZD=Hw@xxxxxxxxxxxxxx>
References: <CABJyUz+h=pZ6+2rro1PjoB1ggTAoRw+bTzc_bU7Eaec0_AUKLA@xxxxxxxxxxxxxx> <20121101225938.GS29378@dastard> <CABJyUz+VhUY=tVKpEeKXfQRoaL4s+gwNmRr4wNAnRX6zTt5xXg@xxxxxxxxxxxxxx> <CABJyUz+r7yQSswqyBng_W=fAXxTz9heb88NeiKSeFU7j4ZD=Hw@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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...


Dave Chinner

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