xfs
[Top] [All Lists]

Re: ENOSPC at 90% with plenty of inodes

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: ENOSPC at 90% with plenty of inodes
From: James Braid <jamesb@xxxxxxxxxxxx>
Date: Mon, 11 Oct 2010 15:03:28 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20101008225146.GJ4681@dastard>
References: <AANLkTinwnOm0V=9WwbXiUGFnyjCwT3GUHo0hiQahQNUV@xxxxxxxxxxxxxx> <20101008225146.GJ4681@dastard>
On Fri, Oct 8, 2010 at 23:51, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> Sounds like fragmented free space. What is the output of:
>
> # xfs_db -r -c "freesp -s" <device>

# xfs_db -r -c "freesp -s" /dev/sdb
   from      to extents  blocks    pct
      1       1 2298052 2298052  40.52
      2       3 1568338 3337017  58.84
      4       7    8432   35716   0.63
      8      15      50     423   0.01
total free extents 3874872
total free blocks 5671208
average free extent size 1.46359

Which seems to say there are a few tiny pieces of free space
available? The files that were failing to be written were a few
hundred bytes in size.

We haven't seen any errors so far today, but xfs_fsr ran over the
weekend, so perhaps I guess it's reorganized the filesystem.

<Prev in Thread] Current Thread [Next in Thread>