linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs-find-root duration?
@ 2016-12-11  0:12 Markus Binsteiner
  2016-12-11  1:20 ` Xin Zhou
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Markus Binsteiner @ 2016-12-11  0:12 UTC (permalink / raw)
  To: linux-btrfs

It seems I've accidentally deleted all files in my home directory,
which sits in its own btrfs partition (lvm on luks). Now I'm trying to
find the roots to be able to use btrfs restore later on.

btrfs-find-root seems to be taking ages though. I've run it like so:

btrfs-find-root /dev/mapper/think--big-home  -o 5 > roots.txt

After 16 hours, there is still no output, but it's still running
utilizing 100% of one core. Is there any way to gauge how much longer
it'll take? Should there have been output already while it's running?

When I run it without redirecting stdout, I get:

$ btrfs-find-root /dev/mapper/think--big-home  -o 5

Superblock doesn't contain generation info for root 5
Superblock doesn't contain the level info for root 5

When I omit the '-o 5', it says:

$ btrfs-find-root /dev/mapper/think--big-home

Superblock thinks the generation is 593818
Superblock thinks the level is 0

Is the latter the way to run it? Did that initially, but that  didn't
return any results in a reasonable timeframe either.

The filesystem was created with Debian Jessie, but I'm using Ubuntu (
btrfs-progs v4.7.3 ) to try to restore the files at the moment.

Thanks!

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-12-12 12:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-11  0:12 btrfs-find-root duration? Markus Binsteiner
2016-12-11  1:20 ` Xin Zhou
     [not found] ` <trinity-19716973-6bfa-438e-8068-ccb3d257eaad-1481419066346@3capp-mailcom-bs02>
2016-12-11  1:42   ` Markus Binsteiner
2016-12-12 12:14     ` Austin S. Hemmelgarn
2016-12-11  5:47 ` Chris Murphy
2016-12-11 22:41   ` Markus Binsteiner
2016-12-11 22:46     ` Chris Murphy
2016-12-11 23:30       ` Markus Binsteiner
2016-12-11 23:41         ` Chris Murphy
2016-12-12  0:12           ` Markus Binsteiner
2016-12-12  1:12             ` Chris Murphy
2016-12-12  2:10               ` Markus Binsteiner
2016-12-12  4:06                 ` Chris Murphy
2016-12-12  4:12                   ` Chris Murphy
2016-12-12  4:31                     ` Markus Binsteiner
2016-12-12  4:19                   ` Markus Binsteiner

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).