From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 11:16:52 2003 Return-Path: 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 F344637B401 for ; Tue, 22 Apr 2003 11:16:51 -0700 (PDT) Received: from freshaire.wiz.com (freshaire.wiz.com [66.143.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4014443FAF for ; Tue, 22 Apr 2003 11:16:51 -0700 (PDT) (envelope-from marc@wiz.com) Received: from freshaire.wiz.com (localhost [127.0.0.1]) by freshaire.wiz.com (8.12.6/8.12.6) with ESMTP id h3MIGoc1035092 for ; Tue, 22 Apr 2003 13:16:50 -0500 (CDT) (envelope-from marc@freshaire.wiz.com) Received: (from marc@localhost) by freshaire.wiz.com (8.12.6/8.12.6/Submit) id h3MIGoPi035087 for freebsd-questions@freebsd.org; Tue, 22 Apr 2003 13:16:50 -0500 (CDT) Date: Tue, 22 Apr 2003 13:16:50 -0500 From: Marc Wiz To: FreeBSD Questions Message-ID: <20030422181650.GA35019@freshaire.wiz.com> References: <007c01c308fa$6ccf5880$33477140@dakine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007c01c308fa$6ccf5880$33477140@dakine> User-Agent: Mutt/1.4i Subject: Re: portupgrade install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 18:16:52 -0000 On Tue, Apr 22, 2003 at 01:10:15PM -0500, Brandon Hagedorn wrote: > When doing a make install in the ports, I get this error > > /var: create/symlink failed, no inodes free > mkdir: /var/db/pkg/ruby-rdoc-0.0.0.b2: No space left on device > *** Error code 1 > Stuff deleted. > > %df -H > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 528M 43M 443M 9% / > /dev/ad0s1f 132M 53M 68M 44% /tmp > /dev/ad0s1g 6.7G 5.4G 813M 87% /usr > /dev/ad0s1e 1057M 721M 251M 74% /var > procfs 4.1K 4.1K 0B 100% /proc > > FreeBSD version: 4.6.2-RELEASE > > I don't know why it says no space left on device because I have plenty > there. One of my friends said that there are too many files open. > Could this be true. If so how do I close them so I can install > portupgrade? Any other suggestions? Brandon, please note what the error message stated; "no inodes free". This means that the filesystem has no more inodes it can allocate to new files. Do a "df -i" and note the number of inodes free on /var The quick fix is to delete some files in the /var file system. If you cannot delete files then you will have to increase the number of inodes in /var. You would have to: backup /var Do a newfs and recreate /var (man newfs for the gory details :-) restore /var It all goes without saying you should do this in single user mode. Marc -- Marc Wiz marc@wiz.com Yes, that really is my last name.