From owner-freebsd-questions Mon Sep 7 04:32:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA27121 for freebsd-questions-outgoing; Mon, 7 Sep 1998 04:32:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA27100 for ; Mon, 7 Sep 1998 04:32:13 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.02 #26) id 0zFyLG-0006pA-00; Mon, 7 Sep 1998 11:16:14 +0100 Date: Mon, 7 Sep 1998 11:16:13 +0100 From: Ben Smithurst To: Quintin Oliver Cc: freebsd-questions@FreeBSD.ORG Subject: Re: out of inodes? Message-ID: <19980907111613.C25129@scientia.demon.co.uk> References: <19980905203323.C21372@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: User-Agent: Mutt/0.94.3i (FreeBSD 3.0-CURRENT i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quintin Oliver wrote: > Yikes! it says all inodes are used, but is a inode anyway? there is 84% > available on the disk? (at least 30 meg - perhaps more) To explain it basically, each file has an inode. So if you have thousands of 1 byte files, you'll run out of inodes, although you may have loads of disk space left. Someone else can probably explain it better than me. (The bit I missed out is that two hard linked files have the same inode, which is why they are identical copies. I think file owner/group/permissions/date, etc, are associated with the inode, rather than the filename, but I could be wrong.) $ df -i Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/wd2s1a 139656 35805 92679 28% 1358 37040 4% / /dev/wd2s2e 3038961 732990 2062855 26% 50251 687027 7% /usr /dev/wd2s3e 1519472 245799 1152116 18% 52245 316393 14% /var procfs 4 4 0 100% 33 147 18% /proc One million inodes free altogether, that should last me a while :-) -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message