Bug 662729 - vgreduce --removemissing --force refactor
Summary: vgreduce --removemissing --force refactor
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Petr Rockai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-13 17:50 UTC by Petr Rockai
Modified: 2011-05-09 19:03 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-09 19:03:53 UTC
Type: ---


Attachments (Terms of Use)

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.


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