linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hugo Mills <hugo-lkml@carfax.org.uk>
To: Andrej Podzimek <andrej@podzimek.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Errors during defragmentation
Date: Mon, 29 Nov 2010 21:25:46 +0000	[thread overview]
Message-ID: <20101129212546.GA3733@carfax.org.uk> (raw)
In-Reply-To: <4CF41500.8000804@podzimek.org>

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Nov 29, 2010 at 10:02:56PM +0100, Andrej Podzimek wrote:
> Hello,
> 
> I decided to test the 'defragment' feature on my system (after a huge number of system updates and prelinking):
> 
> 	find /bin /sbin /lib /usr/lib /usr/bin /usr/sbin -type d -exec btrfs filesystem defragment '{}' '+'
> 
> I have already defragmented a couple of (very large) directories with no errors at all, so this was expected to work somehow. Surprisingly, this time there were thousands of messages like this:
> 
> 	ioctl failed on <directory name> ret -1 errno 28

   errno 28 is ENOSPC

   You've run out of disk space. (Or at least, btrfs thinks so).

> Most of the reported directories had zero files/subdirectories. However, *most* of them were *not* empty...

> What does this error message mean? Could someone shed more light on
> this, please? Should I get ready for a bad crash? ;-) (There seems
> to be no data loss so far. No new messages in dmesg, no unexpected
> system behavior.)

   Hugo.

- -- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
           --- I believe that it's closely correlated with ---           
                       the aeroswine coefficient.                        
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFM9BoxIKyzvlFcI40RAv5SAJkB13ClPuTeRElrN1ARFhvDJ2C76gCghC/d
zFczJesxQGbd2jC2ildNNI0=
=i+tI
-----END PGP SIGNATURE-----

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2010-11-29 21:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-29 21:02 Errors during defragmentation Andrej Podzimek
2010-11-29 21:25 ` Hugo Mills [this message]
2010-11-29 22:00   ` Andrej Podzimek

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=20101129212546.GA3733@carfax.org.uk \
    --to=hugo-lkml@carfax.org.uk \
    --cc=andrej@podzimek.org \
    --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;
as well as URLs for NNTP newsgroup(s).