linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Eisserer <linuxhippy@gmail.com>
To: russell@coker.com.au, linux-btrfs@vger.kernel.org
Subject: Re: snapshot space available
Date: Mon, 26 Aug 2013 16:47:00 +0200	[thread overview]
Message-ID: <CAFvQSYSgAPZkYUPF-pqSTGAQpHWAG7NDjBiJhwdxhsEqxSR+nA@mail.gmail.com> (raw)
In-Reply-To: <201308262335.25871.russell@coker.com.au>

You are out of metadata, not "normal space".
However, the good question is why 0.5GB of metadata are unused and
btrfs reports no space left.
I have seen similar behaviour on a machine of mine, with exactly 0.5GB
of metadata unused.

Regards

2013/8/26 Russell Coker <russell@coker.com.au>:
> Linux xev 3.10-2-amd64 #1 SMP Debian 3.10.5-1 (2013-08-07) x86_64 GNU/Linux
>
> I've attached a file of script output from a system running the above Debian
> kernel on a system with an Intel 120G SSD.  To get this working again I
> extended the filesystem in question to also use a small USB flash device (4G
> from memory) and then deleted some old snapshots to free some space.
>
> The most intereting part of the script output is pasted below.  The system
> reports that the filesystem is 82% full but that there is no space left.
>
> root@xev:~# df -h /
> Filesystem                                              Size  Used Avail Use%
> Mounted on
> /dev/disk/by-uuid/586e6f48-2985-4115-9f89-f844b319c7c0  108G   87G   21G  82%
> /
> root@xev:~# btrfs filesystem df /
> Data: total=101.57GB, used=81.50GB
> System, DUP: total=8.00MB, used=20.00KB
> System: total=4.00MB, used=0.00
> Metadata, DUP: total=3.00GB, used=2.50GB
> Metadata: total=8.00MB, used=0.00
> root@xev:~# ls -l > test
> bash: test: No space left on device
> root@xev:~# touch test
> touch: cannot touch ‘test’: No space left on device
> root@xev:~#
>
> --
> My Main Blog         http://etbe.coker.com.au/
> My Documents Blog    http://doc.coker.com.au/

  reply	other threads:[~2013-08-26 14:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 13:35 snapshot space available Russell Coker
2013-08-26 14:47 ` Clemens Eisserer [this message]
2013-08-26 15:27   ` Chris Murphy
2013-08-26 19:09     ` Chris Murphy
2013-08-31  9:04       ` Russell Coker
2013-08-31 17:27         ` Chris Murphy
2013-08-26 15:15 ` Chris Murphy
     [not found] ` < 6FCC5036-CC36-4DA3-8594-1FA23F3BB256@colorremedies.com>
2013-08-27  6:29   ` 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=CAFvQSYSgAPZkYUPF-pqSTGAQpHWAG7NDjBiJhwdxhsEqxSR+nA@mail.gmail.com \
    --to=linuxhippy@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=russell@coker.com.au \
    /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).