summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WHATS_NEW1
-rw-r--r--tools/pvcreate.c3
-rw-r--r--tools/pvremove.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 7972913d..147b7cf2 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.00.23 -
====================================
+ Improve pvcreate/remove device not found error message.
Allow pvmove to move data within the same PV.
Describe how pvmove works on man page.
Test for incompatible format/segtype combinations in lv_extend.
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 162faaed..96c47a54 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -149,7 +149,8 @@ static int pvcreate_single(struct cmd_context *cmd, const char *pv_name,
DEFAULT_PVMETADATACOPIES);
if (!(dev = dev_cache_get(pv_name, cmd->filter))) {
- log_error("%s: Couldn't find device.", pv_name);
+ log_error("%s: Couldn't find device. Check your filters?",
+ pv_name);
goto error;
}
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 4ca85503..fa1d99da 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -81,7 +81,8 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
goto error;
if (!(dev = dev_cache_get(pv_name, cmd->filter))) {
- log_error("%s: Couldn't find device.", pv_name);
+ log_error("%s: Couldn't find device. Check your filters?",
+ pv_name);
goto error;
}