Pacemaker Filesytem resource monitor fails after Vormetric encryption is started

Solution Verified - Updated -

Issue

  • When the Vormetric encryption software is started on a pacemaker cluster Filesystem resource, the monitor operations fails with:

    warning: Unexpected result (not configured: Another device (/dev/mapper/clustervg-clusterlv) was recorded for monitor of clusterfs on nodea at Jun 16 12:00:00 2025 | exit-status=6 id=clusterfs_last_failure_0
    
  • When trying to debug-monitor the resource, the /proc/mounts shows the filesystem mounted twice, one by the cluster and the other by the encryption which causes the failure on newer resource-agents versions:

    # pcs resource debug-monitor clusterfs --full
    Operation force-check for clusterfs (ocf:heartbeat:Filesystem) returned 7 (not running)
    --------------------------------------
    ++ 12:00:00: list_mounts:354: mount_list='proc  /proc   proc
    /dev/mapper/clustervg-clusterlv   /clusterfs   xfs
    /clusterfs   /clusterfs   secfs2'
    --------------------------------------
    + 12:00:00: Filesystem_status:815: local 'mounted_device=/dev/mapper/clustervg-clusterlv /clusterfs'
    + 12:00:00: Filesystem_status:817: '[' -n '/dev/mapper/clustervg-clusterlv /clusterfs' ']'
    + 12:00:00: Filesystem_status:818: '[' Xyes = Xyes ']'
    + 12:00:00: Filesystem_status:819: '[' -e /dev/clustervg/clusterlv ']'
    ++ 12:00:00: Filesystem_status:820: readlink -f /dev/clustervg/clusterlv
    + 12:00:00: Filesystem_status:820: local canonicalized_device=/dev/dm-2
    + 12:00:00: Filesystem_status:821: '[' 0 -ne 0 ']'
    + 12:00:00: Filesystem_status:828: '[' -e '/dev/mapper/clustervg-clusterlv /clusterfs' ']'
    + 12:00:00: Filesystem_status:835: local 'canonicalized_mounted_device=/dev/mapper/clustervg-clusterlv /clusterfs'
    + 12:00:00: Filesystem_status:837: '[' /dev/dm-2 '!=' '/dev/mapper/clustervg-clusterlv /clusterfs' ']'
    + 12:00:00: Filesystem_status:838: ocf_is_probe
    + 12:00:00: ocf_is_probe:555: '[' monitor = monitor -a 0 = 0 ']'
    + 12:00:00: Filesystem_status:839: ocf_log debug 'Another device (/dev/mapper/clustervg-clusterlv /clusterfs) is already mounted on /clusterfs'   
    

Environment

  • Red Hat Enterprise Linux (RHEL) Server 9, 10 with the High Availability Add On
  • resource-agents-4.10.0-64.el9_5 and later

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