linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Ts'o <tytso@mit.edu>
To: Olaf Hering <olaf@aepfle.de>
Cc: linux-ext4@vger.kernel.org
Subject: Re: ext4 errors with full filesystem
Date: Thu, 13 Aug 2015 22:42:27 -0400	[thread overview]
Message-ID: <20150814024227.GC26095@thunk.org> (raw)
In-Reply-To: <20150813082307.GA32614@aepfle.de>

On Thu, Aug 13, 2015 at 10:23:07AM +0200, Olaf Hering wrote:
> 
> I just got the output below in syslog with a full filesystem.
> Should I be worried about inconsistent filesystem now, or is that just an
> overly verbose message about ENOSPC?  This is a 4.1.5 kernel.

You don't need to worry about an inconsistent file system, but it's an
error that isn't supposed to to happen.  The warning message indicates
that writes issued got a success return code, but for which ran out of
space, and so some number of pages got lost and couldn't be saved to
disk.  We keep track of how many data blocks have been committed, and
we have a reserved amount of space for metadata blocks which _should_
be enough.

For more details, see:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=27dd43854227bb0e6ab70129bd21b60d396db2e7

I'm curious about your workload.  How big is your file system, and how
fragmented is your file system per e2freefrag?  And how quickly was
various programs writing to the file system at the time when you ran
out of space, and what sort of files and what was the average size
that was getting dumped into the file system?  Oh, and how much memory
did you have in your system?

Thanks,

       		    	    	 	    - Ted

  reply	other threads:[~2015-08-14  2:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-13  8:23 ext4 errors with full filesystem Olaf Hering
2015-08-14  2:42 ` Theodore Ts'o [this message]
2015-08-14  9:48   ` Olaf Hering
2015-08-14 15:51     ` Theodore Ts'o

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=20150814024227.GC26095@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-ext4@vger.kernel.org \
    --cc=olaf@aepfle.de \
    /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).