public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: Dan van der Ster <dan@vanderster.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: ENOSPC with 270GiB free
Date: Mon, 17 Feb 2014 10:26:31 +0100	[thread overview]
Message-ID: <20140217092631.GA32256@frosties> (raw)
In-Reply-To: <CABZ+qqmbU3gR-FeR4tpok-QcUgVyCL5Vq5ygrmM4CEqf=PTXcw@mail.gmail.com>

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-v-b@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

  reply	other threads:[~2014-02-17  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 13:58 ENOSPC with 270GiB free Goswin von Brederlow
2014-02-16 18:18 ` Duncan
2014-02-16 19:58   ` Goswin von Brederlow
2014-02-17  7:42 ` Dan van der Ster
2014-02-17  9:26   ` Goswin von Brederlow [this message]
2014-02-18 13:58 ` Josef Bacik
2014-02-18 18:16   ` Goswin von Brederlow

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=20140217092631.GA32256@frosties \
    --to=goswin-v-b@web.de \
    --cc=dan@vanderster.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox