Bug 488728 - Backup of lvm metadata on remote nodes doesn't work
Summary: Backup of lvm metadata on remote nodes doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2-cluster
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Milan Broz
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-05 14:22 UTC by Milan Broz
Modified: 2013-03-01 04:07 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 11:57:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed (not final) patch... (6.96 KB, patch)
2009-03-05 14:25 UTC, Milan Broz
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1394 0 normal SHIPPED_LIVE lvm2-cluster bug-fix and enhancement update 2009-09-01 12:00:40 UTC

Description Milan Broz 2009-03-05 14:22:54 UTC
Clvmd should try to backup metadata on unlocg_vg event.

Currently the remote metadata backup doesn't work,
because we added
	if (clvmd_cmd == CLVMD_CMD_LOCK_VG &&
	   ((flags & LCK_TYPE_MASK) == LCK_UNLOCK) &&
           (flags & LCK_CLUSTER_VG)) {
		... call the remote backup command

LCK_CLUSTER_VG is never set during LCK_UNLOCK,
unlock_vg() takes only vgname as argument and cannot
distinguish if vg is clustered, leaving flag unset
(that flag is set only if locking LV).

Comment 1 Milan Broz 2009-03-05 14:25:20 UTC
Created attachment 334131 [details]
Proposed (not final) patch...

Proposed (not final) patch...

Comment 3 Milan Broz 2009-04-22 10:28:22 UTC
fixed upstream -> POST

Comment 4 Milan Broz 2009-05-21 09:24:22 UTC
Fix in version lvm2-cluster-2.02.46-1.el5.

Comment 7 errata-xmlrpc 2009-09-02 11:57:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1394.html


Note You need to log in before you can comment on or make changes to this bug.