xfs
[Top] [All Lists]

Re: Overwritten partition

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: Overwritten partition
From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
Date: Mon, 1 Jun 2015 14:28:51 -0400
Cc: hallexh@xxxxxxxxx, xfs-oss <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/iVHzU21yk5M6iSPoQ/n4phbi/5efs/2fBvK1oVDfvE=; b=dO21ePcMyA+BFqotJz3k4Zo3HX1PgMirVxIPLCXWdMWZJGPeKHMTQFZtBE2DEuOUgK AWg1gvvA25MzIhB+WCC91XKhhr7wcOBVRUQ9Nb5dF/stsW37L8p+bLX0E2atlM91TfU1 TsubYU62q2T52zIbAUR7attmHNI80kOt7MPSBTCCuNp3hJGA5EO9H/ApNvYndZwOxcN/ TvuC6c8QYMQu8sx6s5kV+4R1zWp2zIyzTFxdQGleqWDjVmYr1ogUK4XPst225IdJCN+0 Cub7cCX4h3ysGnuLYmOyTAq8H9ZNrOy9PR3yU4rJsejbRgLmcLBGoeAlrgl2zRNOkXKz Cb7g==
In-reply-to: <20150601131306.295f5dfb@xxxxxxxxxxxxxxxxxxxx>
References: <556A3E25.6010706@xxxxxxxxx> <20150601131306.295f5dfb@xxxxxxxxxxxxxxxxxxxx>
On Mon, Jun 1, 2015 at 7:13 AM, Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> wrote:
Le Sun, 31 May 2015 00:48:05 +0200
hallexh@xxxxxxxxx Ãcrivait:

> I accidentally overwritten first 40GB of 36TB XFS partition. I ran
> xfs_repair then, which resets the superblocks (I'm sorry i didn't
> copied the output of it) and after I mounted the partition, there was
> no files. Empty file system, but It should be almost 90% full.
>
> Am I really screwed or there's a chance to recover the data somehow?

At this point your best bet is to use a tool like photorec on the
partition to see what data it can salvage, though on 36 TB sorting the
results may be overwhelming... You'll need some other large filesystem
to store the salvaged data, though.

Photorec doesn't recreate any filesystem metadata (filenames, directory structure, timestamps, etc).

Hopefully you have a recent backup you can use instead of trying to go through Photorec's results.

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