LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2013, 07:43 PM   #1
j.sudol
LQ Newbie
 
Registered: Aug 2013
Distribution: Slackware 14.0
Posts: 3

Rep: Reputation: Disabled
NFS networked cluster, computers hang on shutdown


Help.

Here's the situation. I have one computer with a complete Slackware Linux 14.0 install. This computer will eventually serve as the command center for a cluster of thirty computers. I have a second computer, a prototype for the thirty computers in the cluster, with a slim set of packages installed to reduce the overhead and optimize performance. Eventually, I will clone the second computer 29 times to create a cluster of 30 machines designed to carry out some extensive N-body integrations. I'm modeling extra-solar planetary systems.

At the moment, the hard drives on the command computer and the prototype are cross mounted so that I can move files back and forth easily. The cross-mounting is working quite well - the only problem is that one computer will hang on shutdown if the other computer is already shutdown. Granted, I don't expect to shutdown these computers often, so this is more an annoyance than a real problem, but I'd like it to go away.

In detail... After shutting down one computer, if I shut down the second (using shutdown -h now), I get the following notices:

killing process holding NSF mount /proc/fs/nfs open...
killing process holding NSF mount /proc/fs/nfsd open...
killing process holding NSF mount /home/mercury6/c01

[The last directory is the directory on the machine that is shutting down that is cross mounted to the machine that is now shut down.]

nfsd has been unmounted
umount: /prc/fs/nfs device is busy

Remounting root filesystem rad only
/dev/sda1 on / type ext2 (ro)

[HANG]

I'm not sure why there is /proc/fs/nfs and a proc/fs/nfsd. I didn't see that when I had the computers running Slackware 9.1. Why are there two nfs processes running, nfs and nfsd? and what's the difference between them? Is this a significant clue?

jjs
 
Old 08-07-2013, 01:21 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
if you are not mounting them properly this will ALWAYS happen. as you are mounting these as NFS (im hoping NFSv4) then you can use both the --ghost and -bg option as well as --time-out=foo

https://www.centos.org/docs/5/html/D...g-options.html

check that link out.

and here

http://linux.die.net/man/5/nfs

there are ways of dealing with the situation you have. it all boils down to how you mount the NFS shares.
 
  


Reply



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
Please help diagnose: Can't ping other networked computers by name. spindles Linux - Networking 3 06-21-2007 12:44 AM
accessing disks on other networked computers pofadda Puppy 2 08-03-2006 07:59 PM
Good Distro for my office with 4 networked computers? SonoranFun Linux - Distributions 3 01-19-2005 04:00 PM
Updating two networked computers (Mandrake 10) BaltikaTroika Mandriva 2 10-03-2004 07:04 AM
two computers networked through hub penguin_warrior Debian 2 02-13-2004 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:16 AM.

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