nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

nfs problems

This is a discussion on nfs problems within the Linux software forums, part of the Linux Getting Started category; I have been having some strange nfs problems. Our main file server, filer, has several mounts exported, serving to ~15 ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-10-2006, 10:41 PM
Junior Member
User
 
Join Date: Oct 2006
Location: Saskatoon, SK CANADA
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
marros
Default nfs problems

I have been having some strange nfs problems. Our main file server, filer, has several mounts exported, serving to ~15 users. No one has any problems, except 2. Recently their computers (1 is a clone of the other) their computers will lock-up when they are nfs mounted, but work fine when they aren't. All systems are Ubuntu x86_64 on dual opteron systems, nearly all are identical. The server does not have any error messages, nor do the workstations. Does anybody have any ideas?
Reply With Quote
  #2 (permalink)  
Old 20-10-2006, 12:13 AM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

First make sure you start portmap and nfs client services:
Code:
sudo /etc/init.d/portmap start
sudo /etc/init.d/nfs-common start
Ok, don't connect but run showmount command
Code:
showmount -a
showmount -d
showmount -e
Do you see server names and exported directories?

Try to mount NFS directory with intr option, so if it hangs you can press CTRL+C:
Code:
mount -o hard, intr nfsserver:/path/to/dir /local/mnt
OR
Code:
mount -o soft,timeo=10 nfsserver:/path/to/dir /local/mnt
Do you run NFS server version 3 and client try to use version 2? If so force to use version 3 or vise versa
Code:
mount -o hard,intr, nfsvers=3  nfsserver:/path/to/dir /local/mnt
Note I have specified version 3.

Also on nfs sever run command:
Code:
tail -f /var/log/message
And see what error message you see from 64 bit client system.

Try out all these troubleshooting tips and let us know ..
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 21-10-2006, 01:30 AM
Junior Member
User
 
Join Date: Oct 2006
Location: Saskatoon, SK CANADA
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
marros
Default I think it is fixed

Portmap was originally set to look at 127.0.0.1. I changed it to the eth0 address, and the problem remained. nis at this point was also not working, rpcinfo -p was not giving out info, unless you either specified loopback, or the hostname. Changed portmap to listen to both sides, nis started working, and so has nfs, the computer hasn't crashed since.

Thanks for your help!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Internet problems norm134c Getting started tutorials 2 25-03-2008 12:20 AM
Help with MINIX problems grndpilot99 Linux software 0 03-10-2007 08:29 AM
PHPMyAdmin Problems JoeDively Coding in General 0 21-09-2007 09:30 PM
operator= problems mtalexan Coding in General 2 16-10-2006 11:33 PM
.htaccess problems rcordeiro Linux software 4 05-07-2006 07:32 PM


All times are GMT +5.5. The time now is 08:19 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38