Both nfs and nfslock scripts can fail under redhat in very rare situations.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 28 Oct 2010 02:43:57 +0000 (13:43 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 28 Oct 2010 02:43:57 +0000 (13:43 +1100)
commit8d4b2f2d0327795260e022aed846d9e1adb86c6e
treeb836d903f66388f4aad2c6594cd04fdd8a7ca33f
parentd017164a57e83d0fff0e70ea45bf09115030ac8b
Both nfs and nfslock scripts can fail under redhat in very rare situations.
Ctdb can also be configured to ignore checking for knfsd and if it is alive.
In that situation, no attempt will be made to restart nfs, and sicne nfs is not running,  lockd can not be restarted either.

To workaround this, everytime we try to restart the lockmanager, also try to restart nfsd
config/events.d/60.nfs