linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* All free space eaten during defragmenting (3.14)
@ 2014-05-31  7:19 Szőts Ákos
  2014-06-01  0:56 ` Duncan
  0 siblings, 1 reply; 9+ messages in thread
From: Szőts Ákos @ 2014-05-31  7:19 UTC (permalink / raw)
  To: linux-btrfs

Dear list,

A tried to make a full defragmenting on my $HOME directory (which doesn't 
contain any snapshots). After some hours of running, it stopped with „No space 
left on device” error.

I checked and it ate about 50 GB of free space.
Before: Data, single: total=433.83GiB, used=~380.00GiB
After: Data, single: total=433.83GiB, used=~430.00GiB
Both times: Metadata, DUP: total=8.00GiB, used=7.08GiB

In the "btrfs fi df" man page I didn't find anything that is related to this 
phenomenon.

My questions are:
- Is it a bug or some consequence of the defrag process?
- Can I reclaim somehow the free space?

Command used: 
shopt -s dotglob
for i in *; do echo "$i"; btrfs fi defrag -clzo -r "$i"; done

Btrfs and kernel version:
Btrfs v3.12+20131125
Linux 3.14.4-1.gbebeb6f-desktop #1 SMP PREEMPT x86_64

Best regards,
Ákos

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-04  9:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-31  7:19 All free space eaten during defragmenting (3.14) Szőts Ákos
2014-06-01  0:56 ` Duncan
2014-06-01  1:56   ` Duncan
2014-06-01 20:39   ` Peter Chant
2014-06-01 22:47     ` Duncan
2014-06-02 20:54       ` Peter Chant
2014-06-03  4:46         ` Duncan
2014-06-03 22:21           ` Peter Chant
2014-06-04  9:21             ` Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).