From owner-freebsd-questions@FreeBSD.ORG Wed Sep 20 15:21:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F6E16A494 for ; Wed, 20 Sep 2006 15:21:59 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B084243D58 for ; Wed, 20 Sep 2006 15:21:56 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.142] (helo=anti-virus02-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1GQ3tb-0007Hc-5R; Wed, 20 Sep 2006 16:21:55 +0100 Received: from [82.41.35.166] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1GQ3kC-0001xQ-Qa; Wed, 20 Sep 2006 16:12:12 +0100 Message-ID: <45115A4C.7070404@dial.pipex.com> Date: Wed, 20 Sep 2006 16:12:12 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Philip Radford References: <004501c6dcc4$b3231780$0d07a8c0@P800> In-Reply-To: <004501c6dcc4$b3231780$0d07a8c0@P800> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.4 no inodes left X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 15:21:59 -0000 Philip Radford wrote: >Hi All, > >I am running FreeBSD 5.4 and have recently received the following message on our box for the /var partiton. >No inodes left. > >I have checked the statistics and there was an apache httpd log which was maxing out the usable space. I have since removed this file and the available space has dropped to over 50%. However I still get the 'no inodes left' message even though I have freed the space. > >Does anyone know how I can get the inodes to be freed up on the /var partition. > > You have *not* run out of space. A single inode corresponds to a single file or directory, so deleting one large file frees precisely one inode which isn't going to last long. (And if the file you deleted was still held open, you won't even have freed that inode). Do a "df -i /var" to see how many inodes are left. Something has created a large *number* of files on /var - they might be 0 bytes each and it wouldn't matter. Try "man inode" for more information. --Alex