Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Everytime I mount a ramdisk with the following command, I get two instead of one ramdisk?

mount -t tmpfs -o size=1024M tmpfs /home/site/public_html/var/cache

Mount shows no ramdisks mounted prior, and after running the command it shows:

tmpfs on /home/site/public_html/var/cache type tmpfs (rw,size=1024M)
tmpfs on /home/site/public_html/var/cache type tmpfs (rw,size=1024M)

If I unmount, both disappear, and when remounting, both appear.

share|improve this question

This can happen if you have a bind mount in your home directory.

Type this:

mount | grep bind

You can also check the contents of /etc/mtab, though I doubt you will see duplicate entries there.

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.