public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com>
To: "Huszár Viktor Dénes" <hvd@dwo.hu>
Cc: 'David Chinner' <dgc@sgi.com>,
	'Emmanuel Florac' <eflorac@intellique.com>,
	xfs@oss.sgi.com
Subject: Re: free space problem
Date: Mon, 7 Apr 2008 12:18:22 +1000	[thread overview]
Message-ID: <20080407021822.GZ108924158@sgi.com> (raw)
In-Reply-To: <20080406160953.D47CF944596@cuda.sgi.com>

On Sun, Apr 06, 2008 at 06:09:39PM +0200, Huszár Viktor Dénes wrote:
> Hi guys, the earlier problem came out again:
> 
> Here are the logs:
> 
> [root]~# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0               42G   15G   26G  37% /
> tmpfs                 7.9G     0  7.9G   0% /lib/init/rw
> udev                   10M   76K   10M   1% /dev
> tmpfs                 7.9G  2.2M  7.9G   1% /dev/shm
> /dev/md1              420G   31G  389G   8% /var/www/users
> /dev/mapper/a-a        17T   17T   51G 100% /var/www/users/sms

So you effectively have a full filesystem. Inode allocation
may be impossible as the filesystem approaches full as there
is not enough contiguous free space to allocate them in.

Also, you are probably using the inode32 allocator (i.e. no inode64
mount option), which means inodes can only be placed in the first
1TB of the filesystem, and that means those AGs are probably out of
space.

Given that you have 523GB AGs, that means inode will probably only be
put in AG 0, ad that's probably out of space. What does:

# xfs_db -r -c 'freesp -s -a 0' /dev/mapper/a-a

give you?

FWIW, This problem will come and go as you unlink files and change
the pattern of freespace...

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

  parent reply	other threads:[~2008-04-07  2:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080331093951.100ec125@galadriel.home>
2008-03-31 17:36 ` free space problem Huszár Viktor Dénes
2008-04-01  0:35   ` David Chinner
2008-04-01  3:08     ` Huszár Viktor Dénes
2008-04-06 16:09     ` Huszár Viktor Dénes
2008-04-06 16:26       ` KELEMEN Peter
2008-04-06 16:38         ` Huszár Viktor Dénes
2008-04-07  2:18       ` David Chinner [this message]
2008-05-29 10:20 ` Huszár Viktor Dénes
2008-05-29 10:29   ` Emmanuel Florac
2008-05-29 10:55     ` Emmanuel Florac
2008-05-29 13:26       ` Huszár Viktor Dénes
2008-05-29 14:57         ` Dave Chinner
2008-05-29 17:37           ` Huszár Viktor Dénes
     [not found]       ` <20080529132624.19286105D9@mailwash5.pair.com>
2008-05-29 13:30         ` Emmanuel Florac
2008-03-30 20:29 Huszár Viktor Dénes
2008-03-30 21:54 ` Emmanuel Florac
2008-03-31  0:31   ` Huszár Viktor Dénes
2008-03-31  0:38 ` David Chinner
2008-03-31 17:43   ` Huszár Viktor Dénes

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=20080407021822.GZ108924158@sgi.com \
    --to=dgc@sgi.com \
    --cc=eflorac@intellique.com \
    --cc=hvd@dwo.hu \
    --cc=xfs@oss.sgi.com \
    /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