All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Suba <michal.suba@pantheon.sk>
To: linux-btrfs@vger.kernel.org
Subject: real free space on btrfs volume (performance impact)
Date: Tue, 10 Jan 2012 15:13:28 +0100	[thread overview]
Message-ID: <4F0C4788.50806@pantheon.sk> (raw)

Hello

  we are currently investigating performance issue on system runing 
above btrs filesystem. Is it possible, that performance is impacted by 
lack of free space? Also, how to get info about real free space on btrfs 
volume?

# btrfs-show /dev/sdb1
Label: opt  uuid: 28a55827-e677-47a9-98d5-d31eb3d71436
     Total devices 1 FS bytes used 167.83GB
     devid    1 size 240.00GB used *229.25GB* path /dev/sdb1

Btrfs Btrfs v0.19

# btrfs filesystem df /opt
Data: total=213.23GB, used=165.26GB
System, DUP: total=8.00MB, used=40.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=8.00GB, used=2.57GB

# df -h /opt
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             240G  171G   59G  75% /opt

How come that there is difference detween btrfs-show and df .. 40GB Is 
the space really usead or can I claim it back? (there are no snapshots)

# btrfs subvolume list /opt
#

  Thanks
michal


             reply	other threads:[~2012-01-10 14:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 14:13 Michal Suba [this message]
2012-01-10 18:40 ` real free space on btrfs volume (performance impact) Mitch Harder
2012-01-10 18:54   ` cwillu

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=4F0C4788.50806@pantheon.sk \
    --to=michal.suba@pantheon.sk \
    --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.