On 05/08/2012 04:49 PM, Sam Varshavchik wrote:
Did you also happen to read the nfs and the mount.cifs man pages, that
give the mount options for remote shares so that processes won't go into
uninterruptible sleep when the share goes down, with no changes required
to the application?
No, because I was only researching the application in question. Yes, I
now know that it's possible to mount your nfs partitions so that this
can't happen, but at the time I was discussing a possible way for a
program to avoid it even if the partitions are hard mounted. (What if
you don't have control over the mounting, and your sysadmin insists on
using hard mounts?) Not, of course, because I expect it to be done but
because I found the possibility interesting in and of itself.