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 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.

add comment

2 Answers

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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