Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18418

add "lctl find_param" option to search for a parameter name

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.17.0
    • 3
    • 9223372036854775807

    Description

      Often it happens that I know a specific parameter name exists, but I don't know the exact parameter name, like "brw_stats" is at "osd-ldiskfs.*.brw_stats" but it used to be at "obdfilter.*.brw_stats", while "brw_size" is still at "obdfilter.*.brw_size".

      It would be useful to have an option like "lctl find_param PARAM" that is similar to "lctl list_param -R '*' | grep PARAM" to at least list the parameter names, or possibly also printing the value of these parameters by default, while allowing "-n" and "-N" arguments to to print only the pameter name or value, as needed. It should also be possible to use "--path|-p" to print the actual pathname instead of the formatted parameter name.

      Attachments

        Issue Links

          Activity

            People

              fdilger Fred Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: