diff --git a/tools/vgimport.c b/tools/vgimport.c index 84b76bd8d..d94b11314 100644 --- a/tools/vgimport.c +++ b/tools/vgimport.c @@ -14,6 +14,7 @@ */ #include "tools.h" +#include "lib/label/hints.h" static int _vgimport_single(struct cmd_context *cmd, const char *vg_name, @@ -48,6 +49,13 @@ static int _vgimport_single(struct cmd_context *cmd, log_print_unless_silent("Volume group \"%s\" successfully imported", vg->name); + /* + * This is not necessary for any normal, known cases, but it could be + * associated with some unconventional method of sharing disks. Hints + * should be disabled when sharing disks, but this might help. + */ + invalidate_hints(cmd); + return ECMD_PROCESSED; bad: