Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • 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

          [LU-7131] new options for tunefs.lustre
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.10.0 [ 12204 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          emoly.liu Emoly Liu made changes -
          Link New: This issue is related to SEA-139 [ SEA-139 ]
          pjones Peter Jones made changes -
          Assignee Original: WC Triage [ wc-triage ] New: Emoly Liu [ emoly.liu ]
          pjones Peter Jones made changes -
          Link New: This issue is related to SEA-67 [ SEA-67 ]
          pjones Peter Jones made changes -
          Labels New: patch
          parinay parinay v kondekar (Inactive) created issue -

          People

            emoly.liu Emoly Liu
            parinay parinay v kondekar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: