Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 1996 10:08:38 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        Ruiyuan_Jiang/Advantage_KBS_at_LotusXchg@njcorp.akbs.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Run out of inodes on root file system
Message-ID:  <199601231708.KAA17755@phaeton.artisoft.com>
In-Reply-To: <9600228223.AA822347722@njcorp.akbs.com> from "Ruiyuan_Jiang/Advantage_KBS_at_LotusXchg@njcorp.akbs.com" at Jan 22, 96 01:55:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>   I got a message from my system (FreeBSD v2.10) said that / (root) file
>   system runs out of inodes although root file system has 9 mb space
>   remaining. I have a question about this problem. Should I just simply
>   delete some files from my root file system so I will get more inodes or I
>   need to do something else? Thanks in advance.

Inodes are allocated on a cylinder group basis; the number of inodes
you configure per cylinder group times the number of cylinder groups
is your total number of inodes.

The default inodes/per cylinder group trades between a large number of
small files and a small number of large files.  Your usage is apparently
leaning toward smaller files than average.

You can not reallocate the number of inodes on an exiting partition
without backing it up, newfs'ing the partition, and restoring the
backed up data.  You may want to do this, or to delete some files.

One possible temporary "hack" soloution is to delete some files, make
one big file with "dd if=/dev/zero count=?? of=mybigfile", and use
vnconfig to configure it as a device.  Then you could newfs the
device and mount it as a file system.

Or you could just delte files and leave them deleted, or you could do
the backup and restore (for the "/" partition, you will need to make
a "fixit" floppy to run the restore, disklabel, and newfs).

Because this is "/", I suspect that you didn't use a seperate "/home"
and have a lot of users, or didn't use a seperate "/usr" and have a
lot of installed software.

>   Also what is the maximum size of file system that FreeBSD v2.1 support? 2
>   GB (32 bit). If I have a hard disk has  > 2 GB (suppose I have total disk
>   space > 2 GB on a FreeBSD v2.1 system), I will mount different size to
>   different file system, i.e. / file system 300 MB, /usr file system 500
>   MB, /home/users file system 1 GB plus swap file system. Is it possible to
>   mount all the file system under FreeBSD v2.1. Thanks.

The largest partition size that can be safely used has recently gone up
in -current.  I've used up to 8G with no ill effects with 2.1.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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