exportfs: Warning: /home/user/share does not support NFS export
'exportfs -r' returns me this error when I'm trying to export /home/user/share (ext4):
exportfs: Warning: /home/user/share does not support NFS export.
/etc/exports:
/home/user/share 192.168.1.3 (rw,no_subtree_check)
The system is Ubuntu 10.04 with nfs-kernel-server package. Any ideas why this is happening? Is it because of ext4?
nfs-kernel-server cannot work with a FUSE folder like an encrypted ecryptfs home directory.
After some time I think I have solution. Due to NFS doesn't work under encrypted directory and this is probably only your home folder, you must move your directory to unencrypted space. In my case I've move vangrat project dir from /home/me/vagrant/project > /var/www/vagrant/porject. And boom, is working!
Also you can try play around and turn off encryption in your home folder but this is up to you.
Hope this is useful.
Had this problem due to a space in the path. Renaming the folder to remove all spaces resolved the issue for me.