On Mon, Feb 17, 2014 at 08:42:23AM +0100, Dan van der Ster wrote: > Did you already try this?? [1]: > > btrfs fi balance start -dusage=5 /mnt/nas3 > > Cheers, dan > > [1] > https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space > > On Sun, Feb 16, 2014 at 2:58 PM, Goswin von Brederlow <goswin-...@web.de> > wrote: > > Hi, > > > > I'm getting a ENOSPC error from btrfs despite there still being plenty > > of space left: > > > > % df -m /mnt/nas3 > > Filesystem 1M-blocks Used Available Use% Mounted on > > /dev/mapper/nas3-a 19077220 18805132 270773 99% /mnt/nas3 > > > > % btrfs fi show > > Label: none uuid: 4b18f84e-2499-41ca-81ff-fe1783c11491 > > Total devices 1 FS bytes used 17.91TiB > > devid 1 size 18.19TiB used 17.94TiB path /dev/mapper/nas3-a > > > > Btrfs v3.12 > > > > % btrfs fi df > > Data, single: total=17.89TiB, used=17.88TiB > > System, DUP: total=32.00MiB, used=1.92MiB > > Metadata, DUP: total=25.50GiB, used=24.89GiB > > > > As you can see there are still 270GiB free and plenty of block groups > > free on the device too. > > > > So why isn't btrfs allocating a new block group to store more data? > > > > MfG > > Goswin
I did and that isn't the problem. Balancing only frees up partially used block groups so they can be reused. But the problem is that the remaining free block groups are not getting used. MfG Goswin -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html