tmpfs runs out of space on 8.2pre-release, zfs related?

Ivan Voras ivoras at
Mon Jan 3 13:30:05 UTC 2011

On 01/02/11 09:41, miyamoto moesasji wrote:
> miyamoto moesasji<miyamoto.31b<at>>  writes:
>> In setting up tmpfs (so not tmpmfs) on a machine that is using
>> zfs(v15, zfs v4) on 8.2prerelease I run out of space on the tmpfs when
>> copying a file of ~4.6 GB file from the zfs-filesystem to the memory
>> disk. This machine has 8GB of memory backed by swap on the harddisk,
>> so I expected the file to copy to memory without problems.
> ....this is in fact worse than I first thought. After leaving the
> machine running overnight the tmpfs is reduced to a size of 4K, which
> shows that tmpfs is in fact
> completely unusable for me. See the output of df:
> ---
> hge at PulsarX4:~/>  df -hi /tmp
> Filesystem    Size    Used   Avail Capacity iused ifree %iused  Mounted on
> tmpfs         4.0K    4.0K      0B   100%      18     0  100%   /tmp

This is a known problem. So far, no solution has been offered, which 
means that effectively, tmpfs cannot be used with ZFS on the same system.

More information about the freebsd-stable mailing list