mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmpolld: by default spawn lvpoll cmd with -An
This commit is contained in:
parent
5cfd7074af
commit
d758115786
@ -86,6 +86,10 @@ const char **cmdargv_ctr(const struct lvmpolld_lv *pdlv, const char *lvm_binary,
|
|||||||
if (!add_to_cmd_arr(&cmd_argv, pdlv->lvname, &i))
|
if (!add_to_cmd_arr(&cmd_argv, pdlv->lvname, &i))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
|
/* disable metadata backup */
|
||||||
|
if (!add_to_cmd_arr(&cmd_argv, "-An", &i))
|
||||||
|
goto err;
|
||||||
|
|
||||||
/* terminating NULL */
|
/* terminating NULL */
|
||||||
if (!add_to_cmd_arr(&cmd_argv, NULL, &i))
|
if (!add_to_cmd_arr(&cmd_argv, NULL, &i))
|
||||||
goto err;
|
goto err;
|
||||||
|
@ -886,6 +886,7 @@ xx(lvpoll,
|
|||||||
"\t[--abort]\n"
|
"\t[--abort]\n"
|
||||||
"\t[--handlemissingpvs]\n"
|
"\t[--handlemissingpvs]\n"
|
||||||
"\t[--polloperation\n"
|
"\t[--polloperation\n"
|
||||||
|
"\t[-A|--autobackup {y|n}]\n"
|
||||||
"\t[-d|--debug]\n "
|
"\t[-d|--debug]\n "
|
||||||
"\t[-h|-?|--help]\n"
|
"\t[-h|-?|--help]\n"
|
||||||
"\t[-i|--interval seconds]\n"
|
"\t[-i|--interval seconds]\n"
|
||||||
@ -893,7 +894,7 @@ xx(lvpoll,
|
|||||||
"\t[-v|--verbose]\n "
|
"\t[-v|--verbose]\n "
|
||||||
"\t[--version]\n",
|
"\t[--version]\n",
|
||||||
|
|
||||||
abort_ARG, handlemissingpvs_ARG, interval_ARG, polloperation_ARG,
|
abort_ARG, autobackup_ARG, handlemissingpvs_ARG, interval_ARG, polloperation_ARG,
|
||||||
test_ARG)
|
test_ARG)
|
||||||
|
|
||||||
xx(pvremove,
|
xx(pvremove,
|
||||||
|
Loading…
Reference in New Issue
Block a user