All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Dias Cruz <rodrigodc@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Filesystem
Date: Wed, 26 Jun 2013 15:44:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130626T173801-308@post.gmane.org> (raw)
In-Reply-To: CADn-QaNS01CGtPJtr9yHkEU-TET7MrhCUbr1j4g3gYROvQ=K+Q@mail.gmail.com

Alexander Skwar <alexanders.mailinglists+nospam <at> gmail.com> writes:

> 
> Hi
> 
> On Mon, Jun 17, 2013 at 11:43 PM, Alexander Skwar
> <alexanders.mailinglists+nospam <at> gmail.com> wrote:
> > Hello Josef
> >
> > On Mon, Jun 17, 2013 at 11:21 PM, Josef Bacik <jbacik <at> fusionio.com> 
wrote:
> >
> >> Pull down my tree
> >>
> >> git://github.com/josefbacik/btrfs-progs.git
> >>
> >> and build and run the fsck in there and see if it's a bit more 
friendly.
> >
> > I just gave it a try, but wasn't successful, it seems… Kernel still
> > crashes.
> > Maybe checkout the screenphotos at http://goo.gl/DWkRH or
> > http://imgur.com/a/00pTx
> 
> Any other ideas, about what I might be able to do, to
> revive my btrfs filesystem?
> 


I had the very same problem some days ago.

I have not yet found out how to fix the broken btrfs filesystem. However, I 
have been able to recover all my files from the filesystem and copy them to 
a brand new ext4 filesystem, that I am using now.

To recover files from the broken btrfs filesystem, use the program "btrfs-
restore". For example, if the filesystem is on "/dev/sda1" and you want your 
files to be copied to the directory "/backup", then:

    $ btrfs-restore /dev/sda1 /backup

At the end, all your files should be found at the directory "/backup". If 
you wish, you can recreate the filesystem on "/dev/sda1" (using mkfs.btrfs 
or mkfs.ext4) and copy the files back to there.

Rodrigo.



  reply	other threads:[~2013-06-26 15:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 21:08 Filesystem "somewhat" destroyed - need help for recovery/fixing Alexander Skwar
2013-06-17 21:21 ` Josef Bacik
2013-06-17 21:43   ` Alexander Skwar
2013-06-20  9:38     ` Alexander Skwar
2013-06-26 15:44       ` Rodrigo Dias Cruz [this message]
2013-07-01  7:39         ` Filesystem Alexander Skwar

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=loom.20130626T173801-308@post.gmane.org \
    --to=rodrigodc@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.