All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <Anand.Jain@oracle.com>
To: "Garry T. Williams" <gtwilliams@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: Btrfs RAID1 File System Grew Something Extra
Date: Wed, 18 Dec 2013 10:46:29 +0800	[thread overview]
Message-ID: <52B10C85.90405@oracle.com> (raw)
In-Reply-To: <1617587.38j2eTuIdt@vfr>


Garry,

  this is a known bug in mkfs.btrfs, the workaround for now is
  to run balance on FS having some data. so that unused group-
  profile will go away.

HTH, Anand

On 12/18/2013 10:03 AM, Garry T. Williams wrote:
> I have been using btrfs for my /home partition on my home machine for
> a few years now.  I created the file system RAID1 using two disk
> partitions.  Recently I noticed btrfs fi df shows extra Data, System,
> and Metadata allocations.  And btrfs fi show indicates extra
> allocations on one of my disk drives accounting for the 20 MiB
> allocation in the df display.
>
> I'm confused.  What does this mean?
>
>      garry@vfr$ sudo btrfs subvolume list /home
>      garry@vfr$ sudo btrfs filesystem df /home
>      Data, RAID1: total=32.00GiB, used=21.01GiB
> --> Data, single: total=8.00MiB, used=0.00
>      System, RAID1: total=8.00MiB, used=12.00KiB
> --> System, single: total=4.00MiB, used=0.00
>      Metadata, RAID1: total=15.00GiB, used=424.60MiB
> --> Metadata, single: total=8.00MiB, used=0.00
>      garry@vfr$ sudo btrfs filesystem show /home
>      Label: none  uuid: 6c3aeff6-9a50-4481-a175-7b98980eb638
> 	    Total devices 2 FS bytes used 21.43GiB
> -->         devid    1 size 373.76GiB used 47.03GiB path /dev/sda4
> 	    devid    2 size 373.76GiB used 47.01GiB path /dev/sdb4
>
>      Btrfs v3.12
>      garry@vfr$
>
> If it matters, I create a snapshot each night and run a rsync backup
> to another drive and then delete the snapshot.
>
> garry@vfr$ uname -r
> 3.11.10-200.fc19.x86_64
> garry@vfr$ rpm -q btrfs-progs
> btrfs-progs-3.12-1.fc19.x86_64
>

  reply	other threads:[~2013-12-18  2:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-18  2:03 Btrfs RAID1 File System Grew Something Extra Garry T. Williams
2013-12-18  2:46 ` Anand Jain [this message]
2013-12-18  4:12   ` Garry T. Williams
2013-12-18  8:13     ` Hugo Mills
2013-12-18  8:28     ` Duncan
2013-12-22  1:14       ` Kai Krakow

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=52B10C85.90405@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=gtwilliams@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 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.