All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timofey Titovets <nefelim4ag@gmail.com>
To: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Space not return
Date: Fri, 18 Dec 2015 12:37:48 +0300	[thread overview]
Message-ID: <CAGqmi75csQRJifFt=66ooQ9SHqxfeAJoRe+u7v21gNqaFibpgA@mail.gmail.com> (raw)

Hi guys, i catch strange problem:
btrfs with mysql, mysql rewrite data, but space consumption only increasing
i.e:

df -h
/dev/sdb1       112G   73G   39G  66% /var/lib/mysql

du -hs
43G /var/lib/mysql/

btrfs fi df /var/lib/mysql
Data, single: total=78.00GiB, used=72.39GiB
System, single: total=32.00MiB, used=16.00KiB
Metadata, single: total=1.00GiB, used=109.61MiB
GlobalReserve, single: total=48.00MiB, used=0.00B

This is fresh fs (seven hours old)
Created by btrfs-progs 4.1.2
Linux 4.2.0-0.bpo.1-amd64 #1 SMP Debian 4.2.6-3~bpo8+2 (2015-12-14)
x86_64 GNU/Linux

Btrfsck not found any errors on this device

P.S. First i think what it because system have opened files
descriptors, but after reboot, space not return
If i write file by dd and after delete it, space will returned (with
direct io and without)

-- 
Have a nice day,
Timofey.

             reply	other threads:[~2015-12-18  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18  9:37 Timofey Titovets [this message]
2015-12-18 12:49 ` Henk Slager
2015-12-18 13:58   ` Timofey Titovets

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='CAGqmi75csQRJifFt=66ooQ9SHqxfeAJoRe+u7v21gNqaFibpgA@mail.gmail.com' \
    --to=nefelim4ag@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --subject='Re: Space not return' \
    /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

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.