mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
lvmcache: change log_verbose to log_warn
Without this, some cases miss printing a warning for duplicate PVs.
This commit is contained in:
parent
d30105f471
commit
4103896ca0
6
lib/cache/lvmcache.c
vendored
6
lib/cache/lvmcache.c
vendored
@ -1784,9 +1784,9 @@ struct lvmcache_info *lvmcache_add(struct labeller *labeller, const char *pvid,
|
|||||||
* been chosen during a previous populating of
|
* been chosen during a previous populating of
|
||||||
* lvmcache, so just use the existing preferences.
|
* lvmcache, so just use the existing preferences.
|
||||||
*/
|
*/
|
||||||
log_verbose("Found duplicate PV %s: using existing dev %s",
|
log_warn("Found duplicate PV %s: using existing dev %s",
|
||||||
pvid_s,
|
pvid_s,
|
||||||
dev_name(existing->dev));
|
dev_name(existing->dev));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user