All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert White <rwhite@pobox.com>
To: Christian Tschabuschnig <tschaboo@gmx.at>, linux-btrfs@vger.kernel.org
Subject: Re: Does btrfs-restore report missing/corrupt files?
Date: Mon, 27 Oct 2014 17:39:13 -0700	[thread overview]
Message-ID: <544EE5B1.5040704@pobox.com> (raw)
In-Reply-To: <trinity-716ca1fa-5a94-4624-9e01-8f4c4b500e46-1414310389248@3capp-gmx-bs26>

On 10/26/2014 12:59 AM, Christian Tschabuschnig wrote:
>
> Hello,
>
> currently I am trying to recover a btrfs filesystem which had a few subvolumes. When running
> # btrfs restore -sx /dev/xxx .
> one subvolume gets restored.

Important Aside: The one time I had to resort to btrfs restore I didn't 
get the contents of _many_ of the really small files. My _guess_ is that 
those where the files small enough to reside entirely within the 
original filesystem's metadata.

You should mount the filesystem read-only and recursively copy the 
hirearchy to another file system as well as doing a restore. The two 
results can then be folded together, or at least the former might help 
you find some of what the latter might miss.

I could be totally wrong, or restore could have been improved since 
then, but it was what seemed to be happening.

  reply	other threads:[~2014-10-28  0:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26  7:59 Does btrfs-restore report missing/corrupt files? Christian Tschabuschnig
2014-10-28  0:39 ` Robert White [this message]
2014-10-28  6:15   ` Duncan

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=544EE5B1.5040704@pobox.com \
    --to=rwhite@pobox.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=tschaboo@gmx.at \
    /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.