linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Calvin Walton <calvin.walton@kepstin.ca>
To: serialhex@lavabit.com
Cc: linux-btrfs@vger.kernel.org
Subject: Re: filesystem finder / fixer
Date: Tue, 31 Jul 2012 06:42:46 -0400	[thread overview]
Message-ID: <1343731366.6064.28.camel@ayu> (raw)
In-Reply-To: <36321.99.101.148.183.1343705202.squirrel@lavabit.com>

On Mon, 2012-07-30 at 23:26 -0400, serialhex@lavabit.com wrote:
> Hi all, so I've filled out an awesome ID10T form this weekend (all
> starting with a forded update) and completely annialated my partitions...
> I was running btrfs and was wondering 2 things:
> 
> 1) is there a tool to help me recover data from my fs? I don't have a
> backup of my partition table and so I have about 500GB of space where a
> few partitionns might reside... GPT partitions mind you

One of the nice things about GPT is that it stores a backup partition
table in a second spot near the end of the disk. It may be possible to
recover it.

Try running 'gdisk' on your drive, then hit 'r' to switch to recovery
mode. Try the 'c' recovery command to load the backup partition table
from disk.
More details and some other things you might want to try are at
http://www.rodsbooks.com/gdisk/repairing.html

Do keep in mind that if you have the space, you should make an image of
your disk before trying any recovery tools. If you don't have the space,
then you should buy, say, an external USB drive to *make* the space, and
use it for backups once you're done recovering your data (if that's
possible.)

This wouldn't have been a major problem if you had backups in the first
place :)

-- 
Calvin Walton <calvin.walton@kepstin.ca>


  parent reply	other threads:[~2012-07-31 10:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31  3:26 filesystem finder / fixer serialhex
2012-07-31  5:32 ` Roman Mamedov
2012-07-31 17:52   ` Alex Elsayed
2012-07-31 17:56     ` Alex Elsayed
2012-08-03 20:11     ` serialhex
2012-08-04  9:19       ` Martin Steigerwald
2012-07-31 10:42 ` Calvin Walton [this message]
2012-07-31 13:38   ` serialhex

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=1343731366.6064.28.camel@ayu \
    --to=calvin.walton@kepstin.ca \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=serialhex@lavabit.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;
as well as URLs for NNTP newsgroup(s).