I'm mounting a VMware Fusion shared folder (vmhgfs) called foo to /var/www using the following command:

mount -t vmhgfs .host:/foo /var/www/

This works fine and creates the following /etc/mtab entry:

.host:/foo /var/www vmhgfs rw,ttl=1 0 0

However, when copying that entry to /etc/fstab, system startup fails to mount the share. If I drop into a shell at the moment of the error, the main /mnt/hgfs mount which VMware creates automatically is also not mounted, so I'm guessing it's trying to mount before the VMware tools are loaded or something like that?!

OS is Ubuntu 14.04 Server

  • Maybe you want to add "noauto" to fstab, and mount within kde/unity logon script? – davidbaumann May 21 '14 at 12:04
  • It's an Ubuntu server. When would it be mounted with noauto if there is no unity? – fresskoma May 21 '14 at 12:19
  • 1
    As soon as you run mount /my/mountpoint. It's still shorter than typing everything every time, I think. – davidbaumann May 21 '14 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.