Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 1998 11:16:13 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Quintin Oliver <quintin@smlt.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: out of inodes?
Message-ID:  <19980907111613.C25129@scientia.demon.co.uk>
In-Reply-To: <Pine.LNX.3.96.980907094701.10482A-100000@orion.smlt.com>
References:  <19980905203323.C21372@scientia.demon.co.uk> <Pine.LNX.3.96.980907094701.10482A-100000@orion.smlt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980907111613.C25129>