DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th July 2008
chiefbodge chiefbodge is offline
New User
 
Join Date: Jul 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default NFS Server DNS Issue

Hi Everyone,

I have googled this to death and can't really find an answer to my issue, I was wondering if anyone could help out.

The situation is that I am remote booting two thin clients over NFS using FreeBSD 7.0. These are display computers and are often connected to erratic wireless internet. The issue is that operations over NFS are extremely slow/completely fail when the wireless internet connection fails. It is like the NFS server is doing a reverse DNS lookup every time a file is requested.

The exports line in question does not use hostnames and uses network only:
/data/misc -maproot=root -alldirs -network 192.168.1.0 -mask 255.255.0.0

My question is, is it possible to tell freebsd's nfs server to completely stop using DNS?

Thanks in advanced for any help.

Cheers,

Jay
Reply With Quote
  #2   (View Single Post)  
Old 13th July 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,150
Thanked 182 Times in 149 Posts
Default

Quote:
Originally Posted by chiefbodge View Post
The issue is that operations over NFS are extremely slow/completely fail when the wireless internet connection fails. It is like the NFS server is doing a reverse DNS lookup every time a file is requested.
First remark: It sounds pretyy normal me to me that NFS fails when the network link fails.

Second remark: can you confirm the reverse name lookups with tcpdump or DNS server logs?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 13th July 2008
chiefbodge chiefbodge is offline
New User
 
Join Date: Jul 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

Hi J65nko,

To confirm the NFS server is in the same network (lan) as the Thin clients (192.168.1.0). The issue (I think) is when the wireless gateway drops out and there is no DNS then the NFS server starts going slow.

I just did a tcpdump as you suggested and figured out the issue. Thanks for your help.

The problem was that the dhcp was giving the hosts a hostname and they must've been using this hostname in their nfs requests. Simply adding the hostnames of the thin clients to /etc/hosts on the server solved this problem.

Cheers,

Jay
Reply With Quote
  #4   (View Single Post)  
Old 13th July 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,150
Thanked 182 Times in 149 Posts
Default

That is how a real system administrator solves issues like this, with tcpdump
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.5 -current issue roundkat OpenBSD Installation and Upgrading 11 28th February 2009 02:11 PM
FFS permission issue marc OpenBSD General 2 2nd February 2009 07:31 PM
Possible SMP Issue? MetalHead OpenBSD General 1 25th November 2008 03:52 AM
Sun Java System Web Server - Active Server Pages (yes ASP) hopla FreeBSD General 0 26th September 2008 08:22 AM
RAM issue nikkon FreeBSD General 5 7th May 2008 04:26 AM


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick