With latest cygwin setup ver 2.882, NFS is as follows,
http://www.morethantechnical.com/2014/01/08/share-nfs-from-windows/
except the following step is not needed, as it gives the ESTALE error if the file system which is going to be mounted is already a mounted one.
----
"5. Due to a strange behavior of Cygwin, you must remount your desired drive as a different mount
Instead I just created a directory as follows,
mkdir -p /mnt/testu
and assigned the owner which automatically had the user and group of "tarner (windows user name)" and "None" respectively. It has "drwxr_xr_x+".
And, added it to /etc/exports as
/mnt/testu (rw,all_squash,anonuid=1000,anongid=513)
And, the following also was not there. It displayed some error. But, it does not matter.
mount -v -t nfs -o vers=2 192.168.0.35:/mnt/testu share
If Linux, please try any command with -v option to debug easily which is verbose.
http://www.morethantechnical.com/2014/01/08/share-nfs-from-windows/
except the following step is not needed, as it gives the ESTALE error if the file system which is going to be mounted is already a mounted one.
----
"5. Due to a strange behavior of Cygwin, you must remount your desired drive as a different mount
----mkdir -p /mnt/d
mount d:/ /mnt/d/
Instead I just created a directory as follows,
mkdir -p /mnt/testu
and assigned the owner which automatically had the user and group of "tarner (windows user name)" and "None" respectively. It has "drwxr_xr_x+".
And, added it to /etc/exports as
/mnt/testu (rw,all_squash,anonuid=1000,anongid=513)
And, the following also was not there. It displayed some error. But, it does not matter.
cygrunsrv --start portmap
The Linux command was,mount -v -t nfs -o vers=2 192.168.0.35:/mnt/testu share
If Linux, please try any command with -v option to debug easily which is verbose.
No comments:
Post a Comment