Date: 17 Jun 1998 09:15:02 +0100 From: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> To: Freddijanto <freddi@elga.net.id>, "FreeBSD-Net (FreeBSD.Org) List" <freebsd-net@FreeBSD.ORG> Subject: RE: NFS Client hangs between FreeBSD Client and FreeBSD Server Message-ID: <n1314047663.82214@maczebedee>
next in thread | raw e-mail | index | archive | help
Dear Freddijanto Thanks for your reply. It fixed my problem straight away. Why on earth don't the default nfs client options set in /etc/rc.conf as shipped with FreeBSD specify that TCP mode is required for the client. I spent several frustrating days banging my head against an NFS brick-wall over this one ! Well I am enlightened now. Thanks Graeme _______________________________________________________________________________ To: Graeme Brown From: Freddijanto on Wed, Jun 17, 1998 7:05 am Subject: Re: NFS Client hangs between FreeBSD Client and FreeBSD Server RFC Header:Received: by maczebedee with ADMIN;17 Jun 1998 07:05:13 +0100 Received: from zaphod.axion.bt.co.uk by rambo with SMTP (PP); Wed, 17 Jun 1998 07:06:52 +0100 Received: from silo.elga.net.id by zaphod.axion.bt.co.uk with SMTP (PP); Wed, 17 Jun 1998 07:03:52 +0100 Received: from freddi (wek@TechCenter.intranet.elga.net.id [203.130.238.68]) by silo.elga.net.id (8.8.7/8.8.7) with SMTP id NAA22478 for <graeme.brown@bt-sys.bt.co.uk>; Wed, 17 Jun 1998 13:04:37 +0700 (JAVT) (envelope-from freddi@elga.net.id) Message-Id: <3.0.5.32.19980617130253.00844100@pop.elga.net.id> X-Sender: freddi@pop.elga.net.id X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 17 Jun 1998 13:02:53 +0700 To: Graeme Brown <graeme.brown@bt-sys.bt.co.uk> From: Freddijanto <freddi@elga.net.id> Subject: Re: NFS Client hangs between FreeBSD Client and FreeBSD Server In-Reply-To: <n1314119723.47807@maczebedee> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:14 PM 6/16/98 +0100, you wrote: >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 ! > Since you are using tcp nfs server (flag -u -t 4), you must use "mount_nfs -T ........" instead of "mount -t nfs ....." 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?n1314047663.82214>