summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2012-02-23 13:11:07 +0000
committerPetr Rockai <prockai@redhat.com>2012-02-23 13:11:07 +0000
commitdae0822698327e81f467c3594141d70cdafca331 (patch)
tree673c87128df8e56be79703a799c83d12acbe5b19 /tools/pvremove.c
parent182d1f60d2fb1bbadef2974fa55278f553b04ed9 (diff)
downloadlvm2-dae0822698327e81f467c3594141d70cdafca331.tar.gz
lvm2-dae0822698327e81f467c3594141d70cdafca331.tar.xz
lvm2-dae0822698327e81f467c3594141d70cdafca331.zip
The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in
lvm.conf *and* lvmetad is running.
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);