xfs
[Top] [All Lists]

Re: XFS filesystem recovery from secondary superblocks

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: XFS filesystem recovery from secondary superblocks
From: Aaron Goulding <aarongldng@xxxxxxxxx>
Date: Tue, 13 Nov 2012 19:26:28 -0800
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C2eUOumdT9Dv1NeuvOyENW4WCTrcFUP0csu+bFJNvwQ=; b=ALvQYCDJnVNOX8fng7DcZx1bKB/eaFpQsNDnde8D8kajj5AhUkSYmBqaMd/+9p7oNw DBucUzRA44zxK8FdUZhXNJdEE3X6B2Ib2dfwyQ5S0cL36+aaCHCWFHkHv9mbYRAfHbrI e+IfgshB9jNbUMBtSjNxI7xHt4vGhQHLKs1LRPAGWEM5mQQhRDCUZhZad4UbbKSrtljR iX5m6vkZdm+IMpnyNXsPlQpu26oC2N2wwk6PyBBK3psqYqoYj0+f8mIqqOYrxtGJ3jeA OwWJU0Ut3GhZwWvuHqkIrWrtm9DTMiftlC4lSfAkd7dMOpcskkLYLmtBatO+Ahp+gwLo EqIg==
In-reply-to: <20121111223944.GN24575@dastard>
References: <CABJyUz+h=pZ6+2rro1PjoB1ggTAoRw+bTzc_bU7Eaec0_AUKLA@xxxxxxxxxxxxxx> <20121101225938.GS29378@dastard> <CABJyUz+VhUY=tVKpEeKXfQRoaL4s+gwNmRr4wNAnRX6zTt5xXg@xxxxxxxxxxxxxx> <CABJyUz+r7yQSswqyBng_W=fAXxTz9heb88NeiKSeFU7j4ZD=Hw@xxxxxxxxxxxxxx> <20121108210210.GP6434@dastard> <CABJyUzKy4YXVZAj=awVNfPD69eWo2mKhM7a-xWF1Vy-PD989sg@xxxxxxxxxxxxxx> <20121109104839.GE6434@dastard> <CABJyUzJVj-rpGW=i5QG=AZPvhuD-qdbujuwOdu_EdGbYGZ++Rg@xxxxxxxxxxxxxx> <CABJyUzJ7maOcj+aPkpCvBc1-P+Z-XPsft8rbsVnqgpfyVCs9xQ@xxxxxxxxxxxxxx> <20121111223944.GN24575@dastard>
Hmm.. Okay new plan. Running XFSB  and XAGF scans on /dev/md0 instead of /dev/md1, and I'll use that to find the alignment the superblocks are expecting, and see if I have an offset wrong somewhere when I ran the multi-part DD onto /dev/md1. Barring this, I'll resort to xfs_irecover. I think you've given me a lot of information to go on though, so thank you greatly.

-Aaron


On Sun, Nov 11, 2012 at 2:39 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
On Sat, Nov 10, 2012 at 11:08:23PM -0800, Aaron Goulding wrote:
> As I guessed, xfs_repair didn't work. xfs_db does now load with warnings,
> but I fear I don't know enough about that to properly use that tool. I've
> done a search for xfs_irepair but I'm finding very little from that. Where
> is that tool located? I'm understanding a full restore is very unlikely at
> this point, but if I can get anything, I'll consider this project a success
> and a learning experience. :)

xfs_irecover:

http://oss.sgi.com/archives/xfs/2008-12/msg01782.html

current location:

http://inai.de/projects/hxtools/

You might need to hack it to recovery full files (ISTR is ignore
files larger than a certain size), but tools lke this are your best
bet now.

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx

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