Skip site navigation (1)Skip section navigation (2)
Date:      16 Jun 1998 13:14:08 +0100
From:      Graeme Brown <graeme.brown@bt-sys.bt.co.uk>
To:        "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG>
Subject:   NFS Client hangs between FreeBSD Client and FreeBSD Server
Message-ID:  <n1314119723.47807@maczebedee>

next in thread | raw e-mail | index | archive | help
Dear FreeBSD list

I am having difficulties establishing NFS filesharing between
a FreeBSD 2.2.5 NFS server and a FreeBSD 2.2.6  NFS client host. 
The server freeb1 is
dual homed and has the following /etc/rc.conf configuration
entries for NFS.


-------------- BEGIN /etc/rc.conf for NFS server ----------------------
nfs_client_enable="YES"		# This host is an NFS client (or NO)
nfs_client_flags="-n 4"		# Flags to nfsiod (if enabled).
nfs_server_enable="YES"		# This host is an NFS server (or NO).
nfs_server_flags="-u -t 4"	# Flags to nfsd (if enabled).
mountd_flags="-r"		# Flags to mountd (if NFS server enabled).
nfs_reserved_port_only="NO"	# Provide NFS only on secure port (or NO).
rpc_lockd_enable="NO"		# Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES"		# Run NFS rpc.statd if nfs_server (or NO).
portmap_enable="YES"		# Run the portmapper service (or NO).
portmap_flags=""		# Flags to portmap (if enabled).
--------------   END /etc/rc.conf for NFS server  ---------------------



On one 100 BaseT Ethernet subnet,  I can successfully mount the
file-system freeb1:/home2 on HP workstation nomad running HP-UX 10.10.
This seems to suggest the server side is working OK.

The corresponding entry from /etc/exports on freeb1 is

/home2   -alldirs -ro    freeb2 freeb9 freeb4 nomad luther 


However on another subnet there is a FreeBSD 2.2.6 NFS client, freeb9.
The NFS configuration entries from /etc/rc.conf on Freeb9 are :-


-------------- BEGIN /etc/rc.conf for NFS client ----------------------
nfs_client_enable="YES"		# This host is an NFS client (or NO).
nfs_client_flags="-n 4"		# Flags to nfsiod (if enabled).
nfs_server_enable="NO"		# This host is an NFS server (or NO).
nfs_server_flags="-u -t 4"	# Flags to nfsd (if enabled).
mountd_flags="-r"		# Flags to mountd (if NFS server enabled).
nfs_reserved_port_only="NO"	# Provide NFS only on secure port (or NO).
rpc_lockd_enable="YES"		# Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES"		# Run NFS rpc.statd if nfs_server (or NO).
portmap_enable="YES"		# Run the portmapper service (or NO).
portmap_flags=""		# Flags to portmap (if enabled).
--------------   END /etc/rc.conf for NFS client ----------------------


When I execute a mount command on freeb9, it just seems to hang.

I have read the FreeBSD Handbook 16.2 entry on NFS which describes client
hang due to using slow Ethernet cards. I am using 100BaseT Intel Ether Express
Pro/100+ NICs and also ENI 155 ATM adapters, neither of which seem likely
to be likely culprits. Nevertheless I tried the recommendation from 16.5

(as root )

mount -t nfs -o -r=1024 freeb1:/home2 /mnt

but this just seemed to hang as did other mount attempts. A system reboot
was required to un-hang freeb9. freeb9 can ping freeb1 without a problems.

Any suggestions/insights please !

TIA

Graeme N Brown
Internet Futures Team
BT Laboratories, UK
email: graeme.brown@bt-sys.bt.co.uk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n1314119723.47807>