LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-31-2015, 10:25 PM   #1
ogregeek
LQ Newbie
 
Registered: Aug 2015
Distribution: Fedora
Posts: 2

Rep: Reputation: Disabled
NFS problem locking up processes after successful(?) mount


I've set up an NFS server on a older system running Fedora 17 (kernel 3.9.10-100), and a client running Fedora 20 (kernel 3.19.8-100). My problem is that after manually mounting one share on the client, any other NFS operation will lock up the process calling that operation. For example, mounting the second share, executing ls on the share or the parent directory, etc. There is no reported error on the initial mount operation.

Server is 192.168.57.11
Client is 192.168.57.10

Both machines have a wireless connection to the internet, and a wired ethernet link to each other.

I have observed that when the process on the client has locked up, the server has often subsequently lost networking functionality. Not every time, and not immediately.

Server firewall is disabled.
Client firewall has wired interface in the 'trusted' zone with all services enabled.

server /etc/exports
Code:
/home/public 192.168.57.0/255.255.255.0(rw,insecure,sync,no_subtree_check,mp,all_squash,anonuid=1000,anongid=1000)
/home/dave  192.168.57.0/255.255.255.0(rw,insecure,sync,no_subtree_check,mp,all_squash,anonuid=1000,anongid=1000)
server /etc/hosts.allow
Code:
ALL:192.168.57.0/255.255.255.0
server /etc/hosts.deny
Code:
ALL:ALL
Checking with 'ps', the server has the appropriate instances of mountd, idmapd and nfsd running.

client /etc/fstab has the following lines
Code:
192.168.57.11:/home/public  /home/public  nfs  rw,suid,exec,noauto,user,sync,hard,intr,timeo=14,rsize=8192,wsize=8192  0 0
192.168.57.11:/home/dave  /home/dave/remote  nfs  rw,suid,exec,noauto,user,sync,hard,intr,timeo=14,rsize=8192,wsize=8192  0 0
Checking with 'rpcinfo -p 192.168.57.11', the client can see the ports for portmapper, nfs, mountd and lockd (among others).

Logged into client as user, in a bash window, execute 'mount /home/public'. Prompt comes back with no error. Then executing any of:
$ mount /home/dave/remote
$ ls /home/public
$ ls /home
will lock up that bash process.

Being logged in to the client as root makes no difference.

Once the bash process has locked up, another window still gets a ping response from the server. But performing network functions on the server, such as using a browser, can cause the server to become unavailable to pings from the client.

I've done all the troubleshooting I can find & understand, without attempting a stack trace. Any help or ideas will be appreciated.
 
Old 09-04-2015, 10:03 AM   #2
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,768

Rep: Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192
Ensure that on the NFS server the exported filesystems are not NFS mounts themselves!
Check with df that they are from a local /dev/xxx device.
 
1 members found this post helpful.
Old 09-04-2015, 12:31 PM   #3
ogregeek
LQ Newbie
 
Registered: Aug 2015
Distribution: Fedora
Posts: 2

Original Poster
Rep: Reputation: Disabled
Not this time.

Thank you, MadeInGermany, but this is the only NFS activity on either of these machines. However, I have seen that system time has been an issue in some NFS problems, and both of these systems are running their internal timeclock only. I'm going to try syncing them both to an external source, see if that helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian mount.nfs: rpc.statd is not running but is required for remote locking jmc1987 Linux - General 2 11-04-2013 08:18 AM
[SOLVED] mount nfs problem: mount(2) Input/Output error, virtual box involved gjatute Linux - Newbie 6 10-23-2012 01:57 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount NFS fails on successful PXE boot ale99 Linux - Networking 0 11-03-2008 12:16 PM
NFS locking problem when using IP alias or secondary IP (Heartbeat) OggVorbis2 Linux - Networking 0 10-16-2007 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration