summaryrefslogtreecommitdiff
path: root/tools/toollib.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/toollib.c')
-rw-r--r--tools/toollib.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index 9e866d6f4..bfe9726f9 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -3457,6 +3457,13 @@ skip_missed:
ret_max = ECMD_FAILED;
}
+ if (process_all_pvs) {
+ dm_list_iterate_items(dil, &all_devices) {
+ if (dil->dev->vg_dlid[0])
+ log_warn("WARNING: No PV found for device %s which is in use.", dev_name(dil->dev));
+ }
+ }
+
if (!process_all_devices)
goto out;