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

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

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

>> 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.

md    /<path>    mfs rw,-s2g,-wwww:wheel,-p770    2 0

-- 
Per olof Ljungmark
M: +46 707 502 046
Skype: pappapo1
Nethead AB
SE556815226701




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221111143802.Horde.xnQVF9GeSpUQzOrb-7ddaz4>