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

I am running nfs-kernel-server to access my files on my linux machine(ubuntu - /share). The disk I have been using is full. So I have added a new disk and mounted it to /share/data. My other pc mounts the /share folder to /mnt/nfs; but cannot see the contents of /mnt/nfs/data. I have tried adding /share/data to /etc/exports, but it did not help. What do I do?

PS: I am looking for another solution than explicitly mounting /share/data on the second drive.

share|improve this question

migrated from stackoverflow.com May 6 '10 at 4:42

This question came from our site for professional and enthusiast programmers.

NFSv4 supports nested mounts as you described, you can switch to it, but there are some issues. Otherwise, you must explicitly mount /share/data on each client.

share|improve this answer

You can use the nohide export option, but it has caveats. Read the exports(5) man page for more details.

share|improve this answer

Your Answer

 
discard

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