High Availability service fails to start with "start_filesystem: Could not match <device> with a real device" with fs and lvm resources on Red Hat Enterprise Linux 6

Solution Unverified - Updated -

Issue

  • After rebooting Cluster node2 ,SAP_UAT service is not getting started. We tried to enable the service manually but started getting messages like:
rgmanager[10207]: [fs] start_filesystem: Could not match /dev/ClusterVG/DataLV with a real device
rgmanager[3323]: start on fs "fs_UAT" returned 2 (invalid argument(s))
rgmanager[3323]: #68: Failed to start service:SAP_UAT; return value: 1
  • We even tried to disable the service and enable it again but the same result occurred.

Environment

  • Red Hat Enterprise Linux Server 6 (with the High Availability or Resilient Storage Add Ons)
  • Red Hat Cluster Suite cluster with 2 or more nodes

    • rgmanager to manage cluster services

      • HA-LVM resource is already configured using either tagging-variant or CLVM-variant. Could also be whole-vg or single-lv variants.
      • Service that is failing to start has a resource, and the device for that resource is on an LVM volume (in this example, /dev/ClusterVG/DataLV).
      <resources>
          <lvm name="UAT HA LVM" self_fence="1" vg_name="ClusterVG"/>
          <SAPInstance AUTOMATIC_RECOVER="1" DIR_EXECUTABLE="/usr/sap/ECP/SYS/exe/run" DIR_PROFILE="/usr/sap/ECP/SYS/profile" \
                    InstanceName="ECP_UAT11_proddb" START_PROFILE="/usr/sap/ECP/SYS/profile/START_UAT11_proddb"/>
          <fs device="/dev/ClusterVG/DataLV" fstype="ext4" mountpoint="/usr/sap/ECP/UAT11" name="fs_UAT"/>
      </resources>
      <service domain="DB_Prefer_node" name="SAP_UAT" recovery="relocate">
          <SAPInstance ref="ECP_UAT11_proddb"/>
          <fs ref="fs_UAT"/>
      </service>
      

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.