Re: Does btrfs-restore report missing/corrupt files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux