summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 5a8884c9..655214e0 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -128,6 +128,8 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
goto error;
}
+ lvmetad_pv_gone(dev->dev);
+
log_print("Labels on physical volume \"%s\" successfully wiped",
pv_name);