rgmanager service containing an nfsserver resource with an LV fails to shutdown

Solution Verified - Updated -

Issue

Stopping such a service always fail : the LV associated remains opened, thus can not be deactivated :

<service autostart="0" name="mynfs" recovery="relocate">
  <lvm name="cvg" vg_name="clustered"/>
  <fs device="/dev/clustered/ext3" mountpoint="/mnt/test/" name="fs">
    <nfsserver name="nfs-server" >
      <nfsclient name="mainshare" options="fsid=0,rw,async,root_squash" target="*" />
      <ip address="192.168.100.147"/>
    </nfsserver>
  </fs>
</service>

The following errors can be found in the logs :

Dec 11 14:45:40 rgmanager Stopping service service:mynfs
Dec 11 14:45:41 rgmanager [ip] Removing IPv4 address 192.168.100.147/24 from eth1
Dec 11 14:45:51 rgmanager [nfsclient] Using designated fsid=0 instead of fsid=
Dec 11 14:45:51 rgmanager [nfsclient] Removing export: *:/mnt/test
Dec 11 14:45:51 rgmanager [nfsserver] Stopping NFS daemons
Dec 11 14:45:51 rgmanager [nfsserver] NFS daemons are stopped
Dec 11 14:45:51 rgmanager [nfsserver] Copying sm files for future notification...
Dec 11 14:45:51 rgmanager [nfsserver] Stopping sm-notify
Dec 11 14:45:51 rgmanager [nfsserver] sm-notify is stopped
Dec 11 14:45:51 rgmanager [nfsserver] Stopping rpc.statd
Dec 11 14:45:52 rgmanager [nfsserver] rpc.statd is stopped
Dec 11 14:45:52 rgmanager [nfsserver] /mnt/test//.clumanager/nfs is not bound to /var/lib/nfs/statd  <= did not umount the binding
Dec 11 14:45:52 rgmanager [fs] unmounting /mnt/test/
Dec 11 14:45:53 rgmanager [lvm] Unable to deactivate clustered, retrying(1)  <= LV still in use
Dec 11 14:45:54 rgmanager [lvm] Unable to deactivate clustered, retrying(2)
Dec 11 14:45:55 rgmanager [lvm] Unable to deactivate clustered, retrying(3)
Dec 11 14:45:56 rgmanager [lvm] Unable to deactivate clustered, retrying(4)
Dec 11 14:45:57 rgmanager [lvm] Unable to deactivate clustered, retrying(5)
Dec 11 14:45:59 rgmanager [lvm] Unable to deactivate clustered, retrying(6)
Dec 11 14:46:00 rgmanager [lvm] Unable to deactivate clustered, retrying(7)
Dec 11 14:46:01 rgmanager [lvm] Unable to deactivate clustered, retrying(8)
Dec 11 14:46:02 rgmanager [lvm] Unable to deactivate clustered, retrying(9)
Dec 11 14:46:03 rgmanager [lvm] Unable to deactivate clustered, retrying(10)
Dec 11 14:46:04 rgmanager [lvm] Logical volume clustered/ext3 failed to shutdown
Dec 11 14:46:04 rgmanager stop on lvm "cvg" returned 1 (generic error)
Dec 11 14:46:04 rgmanager #12: RG service:mynfs failed to stop; intervention required
Dec 11 14:46:04 rgmanager Service service:mynfs is failed
Dec 11 14:46:10 rgmanager 1 events processed

Environment

  • Red Hat Enterprise Linux v.6 with HighAvailability addon
  • rgmanager with a service containing an resource
  • The resource points to a mount point containing a trailing '/'

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