Access NFS share from cygwin?

Posted by Jason Voegele on Server Fault See other posts from Server Fault or by Jason Voegele
Published on 2010-12-09T22:20:36Z Indexed on 2012/09/27 15:40 UTC
Read the original article Hit count: 241

Filed under:
|
|

We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything works fine.

However, one use case that we have is that we need to access this server using SSH, and still be able to access the NFS shares. We are running the Cygwin SSH daemon to provide SSH access to the server, but for some reason when we log in to the Windows 2003 server using SSH we can no longer access the NFS shares.

To demonstrate, here is the output of the 'mount' command, first from a Cygwin shell when logged in with remote desktop:

$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nfs (binary,posix=0,user,noumount,auto)

And now, the same 'mount' command when logged in with SSH:

$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)

Notice the missing O: P: and Z: NFS shares in the latter.

Can anyone tell me why I am unable to see these NFS shares when logged in with SSH?

Thanks!

© Server Fault or respective owner

Related posts about nfs

Related posts about ssh