Clustered service with nfsexport or nfsserver but without nfsclient cannot be stopped despite having force_unmount set in RHEL 6
Issue
fsresource in cluster service withnfsexportfails to stop- Despite having
fource_unmountset to 1 a filesystem cannot be unmounted to allow a service to fail over.
Aug 6 04:11:03 node1 rgmanager[4707]: stop on fs "fs-ext4" returned 2 (invalid argument(s))
Aug 6 04:11:04 node1 rgmanager[4707]: #12: RG service:nfsservice failed to stop; intervention required
Aug 6 04:11:04 node1 rgmanager[4707]: Service service:nfsservice is failed
Environment
- Red Hat Enterprise Linux (RHEL) 6 with the High Availability Add On
- Cluster service in
/etc/cluster/cluster.conf:- Contains
fsorclusterfsresource - Contains
nfsexportornfsserver - No
nfsclientresource - Entry for this file system in
/etc/exports - If any of the above does not match this environment, see this solution
- Contains
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.