Skip to content
Snippets Groups Projects

Limit the number of repack sub-requests that can be expanded at the same moment - improved 'help'

+ 22
18
@@ -394,24 +394,28 @@ const std::map<AdminCmd::Cmd, CmdHelp> cmdHelp = {
{ AdminCmd::CMD_MEDIATYPE, { "mediatype", "mt", { "add", "ch", "rm", "ls" } }},
{ AdminCmd::CMD_MOUNTPOLICY, { "mountpolicy", "mp", { "add", "ch", "rm", "ls" } }},
{ AdminCmd::CMD_REPACK, { "repack", "re", { "add", "rm", "ls", "err" },
"\n Submit a repack request by using the \"add\" subcommand :\n"
" * Specify the vid (--vid option) or all the vids to repack by giving a file path to the --vidfile\n"
" option.\n"
" * Specify the mount policy (--mountpolicy parameter) to give a specific mount policy that will be\n"
" applied to the repack subrequests (retrieve and archive requests).\n"
" * If the --bufferURL option is set, it will overwrite the default one. It should respect the\n"
" following format: root://eosinstance//path/to/repack/buffer.\n"
" The default bufferURL is set in the CTA frontend configuration file.\n"
" * If the --justmove option is set, the files located on the tape to repack will be migrated on\n"
" one or multiple tapes.\n"
" * If the --justaddcopies option is set, new (or missing) copies (as defined by the storage class)\n"
" of the files located on the tape to repack will be created and migrated.\n"
" By default, CTA will migrate AND add new (or missing) copies (as defined by the storage class)\n"
" of the files located on the tape to repack.\n"
" By default, a hardcoded mount policy is applied (all request priorities and minimum request\n"
" ages = 1).\n"
" * If the --no-recall flag is set, no retrieve mount will be triggered. Only the files that are\n"
" located in the buffer will be considered for archival.\n\n"
"\n Submit a repack request by using the \"add\" subcommand :\n"
" * Specify the vid (--vid option) or all the vids to repack by giving a file path to the --vidfile\n"
" option.\n"
" * Specify the mount policy (--mountpolicy parameter) to give a specific mount policy that will be\n"
" applied to the repack subrequests (retrieve and archive requests).\n"
" * If the --bufferURL option is set, it will overwrite the default one. It should respect the\n"
" following format: root://eosinstance//path/to/repack/buffer.\n"
" The default bufferURL is set in the CTA frontend configuration file.\n"
" * If the option (--maxfilestoselect value) is set, the number of files to be selected for repack will\n"
" be limited to this value. If not, it will use the default value configured in the CTA frontend.\n"
" Set the value as zero to force all files to be selected.\n"
" A flag '*' in a 'repack ls' row means that not all files were selected for repack.\n"
" * If the --justmove option is set, the files located on the tape to repack will be migrated on\n"
" one or multiple tapes.\n"
" * If the --justaddcopies option is set, new (or missing) copies (as defined by the storage class)\n"
" of the files located on the tape to repack will be created and migrated.\n"
" By default, CTA will migrate AND add new (or missing) copies (as defined by the storage class)\n"
" of the files located on the tape to repack.\n"
" By default, a hardcoded mount policy is applied (all request priorities and minimum request\n"
" ages = 1).\n"
" * If the --no-recall flag is set, no retrieve mount will be triggered. Only the files that are\n"
" located in the buffer will be considered for archival.\n\n"
}},
{ AdminCmd::CMD_REQUESTERMOUNTRULE, { "requestermountrule", "rmr", { "add", "ch", "rm", "ls" } }},
{ AdminCmd::CMD_ACTIVITYMOUNTRULE, { "activitymountrule", "amr", { "add", "ch", "rm", "ls" } }},
Loading