An nfsserver resource stops successfully even though /var/lib/nfs fails to unmount in a Pacemaker cluster

Solution In Progress - Updated -

Issue

  • An ocf:heartbeat:nfsserver resource's stop operation succeeded despite the /var/lib/nfs filesystem failing to unmount.
  • An LVM-activate resource failed to stop due to a filesystem in use by NFS, even though the nfsserver and Filesystem resources already stopped.
Jan 27 15:08:23 node1 pacemaker-controld[1208]: notice: Initiating stop operation nfs-daemon_stop_0 locally on node1
Jan 27 15:08:23 node1 nfsserver(nfs-daemon)[3481342]: INFO: Stopping NFS server ...
Jan 27 15:08:25 node1 nfsserver(nfs-daemon)[3481342]: INFO: NFS server stopped
Jan 27 15:08:25 node1 pacemaker-execd[1205]: notice: nfs-daemon_stop_0[3481342] error output [ umount: /var/lib/nfs: target is busy. ]
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for nfs-daemon on node1: ok 
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Initiating stop operation nfsshare_stop_0 locally on node1
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for nfsshare on node1: ok 
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Initiating stop operation lvm_ha_stop_0 locally on node1
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: INFO: Deactivating vg_nfs
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: ERROR:  Logical volume vg_nfs/lv_nfs contains a filesystem in use.
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: ERROR: vg_nfs: failed to deactivate.
Jan 27 15:08:25 node1 pacemaker-execd[1205]: notice: lvm_ha_stop_0[3481596] error output [ ocf-exit-reason:vg_nfs: failed to deactivate. ]
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for lvm_ha on node1: error

Environment

  • Red Hat Enterprise Linux 8 (with the High Availability Add-on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content