From: Josef Bacik <jbacik@fb.com>
To: Marc MERLIN <marc@merlins.org>, <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs snapshot sizes
Date: Fri, 9 May 2014 13:23:28 -0400 [thread overview]
Message-ID: <536D0F10.3040305@fb.com> (raw)
In-Reply-To: <20140507111949.GT10159@merlins.org>
On 05/07/2014 07:19 AM, Marc MERLIN wrote:
> So have others found a good way to have an idea about how much space is
> taken by each snapshot?
>
> I've tried quota trees, but I'm not sure how to read the output, or if it's
> correct (including the negative numbers some have mentioned). Are there
> other options?
>
> I think the main problem is that the shared data field is not working,
> making it harder to know which blocks are only used in a given snapshot.
>
>
> subvol group total unshared
> -------------------------------------------------------------------------------
> backup/debian32 0/262 403.84G -5.46G
> backup/debian32_daily_20140504_00:03:01 0/3660 446.45G 0.00G
> backup/debian32_daily_20140505_00:03:01 0/3687 431.11G 0.00G
> backup/debian32_daily_20140506_00:03:00 0/3705 420.83G 0.00G
> backup/debian32_daily_20140507_00:03:01 0/3724 411.87G 0.00G
> backup/debian32_weekly_20140504_00:04:01 0/3675 446.45G 0.00G
>
> backup/debian64 0/263 855.97G -1.50G
> backup/debian64_daily_20140504_00:03:01 0/3662 860.19G 0.00G
> backup/debian64_daily_20140505_00:03:01 0/3690 859.32G 0.00G
> backup/debian64_daily_20140506_00:03:00 0/3707 858.15G 0.00G
> backup/debian64_daily_20140507_00:03:01 0/3726 857.47G 0.00G
> backup/debian64_weekly_20140504_00:04:01 0/3676 860.19G 0.00G
>
> backup/ubuntu 0/264 360.28G 0.00G
> backup/ubuntu_daily_20140504_00:03:01 0/3664 364.53G 0.00G
> backup/ubuntu_daily_20140505_00:03:01 0/3692 362.44G 0.00G
> backup/ubuntu_daily_20140506_00:03:00 0/3709 360.91G 0.00G
> backup/ubuntu_daily_20140507_00:03:01 0/3727 360.33G 0.00G
> backup/ubuntu_weekly_20140504_00:04:01 0/3677 364.53G 0.00G
>
>
Quota's wont work quite right unless you have my most recent patch, give
that a whirl and you should be good to go. Thanks,
Josef
prev parent reply other threads:[~2014-05-09 17:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 11:19 btrfs snapshot sizes Marc MERLIN
2014-05-09 7:42 ` David Pottage
2014-05-09 14:06 ` Marc MERLIN
2014-05-09 17:23 ` Josef Bacik [this message]
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=536D0F10.3040305@fb.com \
--to=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=marc@merlins.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.