Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Why do you care? It's not as if that space is being used.

The default size is approximately half your system memory - and yes, there will be somewhere in your startup scripts that mounts a bunch of interesting tmpfs locations on a modern Linux.

You haven't said which particular distribution you use. Various Debian derived distributions might control them via any of:

  • /etc/init.d/mdadm-raid
  • /etc/init.d/udev
  • /etc/init.d/
  • /etc/init.d/

There's even a /etc/default/tmpfs on squeeze where you can set the default size.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.