From owner-freebsd-questions@FreeBSD.ORG Wed Sep 20 15:07:10 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 511C816A412 for ; Wed, 20 Sep 2006 15:07:10 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00DCC43D9C for ; Wed, 20 Sep 2006 15:07:02 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 20 Sep 2006 11:07:02 -0400 id 00056420.45115916.00014383 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from wmoran@collaborativefusion.com) with AES256-SHA encrypted SMTP; 20 Sep 2006 11:06:01 -0400 Date: Wed, 20 Sep 2006 11:07:07 -0400 From: Bill Moran To: Philip Radford Message-Id: <20060920110707.7911871e.wmoran@collaborativefusion.com> In-Reply-To: <004501c6dcc4$b3231780$0d07a8c0@P800> References: <004501c6dcc4$b3231780$0d07a8c0@P800> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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:07:10 -0000 In response to "Philip Radford" : > 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. inodes are used for file entries. Each file/directory uses an inode. When you run out of inodes, you can't create any more files, no matter how much space you have left. "df -i" will show inode usage. The only way to free up inodes is to delete some files/directories. You must have a lot of files or directories somewhere to be using up all your inodes when you have 50% of the disk left. Once you find out where all the files are, you can delete some, or possible tar them up so they only take up a single inode. -- Bill Moran Collaborative Fusion Inc.