Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Sean Greenslade <sean@seangreenslade.com>
To: Anand Patil <anand.prabhakar.patil@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Metadata about to fill up, how to make it bigger next time?
Date: Wed, 25 Mar 2015 21:10:54 -0500	[thread overview]
Message-ID: <20150326021054.GA28470@coach.innovationfirst.com> (raw)
In-Reply-To: <CAFzWkZGytSfhvx8zts=pwBseua-Hdpp+ZXmDPNLrpwJqhiaU_A@mail.gmail.com>

On Wed, Mar 25, 2015 at 04:45:09PM -0700, Anand Patil wrote:
> Hi everyone,
> 
> When I run btrfs fi df /path/to/fs, I see:
> 
> Data, single: total=53.01GiB, used=51.79GiB
> System, DUP: total=32.00MiB, used=16.00KiB
> Metadata, DUP: total=16.00GiB, used=14.72GiB
> 
> My most pressing question is, does that metadata line really mean that
> the filesystem is going to become unusable soon?

No. If you total up your allocations, you will notice that you have
~69GiB allocated, far shy of your total 1000GiB available. BTRFS
allocates in chunks as needed, so once it needs more space for metadata,
it will allocate some. You only get into trouble if there is no free
space to allocate from, and you are far from having that issue.

--Sean

  reply	other threads:[~2015-03-26  2:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 23:45 Metadata about to fill up, how to make it bigger next time? Anand Patil
2015-03-26  2:10 ` Sean Greenslade [this message]
2015-03-26  3:23   ` Anand Patil
2015-03-26  5:28 ` Duncan
2015-03-26  7:48   ` Anand Patil

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=20150326021054.GA28470@coach.innovationfirst.com \
    --to=sean@seangreenslade.com \
    --cc=anand.prabhakar.patil@gmail.com \
    --cc=linux-btrfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox