Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.8.0
-
3
-
9223372036854775807
Description
Sometimes it requires to modify lustre parameters in a batch job, for example High Speed Network (HSN) (re)configuration requires to change MGS and failover NIDs, and AD support adds/replaces mdt.identity_upcall option.
Currently the only option is to read all options already applied to a target, modify this list externally, then write them back with --erase-params flag. It's fine to do that for a single target update, but mass updates require non-trivial workarounds.
I propose to add the following option to tunefs.lustre:
--replace-param - it will replace or add parameters given in the command line, keeping the rest of them unchanged The other useful option may be "--erase-param", with removes parameter that follows from the target. --param ... - adds a parameter, possibly leaving multiple copies (may have "--add-param" alias) --replace-param ... sets parameter, removing all previous values --erase-param ... - removes parameter, keeping the rest --replace-param p=v1 --param p=v2 should lead to two values saved.
Attachments
Activity
Fix Version/s | New: Lustre 2.10.0 [ 12204 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Link | New: This issue is related to SEA-139 [ SEA-139 ] |
Assignee | Original: WC Triage [ wc-triage ] | New: Emoly Liu [ emoly.liu ] |
Link | New: This issue is related to SEA-67 [ SEA-67 ] |
Labels | New: patch |