summaryrefslogtreecommitdiff
path: root/test/shell/mirror-vgreduce-removemissing.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/shell/mirror-vgreduce-removemissing.sh')
-rw-r--r--test/shell/mirror-vgreduce-removemissing.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/shell/mirror-vgreduce-removemissing.sh b/test/shell/mirror-vgreduce-removemissing.sh
index d95a0ac7b..08275c2bd 100644
--- a/test/shell/mirror-vgreduce-removemissing.sh
+++ b/test/shell/mirror-vgreduce-removemissing.sh
@@ -123,6 +123,8 @@ check_and_cleanup_lvs_()
recover_vg_()
{
aux enable_dev "$@"
+ # clear outdated metadata on PVs so they can be used again
+ vgck --updatemetadata $vg
pvcreate -ff "$@"
vgextend $vg "$@"
check_and_cleanup_lvs_