RHEL 7 cluster with nfsserver resource prints warning " sm-notify: Failed to delete: could not open original" when relocating, recovering, or failing over a service
Issue
- If during a failover, the server needs to notify a client using sm-notify, sm-notify is going to display this warning.
Apr 24 17:52:40 rhel7-node1 lrmd[2771]: notice: operation_finished: nfs-daemon_start_0:3848:stderr [ sm-notify: Failed to delete: could not open original file /var/lib/nfs/statd/sm.ha/sm.bak/rhel7-node3: Permission denied ]
- Lock recovery is not happening properly on clients when my cluster nfs server service fails over
Environment
- Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
- Red Hat Enterprise Linux (RHEL) 7 with the High Availability Add On
pacemakernfsserverresourceresource-agentsreleases prior to3.9.5-12.el6in RHEL 6resource-agentsreleases prior to3.9.5-40.el7in RHEL 7, or prior to3.9.5-26.el7_0.7in RHEL 7 Update 0.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.