Bug 822248
Summary: | VG containing raid volume should not be allowed to be converted to a clustered VG | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | agk, dwysocha, heinzm, jbrassow, msnitzer, nperic, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.98-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
RAID logical volumes can become corrupted if they are activated in a clustered volume group. Thus, if there are RAID logical volumes in a volume group, that volume group is no longer allowed to be changed to a clustered volume group.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:10:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2012-05-16 19:49:53 UTC
Unit test (VG cannot change to cluster when there is an active or inactive RAID LV present): [root@hayes-02 lvm2]# lvcreate --type raid1 -L 100M -n lv vg Logical volume "lv" created [root@hayes-02 lvm2]# vgchange -cy vg RAID logical volumes are not allowed in a cluster volume group. [root@hayes-02 lvm2]# vgs VG #PV #LV #SN Attr VSize VFree vg 8 1 0 wz--n- 5.07t 5.07t vg_hayes02 1 3 0 wz--n- 74.01g 0 [root@hayes-02 lvm2]# vgchange -an vg 0 logical volume(s) in volume group "vg" now active [root@hayes-02 lvm2]# vgchange -cy vg RAID logical volumes are not allowed in a cluster volume group. [root@hayes-02 lvm2]# vgs VG #PV #LV #SN Attr VSize VFree vg 8 1 0 wz--n- 5.07t 5.07t vg_hayes02 1 3 0 wz--n- 74.01g 0 commit 9efd3fb604ae34803bb2d4c94080c57d3efdba81 Author: Jonathan Brassow <jbrassow> Date: Wed Oct 3 15:52:54 2012 -0500 RAID: Do not allow RAID LVs in a cluster volume group. It would be possible to activate a RAID LV exclusively in a cluster volume group, but for now we do not allow RAID LVs to exist in a clustered volume group at all. This has two components: 1) Do not allow RAID LVs to be created in a clustered VG 2) Do not allow changing a VG from single-machine to clustered if there are RAID LVs present. Verified normal behavior with: lvm2-2.02.98-2.el6.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0501.html |