Bug 467435

Summary: Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE
Product: Red Hat Enterprise Linux 5 Reporter: Milan Broz <mbroz>
Component: lvm2Assignee: Milan Broz <mbroz>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: agk, dwysocha, edamato, heinzm, jbrassow, mbroz, mjenner, prockai, pvrabec, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:46:45 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 Milan Broz 2008-10-17 13:59:52 UTC
The _vg_write_raw function has a bug in calculating offset in metadata buffer which can corrupt (in rare situations) volume group metadata.

For more info see original report:
https://www.redhat.com/archives/lvm-devel/2008-October/msg00012.html

Patch to fix this issue is already upstream.

Comment 5 Milan Broz 2008-10-24 12:31:18 UTC
Patch in
lvm2-2.02.40-6.el5.src.rpm
lvm2-cluster-2.02.40-6.el5.src.rpm

Comment 8 errata-xmlrpc 2009-01-20 21:46:45 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-0179.html