1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Improve pvcreate/remove device not found error message.

This commit is contained in:
Alasdair Kergon 2004-09-14 14:54:58 +00:00
parent 00b47204e0
commit b9ade4bc21
3 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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;
}

View File

@ -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;
}