An inode is an internal structure that the operating system
uses to track and control information about a file,
such as size and last access date.
Each file uses one inode.
When a filesystem runs out of inodes,
the system displays the following error message:
NOTICE: type: Out of inodes on type dev hd (major/minor)
where type is the filesystem type and
major/minor is the major and minor device
numbers (for example hd (1/42) for the
root filesystem).
The initial allocation of inodes assumes a
ratio of about four data blocks per inode.
If the filesystem contains mostly files that are
smaller than four blocks, it runs out of inodes.
The number of inodes available on a filesystem is determined
when you create the filesystem using
mkfs(ADM).
If the filesystem consistently runs out of free inodes,
you can reconfigure the filesystem and increase the number of inodes.
WARNING:
This procedure destroys the information on your hard disk.
Do not use mkfs without first creating a
complete and verified backup.
From the command line, run
mkfs(ADM)
and specify more inodes for the filesystem.
For example, to reconfigure the number of inodes on the
/dev/u filesystem to 6400, enter:
mkfs /dev/ufssize:6400
Replace fssize with the size of the filesystem
(in 512-byte blocks).
See the
mkfs(ADM)
manual page for more information.