inode

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Mar 16 05:06:09 PST 2005


On 2005-03-16 13:49, Gert Cuykens <gert.cuykens at gmail.com> wrote:
>On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
><keramida at ceid.upatras.gr> wrote:
>>
>> Show us the output of:
>>
>>         # df -ik
>
> $ df -ik
> Filesystem  1K-blocks   Used  Avail Capacity iused ifree %iused  Mounted on
> /dev/ad0s1a    253678  35430 197954    15%     981 32041    3%   /
> devfs               1      1      0   100%       0     0  100%   /dev
> /dev/ad0s1e    253678      6 233378     0%       3 33019    0%   /tmp
> /dev/ad0s1f    673024 332902 286282    54%   87038     0  100%   /usr

Here you are.  Your /usr partition has no free i-nodes.  Probably
because you used too large block/fragment sizes when it was newfs'd.

You have two options, both of which involve a reinstallation:

a) Resplit the disk giving more space to /usr.
b) Use a single, big root partition.

One possible layout, if you choose (a) could be:

Filesystem    Size		Mount-point	Other
/dev/ad0s1a   100-200 MB	/		-
/dev/ad0s1b   ??? MB		-		(swap, tmpfs)
/dev/ad0s1e   200-300 MB	/var		-
/dev/ad0s1f   rest		/usr		the rest of the disk

You can then use /usr/home for the home directories of users, and have
most of your space in /usr (where it is needed).



More information about the freebsd-questions mailing list