There are 2 server "serverA" and "serverB".
serverA's /opt partition is mount on serverB via nfs.
Some applications on serverB uses this partition for read and write.
When serverA is down
* How do I unmount the /opt partition on serverB without reboot.
man umount.
* How do I kill the applications on serverB which uses /opt ("kill -9 application_pid" doesn't work)
* Is there any timeout option in nfs which can tell serverB that it should drop the request after X seconds if that partition is not available.
man 5 nfs says:
[..] timeo=n The value in tenths of a second before sending the first retransmission after an RPC timeout.
The default value is 7 tenths of a second. After the first timeout, the timeout is doubled
after each successive timeout until a maximum timeout of 60 seconds is reached or the enough
retransmissions have occured to cause a major timeout. Then, if the filesystem is hard mounted,
each new timeout cascade restarts at twice the initial value of the previous cascade, again dou-
bling at each retransmission. The maximum timeout is always 60 seconds. Better overall perfor-
mance may be achieved by increasing the timeout when mounting on a busy network, to a slow
server, or through several routers or gateways.
[..]
soft If an NFS file operation has a major timeout then report an I/O error to the calling program.
The default is to continue retrying NFS file operations indefinitely.
hard If an NFS file operation has a major timeout then report "server not responding" on the console
and continue retrying indefinitely. This is the default.
[...]
See if you can do a softmount. Try to stop the app after timeout period.
Mahantesh. --
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
