Re: How many directories can I have ?

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 10/27/04


Date: Wed, 27 Oct 2004 08:36:43 -0400

In article <417f4c2c@212.67.96.135>, David Kirkby <nospam@nowhere.com>
wrote:

> BTW, just for a matter of interest, what do you do if you run out of
> inodes, and what are the effects of it? I know messages were appearing
> on a machine at work once, which strongly made me think there was a
> hardware failure (they implied if memory serves me correct, the disk
> appeared to be failing). So I emailed the system admin, to let him know.
> He got back to me, saying he thought the system was running out of
> inodes, but I never did ask him what he done about it. The problem went
> away. Whether he deleted some unwanted files, moves some files to
> another file system, or increased the inodes in some way I no do not know.

Running out of inodes produces errors similar to running out of disk
space. The quick solution is to delete some files, and the long-term
fix is to recreate the filesystem with more inodes. When you format a
filesystem, you can tell it how much space to set aside for inodes, so
you can adjust this for the needs of your applications.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: Disk I/O performance.
    ... The number of inodes does not have any effect on disk performance. ... amount available for actual files. ... You can't change it once the filesystem is ...
    (AIX-L)
  • ufs inodes are not released on Solaris 8 for non-root users
    ... SUNW,Sun-Fire-V250) ufs inodes are not released after the corresponding ... The inodes get released after the filesystem is unmounted and mounted again, ... De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen ...
    (SunManagers)
  • Re: inodes
    ... info about a disk filesystem such as free disk space and inodes, ... If a filesystem has N inodes, ... recovered by finding superblock info? ...
    (comp.unix.programmer)
  • mipsel linux problems
    ... 4000 inodes, 16000 blocks ... Writing inode tables: done ... Writing superblocks and filesystem accounting information: ... Setting maximal mount count to 10240 ...
    (comp.os.linux.embedded)
  • mips linux problems
    ... 4000 inodes, 16000 blocks ... Writing inode tables: done ... Writing superblocks and filesystem accounting information: ... Setting maximal mount count to 10240 ...
    (comp.os.linux.development.system)