diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 71aee7fb7..f2ec5d99c 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -6856,10 +6856,12 @@ int lv_resize(struct cmd_context *cmd, struct logical_volume *lv, is_active = lv_is_active(lv_top); if (is_reduce && !is_active && !strcmp(lp->fsopt, "checksize")) { + lv_top->status |= LV_TEMPORARY; if (!activate_lv(cmd, lv_top)) { log_error("Failed to activate %s to check for fs.", display_lvname(lv_top)); goto out; } + lv_top->status &= ~LV_TEMPORARY; if (!sync_local_dev_names(cmd)) stack; activated_checksize = 1;