Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Mike Arnautov <mla@mipmip.org>
To: linux-btrfs@vger.kernel.org
Subject: Metadata reservation
Date: Wed, 30 Oct 2013 12:15:16 +0000	[thread overview]
Message-ID: <5270F854.7090402@mipmip.org> (raw)

I have just moved some partitions on two Linux (Mageia 3) boxes to btrfs 
(call the boxes A and B). In both cases only a part of one physical disk 
can be allocated to btrfs.

On box A, the btrfs partition size is 419 GB and the resulting usable 
space is 418 GB with 1GB reserved by btrfs for metadata.

However, on box B, where the partition size is 388 GB, reserved metadata 
amounts to 128 GB (!), leaving just 266 GB for data.

I've now done box B twice. Once using btrfs-convert and once by 
reverting to ext4, and using KDE control centre to change the type of 
the partition to btrfs, restoring the data from backups. In both cases 
metadata reservation amount to 128 GB -- about 30% of the disk.

Any suggestions on (a) what the cause might be and (b) how to improve 
things?

Thanks in advance,

-- 
Mike Arnautov
mailto:mla@mipmip.org
http://mipmip.org

             reply	other threads:[~2013-10-30 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 12:15 Mike Arnautov [this message]
2013-10-30 12:43 ` Metadata reservation Hugo Mills

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=5270F854.7090402@mipmip.org \
    --to=mla@mipmip.org \
    --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