CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

nfs file stale handle

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2010, 09:23
Default nfs file stale handle
  #1
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hi,

on my cluster I have frequently problems with nfs... I get an error like:
Stale NFS file handle

This happens mostly during write out of an simulation or other access to the files (e.g. mapFields).
Unfortunately, the simple procedures explained here (http://www.cyberciti.biz/tips/nfs-st...-solution.html) are not
working always... so according to the statement of
Daemeon from January 29, 2009:
"When you force unmount/remount and still get the error, you have some
program that is probably (?) not following proper file handle semantics
about closing files.", there might be a problem in openfoam!?

This happens with 1.5-dev,1.6.x and 1.7.x. The cluster has OpenSUSE 11.2 installed.
The workstation is running with opensuse 11.1 and ubuntu lucid, which share the data directories using nfs.

Does anyone have similar problems and could have an advice, what I could check or adjust (maybe there are some nfs settings making it a bit more 'stable')!?

Regards!
Fabian
braennstroem is offline   Reply With Quote

Old   August 30, 2010, 09:35
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
I don't think this is an OpenFOAM problem. I've only ever had problems with stale file handles eg. if I move a directory in one ssh session while it's currently the pwd in another session. Are you the administrator of the cluster? Maybe someone is changing something while you are working?
akidess is offline   Reply With Quote

Old   August 31, 2010, 04:21
Default
  #3
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Hello,

thanks for your reply! I think so as well, that OpenFOAM is not the reason for this. Do you have a hint, what I am doing wrong in the setup of the cluster? Maybe the installed kernel 2.6.31.8-0.1 is the bad guy or needs some adjustments!? Or does there exist something different than nfs to share directories among machines?
Would be nice, if you can help!

Fabian
braennstroem is offline   Reply With Quote

Old   August 31, 2010, 04:32
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
I'm sorry, I never set NFS up myself, so I can't really help with that. Hopefully someone more experienced in setting up a cluster stumbles on this thread. Another idea is taking the question to another forum with more network specialists, eg. http://serverfault.com/

- Anton
akidess is offline   Reply With Quote

Old   September 2, 2010, 01:15
Default
  #5
Senior Member
 
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 10
braennstroem is on a distinguished road
Thanks, I will check the other forum...
braennstroem is offline   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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


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