pvmove in cluster with HA-LVM(clvmd) fails with "Error locking on node node2: Volume is busy on another node"
Issue
pvmove is failing with following message in a cluster:
# pvmove /dev/mapper/src_pv /dev/mapper/dst_pv
Error locking on node node1: Device or resource busy
Error locking on node node2: Volume is busy on another node
Failed to activate lv_test1
Environment
- Red Hat Enterprise Linux (RHEL) 5, 6, 7 with the Resilient Storage Add On
- HA-LVM with
clvmdlocking_type = 3in/etc/lvm/lvm.conf- One or more volume groups with the clustered attribute set and managed by an
<lvm>resource in/etc/cluster/cluster.confor byLVMresource agent in pacemaker
- Attempting to use
pvmoveon said volume group with exclusively activated LVs
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.
