You are not logged in.

#1 2015-05-11 11:53:36

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

[Solved] tmpfs lost half of its real space

Hello,

My RAM is 16 Gb, but the system sees only half of that

$ df -H /tmp/
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           8.4G   16M  8.4G   1% /tmp
$ free -h total
              total        used        free      shared  buff/cache   available
Mem:            15G        1.3G        2.0G         47M         12G         13G
Swap:            0B          0B          0B

Even copying files bigger than 8.5 Gb it will complain disk full
Maybe I'm misunderstanding how the memory is managed

Last edited by TheSaint (2015-05-12 02:43:57)


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2015-05-11 12:10:22

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] tmpfs lost half of its real space

tmpfs uses half your ram by default. If you want it larger or smaller than that, provide the size parameter when you mount it.

Semi-related: ramfs != tmpfs

Offline

#3 2015-05-12 02:43:25

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] tmpfs lost half of its real space

falconindy wrote:

Semi-related: ramfs != tmpfs

I corrected the title tongue

$ df -H /tmp/
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            13G  4.2G  8.5G  34% /tmp

$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
LABEL=Linux64   /               ext4    defaults                1       2
tmpfs           /tmp            tmpfs   nodev,nosuid,size=75%   0       0

cool cool

Last edited by TheSaint (2015-05-12 02:45:39)


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB