But I don't know how to do "a heuristic to detect the data" and then recover
May you describe this more detail and let us know the methods of this?
From: Chris Wedgwood [mailto:cw@xxxxxxxx]
Sent: Tuesday, June 17, 2003 9:05 PM
To: Scott Liu
Cc: linux-xfs@xxxxxxxxxxx; 'Grace Ho'; 'Jenny'; 'Myst Lin (E-mail)'; 'Peter'
Subject: Re: How to reconstruct an xfs filesystem and restore all datas?
On Tue, Jun 17, 2003 at 06:12:57PM +0800, Scott Liu wrote:
> A partition created of xfs filesystem and have a lot of datas in.
> BUT remiss, I done "mkfs.xfs" of this partition and then I LOST all
> datas. How to reconstruct this xfs filesystem and restore all
mkfs.fs will have obliterated most if not all useful metadata making
recovery painful at best. It depends what kind of data you have there
and how fragmented it was --- but you might have a chance of recovery
for some of it if you can use a heuristic to detect the data your
after and hope that it's mostly contiguous.
I've done this several times for people who've trashed disks for of
images mostly because asynchronous writes ensure most files are
not-fragmented and most images (jpegs) are easy to scan-for and