TLDR: It looks like /tmp should just be a regular on-disk FS, but its behavior is leading me to believe it's in-RAM. How can I figure out what's going on?
I thought I understood all of the functionality here, but apparently am missing something.
This is a bare metal CentOS 6.4 server.
There is no specific /tmp mount point in fstab. If I check mount
, /dev/shm is the only 'tmpfs' mount. No mount point for /tmp.
If I do a "df /tmp", it tells me it's mounted on /, with the FS being on /dev/sda3. Fine, that's what I expected.
So, everything is leading me to believe that /tmp is just a directory under the root filesystem (/).
However, if I a create a dummy 10Gb file (dd if=/dev/zero of=/tmp/file.out bs=1M count=10000)... I see the free memory in free
going down by 10Gb.
If I then delete the file, I see free memory go back up.
I'm sure that I'm just missing something dumb, but any help is appreciated. Thanks!
[link] [comments]