Unable to deactivate pacemaker cluster LVM resource created with RAID 1 LVs
Issue
- LVM resource is not stopping not in RHEL 7 High Availability cluster with debug-stop output giving the following errors despite Filesystem resource has been stopped correctly.
[root@host] # pcs resource debug-stop <LVM-resource-name>
Operation stop for <LVM-resource-name> (ocf:heartbeat:LVM) returned: 'unknown error' (1)
> stdout: volume_list="<vg-name>"
> stdout: volume_list="<vg-name>"
> stderr: INFO: Deactivating volume group <vg-name>
> stderr: ERROR: Logical volume vg-name/lv-name contains a filesystem in use. Can't deactivate volume group "vg-name" with 3 open logical volume(s)
> stderr: ocf-exit-reason:LVM: <vg-name> did not stop correctly
> stderr: WARNING: <vg-name> still Active
> stderr: INFO: Retry deactivating volume group <vg-name>
- Unable to deactivate RAID 1 LVs
Environment
- Red Hat Enterprise Linux Server 7.5 with High-Availability Add-on
- kernel-3.10.0-862.3.3.el7.x86_64
- pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
