Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a virtual machine that I use only for internal development, so I'm not really worried about security. In that machine, I have the following export settings:

/var/www         *(rw,sync,fsid=1000,no_subtree_check)
/home/my_user    *(rw,sync,fsid=1000,no_subtree_check)
/etc             *(rw,sync,fsid=0,no_subtree_check)

Both /var/www and /etc are mounted in the right way, but when I try to mount /home/my_user the system mounts /var/www again, ignoring the /home/my_user NFS share

In my workstation's fstab, I have:

my.ip.address:/var/www /mount_folder/www nfs defaults,auto,nobootwait,nofail
my.ip.address:/home/my_user /mount_folder/home nfs defaults,auto,nobootwait,nofail
my.ip.address:/etc /mount_folder/etc nfs defaults,auto,nobootwait,nofail

Does anybody have any idea why /home/my_user is being mounted as /var/www?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.