linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Metadata balance fails ENOSPC
Date: Wed, 30 Nov 2016 16:02:29 -0700	[thread overview]
Message-ID: <CAJCQCtQJV5jCLbON3Fk+DHCztRqAVN35rfMcHiWKWRT3yg+c_A@mail.gmail.com> (raw)
In-Reply-To: <04e767a6-ff6f-95ba-f2f9-6061035dcd10@profihost.ag>

On Wed, Nov 30, 2016 at 2:03 PM, Stefan Priebe - Profihost AG
<s.priebe@profihost.ag> wrote:
> Hello,
>
> # btrfs balance start -v -dusage=0 -musage=1 /ssddisk/
> Dumping filters: flags 0x7, state 0x0, force is off
>   DATA (flags 0x2): balancing, usage=0
>   METADATA (flags 0x2): balancing, usage=1
>   SYSTEM (flags 0x2): balancing, usage=1
> ERROR: error during balancing '/ssddisk/': No space left on device
> There may be more info in syslog - try dmesg | tail

You haven't provided kernel messages at the time of the error.

Also useful is the kernel version.



>
> # btrfs filesystem show /ssddisk/
> Label: none  uuid: a69d2e90-c2ca-4589-9876-234446868adc
>         Total devices 1 FS bytes used 305.67GiB
>         devid    1 size 500.00GiB used 500.00GiB path /dev/vdb1
>
> # btrfs filesystem usage /ssddisk/
> Overall:
>     Device size:                 500.00GiB
>     Device allocated:            500.00GiB
>     Device unallocated:            1.05MiB

Drive is actually fully allocated so if Btrfs needs to create a new
chunk right now, it can't. However,



>
> Data,single: Size:483.97GiB, Used:298.18GiB
>    /dev/vdb1     483.97GiB
>
> Metadata,single: Size:16.00GiB, Used:7.51GiB
>    /dev/vdb1      16.00GiB
>
> System,single: Size:32.00MiB, Used:144.00KiB
>    /dev/vdb1      32.00MiB

All three chunk types have quite a bit of unused space in them, so
it's unclear why there's a no space left error.

Try remounting with enoscp_debug, and then trigger the problem again,
and post the resulting kernel messages.


-- 
Chris Murphy

  reply	other threads:[~2016-11-30 23:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 21:03 Metadata balance fails ENOSPC Stefan Priebe - Profihost AG
2016-11-30 23:02 ` Chris Murphy [this message]
2016-12-01  7:49   ` Stefan Priebe - Profihost AG
2016-12-01  8:12     ` Andrei Borzenkov
2016-12-01 11:55       ` Stefan Priebe - Profihost AG
2016-12-01 13:32         ` E V
2016-12-01 13:51       ` Hans van Kranenburg
2016-12-01 14:10         ` Stefan Priebe - Profihost AG
2016-12-01 15:48           ` Chris Murphy
2016-12-01 18:43             ` Stefan Priebe - Profihost AG
2016-12-03  4:43             ` Andrei Borzenkov
2016-12-05 11:12               ` Stefan Priebe - Profihost AG
2016-12-05 11:51                 ` Duncan
2016-12-01  8:18   ` Duncan

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=CAJCQCtQJV5jCLbON3Fk+DHCztRqAVN35rfMcHiWKWRT3yg+c_A@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=s.priebe@profihost.ag \
    /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;
as well as URLs for NNTP newsgroup(s).