linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Out of space error even though there's 100 GB unused?
@ 2016-07-06  9:55 Stanislaw Kaminski
       [not found] ` <CAGGqMYQeAN3HR7s-Om864pfV2n_qfZN6Wyyamj=EwKmm4o5NgA@mail.gmail.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Stanislaw Kaminski @ 2016-07-06  9:55 UTC (permalink / raw)
  To: linux-btrfs

Hi,
I am fighting with this since at least Monday - see
https://superuser.com/questions/1096658/btrfs-out-of-space-even-though-there-should-be-10-left

Here's the data:
#   uname -a
Linux archb3 4.6.3-2-ARCH #1 PREEMPT Wed Jun 29 07:15:33 MDT 2016
armv5tel GNU/Linux

#   btrfs --version
btrfs-progs v4.6

#   btrfs fi show
Label: 'home'  uuid: 1c7e35e8-f013-4f65-9d19-eaa168ac088b
        Total devices 1 FS bytes used 1.71TiB
        devid    1 size 1.81TiB used 1.71TiB path /dev/sda4

#   btrfs fi df /home
Data, single: total=1.71TiB, used=1.71TiB
System, DUP: total=32.00MiB, used=224.00KiB
Metadata, DUP: total=4.00GiB, used=2.07GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

# btrfs f usage -T  /home
Overall:
    Device size:                   1.81TiB
    Device allocated:              1.71TiB
    Device unallocated:           97.89GiB
    Device missing:                  0.00B
    Used:                          1.71TiB
    Free (estimated):             98.22GiB      (min: 49.27GiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

             Data    Metadata System
Id Path      single  DUP      DUP       Unallocated
-- --------- ------- -------- --------- -----------
 1 /dev/sda4 1.71TiB  8.00GiB  64.00MiB    97.89GiB
-- --------- ------- -------- --------- -----------
   Total     1.71TiB  4.00GiB  32.00MiB    97.89GiB
   Used      1.71TiB  2.07GiB 224.00KiB

# btrfs fi du -s /home
Total Exclusive Set shared Filename
1.60TiB 1.60TiB 0.00B /home

# btrfs f resize 1:+1G /home/
Resize '/home/' of '1:+1G'
ERROR: unable to resize '/home/': no enough free space

This all is after closely following:
https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_I_ran_out_of_disk_space.21
http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html

So, already did full volume rebalance, defrag, rebooted multiple times
- still, "Error: out of disk space".

To sum up:
- my files sum to 1.6 TiB
- disk usage is shown to be 1.71 TiB
- volume size is 1.81 TiB
- btrfs util shows I have ~98 GiB free space on the volume
- I am getting "out of space" message

Bonus:
- I removed 50 GB of data from the drive and I still get "out of
space" message after writing ~1 GB.

Help would be very appreciated.

Cheers,
Stan

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

end of thread, other threads:[~2016-07-08 14:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06  9:55 Out of space error even though there's 100 GB unused? Stanislaw Kaminski
     [not found] ` <CAGGqMYQeAN3HR7s-Om864pfV2n_qfZN6Wyyamj=EwKmm4o5NgA@mail.gmail.com>
2016-07-06 10:30   ` Stanislaw Kaminski
2016-07-06 10:34 ` Hugo Mills
2016-07-06 10:43   ` Stanislaw Kaminski
2016-07-06 17:42 ` Chris Murphy
2016-07-07 10:18   ` Stanislaw Kaminski
2016-07-07 10:28     ` Stanislaw Kaminski
2016-07-07 15:17       ` Stanislaw Kaminski
2016-07-07 16:36         ` Henk Slager
     [not found]           ` <CALLEBqFetJRAnwc0sYG-1seAGFBQu9-2nstH8hg-a1drdVdW_g@mail.gmail.com>
2016-07-08 14:43             ` Henk Slager

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).