Do lvm2 and lvm2-cluster need to be the same version in RHEL 5, 6, or 7 Resilient Storage clusters?

Solution Verified - Updated -

Issue

  • Do lvm2 and lvm2-cluster need to be the same version in RHEL clusters?
  • Which Channel provides access to lvm2-cluster package for Red Hat Enterprise Linux Server?
  • LVM commands print a string of Cluster request failed: Invalid argument messages on a cluster node.
  • We are not able to start a cluster service containing an lvm resource on any of the nodes From logs it looks like it cannot activate the logical volume, but I'm able to do this manually.
  • Installing 'lvm2-cluster' package in Red Hat Enterprise Linux 5.4 fails with the following dependency errors:
$ yum install lvm2-cluster-2.02.40-7.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
Setting up Install Process
Examining lvm2-cluster-2.02.40-7.el5.x86_64.rpm: lvm2-cluster-2.02.40-7.el5.x86_64
Marking lvm2-cluster-2.02.40-7.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
--> Package lvm2-cluster.x86_64 0:2.02.40-7.el5 set to be updated
--> Processing Conflict: lvm2 conflicts lvm2-cluster < 2.02.56
--> Finished Dependency Resolution
lvm2-2.02.56-8.el5_5.6.x86_64 from installed has depsolving problems
--> lvm2 conflicts with lvm2-cluster
Error: lvm2 conflicts with lvm2-cluster
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                       package-cleanup --dupes
                       rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
  • Attempting to activate a clustered logical volume exclusively fails:
# lvchange -aey clust/lv1 
  Command failed with status code 5.
  • We updated a cluster node and afterwards it could not start a service with lvm resources:
  Jun 18 11:12:36 rgmanager [lvm] Failed to activate logical volume, myvg/lv01
  Jun 18 11:12:37 rgmanager [lvm] Attempting cleanup of myvg/lv01
  Jun 18 11:12:37 rgmanager 5 events processed
  Jun 18 11:12:40 rgmanager [lvm] Failed second attempt to activate myvg/lv01
  Jun 18 11:12:40 rgmanager start on lvm "lvm-myvg" returned 1 (generic error)

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, or 7 with the Resilient Storage Add On
  • lvm2-cluster

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