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

lvreduce: change error message about --fs options

This commit is contained in:
David Teigland 2022-10-12 10:05:14 -05:00
parent 4f4554164b
commit 04097d9f62

View File

@ -6874,7 +6874,7 @@ int lv_resize(struct cmd_context *cmd, struct logical_volume *lv,
if (is_reduce && !is_active && !strcmp(lp->fsopt, "checksize")) {
if (!lp->user_set_fs) {
log_error("The LV must be active to safely reduce, or use --fs checksize.");
log_error("The LV must be active to safely reduce (see --fs options.)");
goto out;
}
lv_top->status |= LV_TEMPORARY;