Can I perform a pvmove on a clustered logical volume?

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux Server 7 (Resilient Storage Add Ons) all lvm2-cluster versions.
  • Red Hat Enterprise Linux Server 6 (Resilient Storage Add Ons) all lvm2-cluster versions.
  • Red Hat Enterprise Linux Server 5 (Resilient Storage Add Ons) lvm2-cluster version 2.02.40-7.el5 or higher.

Issue

  • Is pvmove on clustered volume supported?
  • How do I migrate data on a clustered physical volume to another lun?

Resolution

RHEL 7

Note: For specific details about how to activate 'cmirrord' in RHEL 7 check the following solution:

How can I activate cmirrord to carry out a pvmove in a RHEL 7 Resilient Storage cluster without having to restart my resources or applications?

RHEL 6

pvmove of clustered volumes is supported on all releases of RHEL 6 with the requirement that cmirror be installed and cmirrord service be started on all nodes.

# service cmirrord start
RHEL 5

pvmove of a clustered volume is supported In RHEL 5 if:

  • The following packages are installed:
    * lvm2-cluster version lvm2-cluster-2.02.40-7.el5 or higher
    • kmod-cmirror
    • cmirror
  • The cmirror daemon is started on all nodes

The components to support cmirror were released with RHEL 5 update 3.

The cmirror-kmod package that must be installed depends on the kernel that is running. For example, if the running kernel is kernel-largesmp, it is necessary to have cmirror-kmod-largesmp for the corresponding kernel version.

SBR
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.