Bug 662669

Summary: vg_validate needs to catch broken internal LVs
Product: [Fedora] Fedora Reporter: Petr Rockai <prockai>
Component: lvm2Assignee: Petr Rockai <prockai>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, mbroz, msnitzer, prajnoha, prockai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-14 17:08:50 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 Petr Rockai 2010-12-13 15:03:25 UTC
This comes from 643538: we need to improve vg_validate to catch the situation arising in that bug, since the resulting metadata is corrupt. Basically, this amounts to checking that pvmove LVs are actually mirrors. In the bug, the pvmove LV becomes an "error" segment.

Comment 1 Petr Rockai 2010-12-13 17:45:30 UTC
(It may also make sense to make sure they are 2 way mirrors.)

Comment 2 Petr Rockai 2010-12-14 17:08:50 UTC
The code for this has been reviewed and checked upstream. Closing.