summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vgreduce.c')
-rw-r--r--tools/vgreduce.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/vgreduce.c b/tools/vgreduce.c
index b3b6dba4..f22363ed 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -510,8 +510,10 @@ int vgreduce(struct cmd_context *cmd, int argc, char **argv)
log_verbose("Finding volume group \"%s\"", vg_name);
- if (repairing)
+ if (repairing) {
init_ignore_suspended_devices(1);
+ cmd->handles_missing_pvs = 1;
+ }
vg = vg_read_for_update(cmd, vg_name, NULL, READ_ALLOW_EXPORTED);
if (vg_read_error(vg) == FAILED_ALLOCATION ||