Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am not sure if the title is descriptive enough, but I did my best to explain the problem.

I have an Ubuntu 12.04 NFS server sharing home folder of user MyUser as /home/MyUser I also have a client that connects to this server and the client is running Elementary OS Luna, which I believe is based on Ubuntu 12.04.

I have a standard username and home folder structure across my machines, so the client also has the user MyUser. Both the shared home folder on server and client have the same structure; there is a work directory with tools and data under it. So both for the client and the server I have:

/home/MyUser/work/data

and

/home/MyUser/work/tools

When I connect to server from the client, the directory I mount on the client correctly matches the one on the server, but some folders such as data and tools above are symbolic links to their local versions on the client!

So the mounted directory in effect hides the remote folders when there is an overlap and shows the local ones instead. I have absolutely no clue what may cause this problem.

/etc/exports on the server contains:

/home/MyUser 192.168.0.1/24(rw,no_root_squash,async)

and I mount the remote folder on the client via:

sudo mount -o rw 192.168.0.13:/home/MyUser /nfs_share

What is wrong here?

share|improve this question
    
The thing about symbolic links doesn't seem clear enough could you add to your post the output of ls -l /home/MyUser/work and ls -l /nfs_share/work on the client? –  Dmitri Chubarov Aug 2 at 14:43

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.