Can I perform a pvmove on a clustered logical volume?
Environment
- Red Hat Enterprise Linux Server 7 (Resilient Storage Add Ons) all
lvm2-clusterversions. - Red Hat Enterprise Linux Server 6 (Resilient Storage Add Ons) all
lvm2-clusterversions. - Red Hat Enterprise Linux Server 5 (Resilient Storage Add Ons)
lvm2-clusterversion 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:
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-clusterversion lvm2-cluster-2.02.40-7.el5 or higherkmod-cmirrorcmirror
- The
cmirrordaemon 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.
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.