From owner-freebsd-questions Sat Jan 7 05:36:28 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA12885 for questions-outgoing; Sat, 7 Jan 1995 05:36:28 -0800 Received: from sbstark.cs.sunysb.edu (sbstark.cs.sunysb.edu [130.245.1.47]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id FAA12879 for ; Sat, 7 Jan 1995 05:36:26 -0800 Received: from starkhome.UUCP (root@localhost) by sbstark.cs.sunysb.edu (8.6.9/8.6.9) with UUCP id IAA11658 for questions@freebsd.org; Sat, 7 Jan 1995 08:33:51 -0500 Received: by starkhome.cs.sunysb.edu (8.6.9/1.34) id FAA01689; Sat, 7 Jan 1995 05:18:30 -0500 Date: Sat, 7 Jan 1995 05:18:30 -0500 From: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) Message-Id: <199501071018.FAA01689@starkhome.cs.sunysb.edu> To: Terry Rossi In-reply-to: Terry Rossi's message of Fri, 6 Jan 1995 20:37:24 +0000 () Subject: Out of Inodes - Please Help Cc: questions@freebsd.org Sender: questions-owner@freebsd.org Precedence: bulk >I just turned on a newsfeed (I know that was my first problem) >and the filesystem with /spool/news is out of inodes, can someone >point me in the right direction, I cannot seem to figure it out. Inodes are entities on the disk that point to where file data lives. There is one inode for each file and directory on the disk. Being out of inodes is one way in which your disk can become full; the other is running out of data blocks. When a partition is high-level formatted using "newfs", a certain number of inodes are created, based on the assumption that the average size of a file is 2K bytes. For news directories, this is a bit too large, which will cause you to run out of inodes before running out of data blocks. What you need to do is reformat your news spool partition using, say: newfs -i 1024 /dev/xxxxx where xxxxx is the name of the device on which your news is mounted. This will make the assumption that each file is 1K bytes instead of 2K. It goes without saying that the above command will erase all data on that filesystem partition, so if you want anything there you have to back it up first. - Gene Stark