nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 10-19-2006, 11:41 PM
Junior Member
User
 
Join Date: Oct 2006
Location: Saskatoon, SK CANADA
Posts: 5
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
Sponsored Links
  #2 (permalink)  
Old 10-20-2006, 01:13 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 10-21-2006, 02:30 AM
Junior Member
User
 
Join Date: Oct 2006
Location: Saskatoon, SK CANADA
Posts: 5
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

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 08:02 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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