public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Tore Anderson <tore.anderson@redpill-linpro.com>
To: linux-btrfs@vger.kernel.org
Cc: Hugo Mills <hugo-lkml@carfax.org.uk>
Subject: Re: Crash in __btrfs_reserve_extent
Date: Thu, 06 Aug 2009 10:53:24 +0200	[thread overview]
Message-ID: <4A7A9A04.5010006@redpill-linpro.com> (raw)
In-Reply-To: <4A7A7F9F.1080809@redpill-linpro.com>

* Tore Anderson

> I have btrfs on my root filesystem and at the time of the crash I
> taring together some files from a NFS filesystem onto it.  There was
> plenty of free space on the btrfs filesystem.

Some more info - the file system is acting really strange after a
reboot.  A lot of messages like these are printed to /var/log/messages:

no space left, need 4096, 0 delalloc bytes, 16577376256 bytes_used, 0
bytes_reserved, 0 bytes_pinned, 0 bytes_readonly, 69816320 may
use16647192576 total

Many commands gives the error message "no space left on device".
Curiously enough /var/log/messages is stored on the very same file
system, and new lines appears in it, so it appears those writes are
avoiding the ENOSPC somehow.

Anyway, there's plenty of free space on the file system:

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_echo-lv_root  228G   16G  212G   7% /

It has never been resized, by the way.  I found that this issue had been
mentioned on the mailing list by Hugo Mills (Cc-ed) before after all -
apologies for posting a dupe:

http://thread.gmane.org/gmane.comp.file-systems.btrfs/2694

Is this bug fixed in later versions of btrfs or is it still unresolved,
I wonder?  If the latter, I'll be glad to help out with any debugging
info you might need before I try to fix it (or re-install).

Best regards,
-- 
Tore Anderson
Redpill Linpro AS - http://www.redpill-linpro.com/
Tel: +47 21 54 41 27

  reply	other threads:[~2009-08-06  8:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06  7:00 Crash in __btrfs_reserve_extent Tore Anderson
2009-08-06  8:53 ` Tore Anderson [this message]
2009-08-06 13:54   ` Josef Bacik
2009-08-06 14:15     ` Tore Anderson
2009-08-06 14:27       ` Josef Bacik
2009-08-06 17:41         ` Tore Anderson
2009-08-06 18:04           ` Josef Bacik
2009-08-06 18:14             ` Tore Anderson
2009-08-06 18:37               ` Josef Bacik
2009-08-06 18:49                 ` Tore Anderson
2009-08-06 18:57                   ` Chris Mason
2009-08-06 19:01                   ` Josef Bacik
2009-08-06 19:22                     ` Chris Mason
2009-08-06 22:01                       ` Tore Anderson
  -- strict thread matches above, loose matches on Subject: below --
2009-08-06 14:57 Robert Förster
2009-08-06 15:20 ` Josef Bacik
2009-08-06 15:36   ` Robert Förster
2009-08-07  5:10     ` Robert Förster
2009-08-06 17:15   ` Tore Anderson
2009-08-06 17:57     ` Robert Förster

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=4A7A9A04.5010006@redpill-linpro.com \
    --to=tore.anderson@redpill-linpro.com \
    --cc=hugo-lkml@carfax.org.uk \
    --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