Hi Chris,
2016-06-30 0:44 GMT+02:00 Chris Murphy
On Wed, Jun 29, 2016 at 1:52 PM, Francesco Montesano
wrote: [...]
~> df -h /dev/sdb2 41G 33G 7.2G 83% / [...] ~> btrfs filesystem df / Data, single: total=38.23GiB, used=31.09GiB System, single: total=32.00MiB, used=16.00KiB Metadata, single: total=1.75GiB, used=1.30GiB GlobalReserve, single: total=448.00MiB, used=0.00B
It may not be true that you have 7.2G free. What do you get for 'btrfs fi us /' ?
What you have is 7.14GiB unused in data block groups. And 450MiB unused in metadata block groups.
~> sudo btrfs filesystem usage / [sudo] password for root: Overall: Device size: 40.01GiB Device allocated: 40.01GiB Device unallocated: 1.00MiB Device missing: 0.00B Used: 32.39GiB Free (estimated): 7.14GiB (min: 7.14GiB) Data ratio: 1.00 Metadata ratio: 1.00 Global reserve: 448.00MiB (used: 0.00B) Data,single: Size:38.23GiB, Used:31.09GiB /dev/sdb2 38.23GiB Metadata,single: Size:1.75GiB, Used:1.30GiB /dev/sdb2 1.75GiB System,single: Size:32.00MiB, Used:16.00KiB /dev/sdb2 32.00MiB Unallocated: /dev/sdb2 1.00MiB
If the installation is very metadata centric, or contains many small files (less than about 15KiB) then those files get written in the metadata block group as an inline extent.
There is a known enospc bug that results in errno -28. But it hasn't been fixed. http://www.spinics.net/lists/linux-btrfs/msg50945.html
Thanks for the link
However I'm not certain you are being hit by this bug so it's better to report back btrfs fi us /.
You could try 'btrfs balance start -dusage=25 /' which should free up one or more data block groups into unallocated space so that Btrfs can reallocate it as a metadata block group if needed. But again it's hard to say if that's enough space for this task.
I can try this. A little background, if useful: * When there was the big update with the glibc update I run into the problem of the disk full. There I did some btrfs balance and managed to finish the installation. I also enabled the btrfsmaintenance-refresh service. * as said with the gcc6 updates I did run out of space (and I keep having this) despite everything showing that I have various GB of free space
What is the estimated installation size?
I did what the installer suggested: 40GB of space for / with btrf.
There are some other ways to find out what's going on, what block group is probably affecting this, but it means doing some iteration.
I like learning new stuff. Ciao, Fra
-- Chris Murphy
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org