Bug 662729

Summary: vgreduce --removemissing --force refactor
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: 2011-05-09 19:03:53 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 17:50:17 UTC
The current code behind vgreduce --removemissing --force is buggy and is duplicating existing functionality from other parts of LVM. Initially, it should:
- remove any partial, non-mirror LVs (lv_remove_with_dependencies)
- if there are any partial LVs left, error out and tell the user to use lvconvert --repair or similar

I will file a followup bug for mirror LVs.

Comment 1 Petr Rockai 2011-03-20 23:42:59 UTC
Patches are awaiting review (covering both mirror and non-mirror LVs).

Comment 2 Petr Rockai 2011-05-09 19:03:53 UTC
Checked in upstream.