Stopping a service with an fs, clusterfs or netfs resource that is a child of a script fails in RHEL 5 or 6

Solution Unverified - Updated -

Issue

  • When I stop my service, it fails
Jan 19 10:18:45 node1 clurgmgrd: [8135]: <err> 'umount /local/home/' failed, error=0 
Jan 19 10:18:45 node1 clurgmgrd[8135]: <notice> stop on clusterfs "volGFS01-lvol0" returned 2 (invalid argument(s))
  • Stopping of a fs or clusterfs resource fails due to it still being in use by a parent resource

Environment

  • Red Hat Enterprise Linux (RHEL) 5 or 6 with the High Availability or Resilient Storage Add On
  • One or more services in /etc/cluster/cluster.conf where a fs, clusterfs, or netfs resource is a child (directly or indirectly) of another resource that uses that file system. For example:
<service name="example" recovery="relocate">
   <script name="test-script" file="/data/script.sh">
      <fs device="/dev/vg/lv" mountpoint="/data/script.sh" fsid="1234" fstype="ext3"/>
   </service>
</service>

In this example, the script resource directly uses the fs resource that it is a parent of.

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