Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm exporting the directory: /a/b/c/ Now, when i mount this share from the client, at /mnt/c, in order to access /a/b/c/ on the server i need to access /mnt/c/a/b/c Is there a way to make /mnt/c show the content of /a/b/c on the server without traversing the entire path? (I'm using NFS4 on Gentoo)

The exports file on the server contains:


The client mounts using:

mount -t nfs4 /mnt/c/
share|improve this question

migrated from Feb 25 '12 at 2:33

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

Afaik it is not possible without having another export entry but i might be wrong. – fyr Feb 6 '12 at 7:27
Could you please post the files /etc/exports (you have on the NFS server) and /etc/fstab, or /etc/auto.* (you have on the NFS clients)? – Mapio Feb 6 '12 at 7:28
up vote 0 down vote accepted

Found the solution, Instead of mount at the root, i have to mount at the specific directory like so:

mount -t nfs4 /mnt/c/
share|improve this answer

You must log in to answer this question.