From: Markus Binsteiner <makkus@gmail.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs-find-root duration?
Date: Mon, 12 Dec 2016 13:12:35 +1300 [thread overview]
Message-ID: <CADph71yACvRhb6AWixoaR28+VHZeaGmZqawqY3MSBcSeJM=6Qw@mail.gmail.com> (raw)
In-Reply-To: <CAJCQCtQLRRaAyCa8DBHmcizcLHTajmp_vzGU7MkEvshtO4bbNQ@mail.gmail.com>
> You might try 'btrfs check' without repairing, using a recent version
> of btrfs-progs and see if it finds anything unusual.
Not quite sure what that output means, but btrfs check returns instantly:
$ sudo btrfs check /dev/mapper/think--big-home
Checking filesystem on /dev/mapper/think--big-home
UUID: 7f1ce0ed-5986-43ae-b0dd-727eee19fd08
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 655360 bytes used err is 0
total csum bytes: 0
total tree bytes: 131072
total fs tree bytes: 32768
total extent tree bytes: 16384
btree space waste bytes: 123528
file data blocks allocated: 524288
referenced 524288
When I do the same thing on the root-OS partition that is on the same
disk, it takes a bit longer to complete, and I'm getting:
$ sudo btrfs check /dev/mapper/think--big-jessie
Checking filesystem on /dev/mapper/think--big-jessie
UUID: d82e2746-4164-41fa-b528-5a5838d818c6
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
found 29295181824 bytes used err is 0
total csum bytes: 27623652
total tree bytes: 973848576
total fs tree bytes: 874446848
total extent tree bytes: 62554112
btree space waste bytes: 154131992
file data blocks allocated: 29202391040
referenced 30898016256
So I reckon the tree(s) in my home partition is just empty? Why would
btrfs-find-tree take so long to complete though? Also, I've tried to
run btrfs-find-tree on the root-OS partition, but that also didn't
complete within the 10 minutes I tried (so far).
> Although, are there many snapshots? That would cause the rentention of roots.
I can't remember exactly, but it's very possible I didn't use any
snapshots on this machine at all.
next prev parent reply other threads:[~2016-12-12 0:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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='CADph71yACvRhb6AWixoaR28+VHZeaGmZqawqY3MSBcSeJM=6Qw@mail.gmail.com' \
--to=makkus@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.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).