mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Also clean up MISSING devices in --removemissing --force in vgreduce.
This commit is contained in:
parent
207542b40e
commit
3dfeaca59b
@ -224,7 +224,7 @@ static int _make_vg_consistent(struct cmd_context *cmd, struct volume_group *vg)
|
||||
*/
|
||||
dm_list_iterate_safe(pvh, pvht, &vg->pvs) {
|
||||
pvl = dm_list_item(pvh, struct pv_list);
|
||||
if (pvl->pv->dev)
|
||||
if (pvl->pv->dev && !(pvl->pv->status & MISSING_PV))
|
||||
continue;
|
||||
if (!_remove_pv(vg, pvl, 0))
|
||||
return_0;
|
||||
|
Loading…
Reference in New Issue
Block a user