Restart an in-use NFS server without interruption (within timeout)

Posted by zebediah49 on Server Fault See other posts from Server Fault or by zebediah49
Published on 2013-10-29T20:48:44Z Indexed on 2013/10/29 21:58 UTC
Read the original article Hit count: 178

Filed under:
|

I have a bunch of compute clients working on jobs, saving output data to a NAS machine. All machines are centos 6.2. They mount it via automount NFS, with a timeout of 1200 (default config).

The NAS machine needs to be restarted.

If I can restart the machine within that 1200s (20 minute) window, will the clients just block on IO until it comes back up? A minor interruption (pause) in service is ok, as long as it doesn't cause the running processes to error out.

If necessary I could loop through and SIGSTOP all job processes, restart and resume them -- I just don't want to break the open file handles.

How can I run a restart like this without killing processes with open files?

© Server Fault or respective owner

Related posts about centos

Related posts about nfs