Bug 289331
Summary: | RFE: switching from cluster domain to local domain needs to deactivate volume somehow | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
Status: | CLOSED WONTFIX | QA Contact: | Cluster QE <mspqa-list> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.5 | CC: | agk, dwysocha, heinzm, jbrassow, joe.thornber, mbroz, prajnoha, prockai |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-21 11:52:59 UTC | Type: | --- |
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
2007-09-13 14:12:29 UTC
Another problem that will happen as a result of switching domains is that, when you switch to the local domain, and then deactivate by hand that volume on the other nodes, you will be unable to activate it in the single node domain. [root@link-08 tmp]# vgs VG #PV #LV #SN Attr VSize VFree VolGroup00 1 2 0 wz--n- 74.41G 96.00M corey 8 1 0 wz--n- 2.11T 2.11T [root@link-08 tmp]# lvs corey/lv LV VG Attr LSize Origin Snap% Move Log Copy% lv corey -wi--- 1.00G [root@link-08 tmp]# vgchange -ay corey 0 logical volume(s) in volume group "corey" now active Once you're in this situation, there's no way that I know of to get that volume activated unless you recreate it. *** Bug 235123 has been marked as a duplicate of this bug. *** Fixed in lvm2-2.02.42-8.el4. Nothing in this bug has been fixed. Putting back into ASSIGNED. # Change from cluster to local [root@grant-01 ~]# vgs VG #PV #LV #SN Attr VSize VFree grant 6 1 0 wz--nc 238.39G 238.30G [root@grant-01 ~]# vgchange -cn grant Volume group "grant" successfully changed [root@grant-01 ~]# vgchange -an grant 0 logical volume(s) in volume group "grant" now active [root@grant-01 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices lv grant -wi--- 100.00M /dev/sdc1(0) # Remains active on other nodes [root@grant-02 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices lv grant -wi-a- 100.00M /dev/sdc1(0) # Deactivate by hand on other nodes [root@grant-02 ~]# vgchange -an grant 0 logical volume(s) in volume group "grant" now active # Still unable to Activate on original local node [root@grant-01 ~]# vgchange -ay grant 0 logical volume(s) in volume group "grant" now active The lvm2 4.9 packages contain check that clustered flag cannot be switched for mirrors and snapshots if active but not for linear/striped and automatic deactivation is not implemented upstream. After the discussion with Corey we decided that it is better close this WONTFIX for RHEL4 and track problem for new releases (despite that part of problem is fixed in errata - fix is simply not complete yet.) |