tmpfs changes size on restart
Posted
by
ben
on Server Fault
See other posts from Server Fault
or by ben
Published on 2012-07-03T18:30:08Z
Indexed on
2012/07/03
21:17 UTC
Read the original article
Hit count: 260
I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm
, the size will correct itself to 1G. But it'll revert the next time the server is restarted.
The entry in fstab is:
tmpfs /dev/shm tmpfs size=1024m 0 0
Could there another file that mount could be calling during startup? How might I find that file?
© Server Fault or respective owner