Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2022 12:16:31 +0100
From:      Per olof Ljungmark <peo@nethead.se>
To:        questions@freebsd.org
Subject:   Re: how many inodes on a tmpfs mount
Message-ID:  <20221111121631.Horde.nVbOqfptLBP5YB7LbLG53ZK@webmail.nethead.se>
In-Reply-To: <3923778.p4y8TspHLy@ravel>
References:  <20221111102201.Horde.zCCRGyrT-BPHCJVdzNB5Btt@webmail.nethead.se> <3923778.p4y8TspHLy@ravel>

next in thread | previous in thread | raw e-mail | index | archive | help

Quoting Olivier Certner <olivier.freebsd@free.fr>:

> Hi,
>
> The calculation used is in tmpfs_mount(). It normally allows to use  
> the whole mount size to create file directory entries and nodes, so  
> basically you should never run out of inodes, unless all your files  
> are empty (space is accounted as file data plus file directory  
> entries and nodes).
>
> What does 'df -h -i' reports for your mount?

Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/md1      1.9G    489M    1.3G    27%    119k  143k   45%   <path>






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