DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th September 2011
warudemaru warudemaru is offline
New User
 
Join Date: Dec 2010
Posts: 8
Thanked 0 Times in 0 Posts
Default NFS not responding after upgrade to 4.9 (i386)

Hi all! I got serious problem with the NFS server after binary upgrade to 4.9, I just can not store and retrieve files over NFS instead the client gets repeating message "nfs server not responding". More strange is that I can mount, unmount, list directory and even view files. I have no good idea how to fix or even debug the problem, as I don't get any messages or logs on the server. Appreciate any hints!
Reply With Quote
  #2   (View Single Post)  
Old 8th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,435
Thanked 214 Times in 189 Posts
Default

Hello and welcome.

What release did you update from? If from 4.7 or earlier, did you upgrade in sequence, following the upgrade guide for each release? Did you also merge /etc and /var changes using sysmerge(8) or manually?

I suspect PF changes are the root cause, but that is just conjecture. If PF is used, disable it and see if you are able to connect.
Reply With Quote
  #3   (View Single Post)  
Old 9th September 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

NFS is all kinds of black magic, IMHO you should avoid it at all costs.
Reply With Quote
  #4   (View Single Post)  
Old 9th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,435
Thanked 214 Times in 189 Posts
Default

NFS can be used safely, and in production environments, with proper planning and due care. This has been the case for decades. Let us find out more from warudemaru about what has been done or not done before casting aspersions upon a technology that may be providing significant value.
Reply With Quote
  #5   (View Single Post)  
Old 9th September 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,118
Thanked 182 Times in 149 Posts
Default

Only optimizing NFS performance is black magic, changing settings that speedup one application sometimes has no effect on others
__________________
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
  #6   (View Single Post)  
Old 9th September 2011
warudemaru warudemaru is offline
New User
 
Join Date: Dec 2010
Posts: 8
Thanked 0 Times in 0 Posts
Default

Thanks for your interest. My details are as follow: I did a normal upgrade from 4.8 using sysmerge according to the upgrade guide. On 4.8 NFS was running without problems, just like on previous versions. PF is used on that machine, but I don't believe it's a problem as I access it over home LAN. No changes were made to the pf.conf. However there were some changes to the sysctl.conf. Previously I had the options
net.inet.tcp.recvspace=131072
net.inet.tcp.sendspace=131072
net.inet.udp.recvspace=131072
net.inet.udp.sendspace=131072

Without these the network was struggling, the transfer rates were very low on 4.8. Now after upgrade to 4.9 net.inet.tcp just disappeared,but i'm not facing any troubles with speed rate anymore. Maybe some other tuning regarding NFS is now needed too?
Today I made some additional tests and got the following results: mount and umount, as well as ls and even editing a file is possible as long as I don't try to copy or move files after which the client process hangs in nfsreq state and any further NFS operations are impossible, only reboot helps.
Reply With Quote
  #7   (View Single Post)  
Old 9th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,435
Thanked 214 Times in 189 Posts
Default

Does the server have multiple network routes to the client? I'm guessing, of course, because you have not drawn us any diagrams.

You might try mount_nfs with -T ... If that functions better for you look to a network topology root cause.

I'd also be interested in the rest of your custom sysctls, and ask if you've used the diagnostic tools described in FAQ 6.7.
Reply With Quote
  #8   (View Single Post)  
Old 9th September 2011
warudemaru warudemaru is offline
New User
 
Join Date: Dec 2010
Posts: 8
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
Does the server have multiple network routes to the client? I'm guessing, of course, because you have not drawn us any diagrams.

You might try mount_nfs with -T ... If that functions better for you look to a network topology root cause.

I'd also be interested in the rest of your custom sysctls, and ask if you've used the diagnostic tools described in FAQ 6.7.
The topology is the most simple at all - OpenBSD as a router and clients behind, all on the same network, connected to one and the same switch.
I figured out that from 4.9 on I don't need any network options tweaking in sysctl.conf, so there is only net.inet.ip.forwarding=1 in there.
The problem with diagnostic tools is that they don't reveal much.. rpcinfo shows all services are runnig fine (they must as I can mount and ls), nfsstat shows some error probably
Server Ret-Failed 10
Server Faults 0
NFS over TCP seems to help only that much it doesn't hang the client and the directory can be unmounted, but I believe that depends more on the client
Reply With Quote
  #9   (View Single Post)  
Old 20th November 2011
warudemaru warudemaru is offline
New User
 
Join Date: Dec 2010
Posts: 8
Thanked 0 Times in 0 Posts
Default solved

fortunately the problem went away with the next upgrade to 5.0, but remains tricky
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
AMD64 vs i386 on desktop nerfur OpenBSD General 6 5th March 2010 04:12 PM
i386 to amd64 gkontos FreeBSD Installation and Upgrading 3 10th November 2009 02:49 PM
Machine not responding to incoming connections vi5in FreeBSD General 9 27th October 2009 10:17 PM
i386 drivers on amd64 kienjakenobi FreeBSD Ports and Packages 5 25th June 2008 05:37 PM
Revert from AMD64 to i386 chavez243 FreeBSD General 6 6th May 2008 12:24 PM


All times are GMT. The time now is 05:29 PM.


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