X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o98Mp756068078 for ; Fri, 8 Oct 2010 17:51:07 -0500 X-ASG-Debug-ID: 1286578309-5b4b015a0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 34909D5768 for ; Fri, 8 Oct 2010 15:51:49 -0700 (PDT) Received: from mail.internode.on.net (bld-mail13.adl6.internode.on.net [150.101.137.98]) by cuda.sgi.com with ESMTP id T5jA2OU0NE1F3QE3 for ; Fri, 08 Oct 2010 15:51:49 -0700 (PDT) Received: from dastard (unverified [121.44.66.70]) by mail.internode.on.net (SurgeMail 3.8f2) with ESMTP id 42169693-1927428 for multiple; Sat, 09 Oct 2010 09:21:48 +1030 (CDT) Received: from dave by dastard with local (Exim 4.71) (envelope-from ) id 1P4Ln0-0004Tz-48; Sat, 09 Oct 2010 09:51:46 +1100 Date: Sat, 9 Oct 2010 09:51:46 +1100 From: Dave Chinner To: James Braid Cc: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: ENOSPC at 90% with plenty of inodes Subject: Re: ENOSPC at 90% with plenty of inodes Message-ID: <20101008225146.GJ4681@dastard> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: bld-mail13.adl6.internode.on.net[150.101.137.98] X-Barracuda-Start-Time: 1286578311 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.43125 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Fri, Oct 08, 2010 at 06:17:52PM +0100, James Braid wrote: > Hi, > > On a fairly busy mail server hosting about 1000 cyrus mailboxes (each > message is stored as a separate file), we are observing ENOSPC errors > from the cyrus pop/imap daemons when attempting to create (tiny) > files. e.g. > > Oct 8 12:18:49 xxx cyrus/pop3[14119]: IOERROR: creating > /user/imap/proc/14119: No space left on device > Oct 8 12:18:49 xxx cyrus/lmtpunix[14361]: IOERROR: creating quota > file /user/imap/quota/m/user.xx.NEW: No space left on device > Oct 8 12:18:49 xxx cyrus/imap[12804]: IOERROR: creating quota file > /user/imap/quota/d/user.xxx.NEW: No space left on device > > The filesystem appears to have plenty of space available: > > # df -i /user > Filesystem Inodes IUsed IFree IUse% Mounted on > /dev/sdb1 102294688 10201313 92093375 10% /user > # df /user > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sdb1 213014148 190023408 22990740 90% /user > > Any ideas for how can we go about debugging where ENOSPC is coming > from? Unfortunately it's running a vintage 2.6.24 kernel (Ubuntu 8.04) > - we're trying to get it upgraded to 10.04 (2.6.32) Sounds like fragmented free space. What is the output of: # xfs_db -r -c "freesp -s" Cheers, Dave. -- Dave Chinner david@fromorbit.com