Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2022 13:02:43 +0100
From:      Olivier Certner <olivier.freebsd@free.fr>
To:        questions@freebsd.org
Subject:   Re: how many inodes on a tmpfs mount
Message-ID:  <1851179.vR5SVPPSqJ@ravel>
In-Reply-To: <20221111121631.Horde.nVbOqfptLBP5YB7LbLG53ZK@webmail.nethead.se>
References:  <20221111102201.Horde.zCCRGyrT-BPHCJVdzNB5Btt@webmail.nethead.se> <3923778.p4y8TspHLy@ravel> <20221111121631.Horde.nVbOqfptLBP5YB7LbLG53ZK@webmail.nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
> /dev/md1      1.9G    489M    1.3G    27%    119k  143k   45%   <path>

Mmm... For example, I get ~4M inodes per gigabyte on my machines with tmpfs.

It seems you're in fact using mdmfs(8) and that it is defaulting to creating some UFS filesystem instead of a tmpfs one. You can confirm that by running 'mount | grep -F /dev/md1' and checking the filesystem type (should be ufs, not tmpfs).

How is your md mounted? Could you provide the command-line, or the corresponding line in '/etc/fstab'? You should use 'tmpfs' as the device name in both cases.

-- 
Olivier Certner





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