NFS export CIFS share

cifsnfs

I have a server 192.168.1.1 where a samba share is mounted to /image

I would like to setup an NFS sever on this machine to share the mounted /image folder through NFS.

When I add it to the exports file I get a warning:

exportfs: /image does not support NFS export

So my question is very simple. Is it possible to reshare a samba mount through NFS?
If not then what is the fastest way to solve this problem?

Thanks

Best Answer

NFS only allows exporting local filesystems. From man exports:

The file /etc/exports contains a table of local physical file systems on an NFS server that are accessible to NFS clients.

There is no way around this, you can't re-export remote filesystems.