This is the mail archive of the
mailing list for the Cygwin project.
NFS mount problem: portmap error
- From: DanieleRm <daniele dot pidala at xentas dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Sep 2007 01:48:19 -0700 (PDT)
- Subject: NFS mount problem: portmap error
I'm new here... I get a really strange problem with portmap and conseguently
with NFS mount
If I try to mount a directory I get this error:
pmap_getmaps rpc problem: RPC: Timed out
mount: RPC: Unable to receive; errno = Connection refused
than if i launch rpcinfo $/usr/sbin/rpcinfo -p i get this error:
rpcinfo: can't contact portmapper: RPC Timed out
I think portmap service (port 111) doesn't start but I don't undertsand why:
no windows firewall active, mountd-nfsd-portmap services started on Windows
my server.map file:
# Sample server map for nfsd
# This file maps 500/500 on an NFS client to the uid/gid of the
# user who ran nfs-server-config, and maps 0/0 on an NFS client
# the uid/gid of the Administrator account.
# Note that a server map is host-specific (which makes sense,
# if you think about it ...) So you can only use a plain IP
# address or DNS name to specify a client that uses a map_static.
# Examples of valid /etc/exports lines using map_static:
# /gaunt 192.168.1.42(map_static=/etc/nfs/server.map)
# /chaney twilley(map_static=/etc/nfs/server.map)
uid 500 1003 # user id for xxxx
gid 500 513 # group id for xxxx
uid 0 500 # user id for Administrator
gid 0 513 # group id for Administrator
my /etc/exports file:
# sample /etc/exports file
# Export the entire Cygwin filesystem to machines master and
# trusty. In addition to write access, all uid squashing is
# turned off for host trusty.
# / master(rw) trusty(rw,no_root_squash)
# Example of wildcard hostnames.
# /projects proj*.local.domain(rw)
# Example of wildcard netgroups (this is the entry '@trusted').
# /usr *.local.domain(ro) @trusted(rw)
# Gives read-only access to the host grimjack. The UID and GID
# for anonymous requests are explicitly set, and all requests
# are forced to use the anonymous UID/GID.
# /home/joe grimjack(ro,all_squash,anonuid=501,anongid=546)
# Give read-write access to anyone, and force all requests to
# use the default anonymous UID/GID. The insecure option in this
# entry also allows clients with NFS implementations that don't
# use a reserved port for NFS.
# /pub (ro,all_squash)
# Deny all NFS users access to the private directory that exists
# under the public directory.
# /pub/private (noaccess)
/VMA 192.168.1.1/255.255.255.0 (rw)
and this is my mount code line
$ telnet 192.168.1.11
$ mount -t nfs 192.168.1.6:/VMA /mnt/VMA
but i think my problem is due at portmapper service error.
if can help:
$ /usr/sbin/rpcinfo -u 192.168.1.11 nfs
program 100003 version 2 ready and waiting while TCP port
$ /usr/sbin/rpcinfo -t 192.168.1.11 nfs
rpcinfo : RPC : Timed out
program 100003 version 0 is not available
View this message in context: http://www.nabble.com/NFS-mount-problem%3A-portmap-error-tf4465246.html#a12731710
Sent from the Cygwin Users mailing list archive at Nabble.com.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html