JM Ibanez wrote:
On Mon, 26 Jul 2004 20:11:57 +0800 (PHT), Orlando AndicoOrly probably is referring to the mount option "soft". It allows a timeout if the NFS server stops responding for a specified amount of time (specified by timeo=whatever). I would like to point out however that this causes more problems than it solves. If the program accessing the NFS mounted volume cannot or does not handle timeouts very well, it'll most likely crash and you'll probably lose data. There are by far very few programs I know of personally that cannot handle such timeouts (openoffice is one), maybe you are mounting it "soft" and there are timeouts which your app cannot handle?
<[EMAIL PROTECTED]> wrote:
NFS default mount behavior is to block when the NFS volume is unavailable.
There's another option (forgot which, it's a mount option) where I/O will
fail when the NFS volume times out instead of blocking until the NFS
volume comes back. You want that, so that disk I/O won't block.
Ah... enlightenment :) Will RTM then. I had some suspicion that the problem was sort of related to this. :) Thanks :)
Will also try doing an 'strace -p' the next time around. (I'm just hoping that there *isn't* a next time)
I had a similar problem back a few months ago, where all 4 workstations acting as NFS clients repeatedly "hanged". Finally traced it to a flaky hub. In our case in lieu of a more reliable hub, I had to use the mount option "hard" with "intr" (still do actually) to get it to work. Finally replaced the hub with a switch instead of another hub bcoz I was concerned that since all 4 workstations are mounting their home directories off of the NFS server, too much traffic may be going back and forth between the server and the clients (our users are playing mp3's off of a NFS dir /home/shares while simultaneously using OpenOffice.org to do encoding, and occasionally surfing with Mozilla - all of which write data to the user's home dir which is also NFS mounted).
FWIW, here's a snippet of our /etc/fstab:
10.0.0.1:/home/netlogon /home/netlogon nfs rw,hard,intr 0 0 10.0.0.1:/home/shares /home/shares nfs rw,hard,intr 0 0
Good luck!
marlon
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
