How to create an NFS proxy by using kernel server & client?

Posted by Martin C. Martin on Server Fault See other posts from Server Fault or by Martin C. Martin
Published on 2012-06-22T13:20:16Z Indexed on 2012/06/24 9:17 UTC
Read the original article Hit count: 772

Filed under:

I have a file server that exports as NFS. On an Ubuntu machine I mount that, then try to export it as an NFS volume. When I go to export it, I get the message:

exportfs: /test/nfs-mount-point does not support NFS export

How can I get this to work, or at least get more information as to what the problem is?

Exact steps:

Unbuntu 12.04

mount -f nfs myfileserver.com:/server-dir /test/nfs-mount-point

[Works fine, I can read & write files]

/etc/exports contains:

/test/nfs-mount-point *(rw,no_subtree_check)

sudo /etc/init.d/nfs-kernel-server restart

  • Stopping NFS kernel daemon [ OK ]
  • Unexporting directories for NFS kernel daemon... [ OK ]
  • Exporting directories for NFS kernel daemon... exportfs: /test/nfs-mount-point does not support NFS export [ OK ]
  • Starting NFS kernel daemon [ OK ]

© Server Fault or respective owner

Related posts about nfs