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

"lctl get_param --dshbak" does not print actual parameter name.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • Lustre 2.17.0
    • None
    • 3
    • 9223372036854775807

    Description

      The "lctl get_param --dahbak" command will highlight if parameters report different results. However, it doesn't print the actual parameter name that is different, only "*" for the merged parameter names:

          lustre-head# lctl set_param osc.myth-OST0004-osc-ffff9a4dc70f5800.max_pages_per_rpc=256
          osc.myth-OST0004-osc-ffff9a4dc70f5800.max_pages_per_rpc=256
          lustre-head# lctl get_param -b osc.*.max_pages_per_rpc
          osc.myth-OST*-osc-ffff9a4dc70f5800.max_pages_per_rpc=1024
          osc.myth-OST*-osc-ffff9a4dc70f5800.max_pages_per_rpc=256
       

      it should have printed the second line with the actual "OST0004" in the device name instead of "*" to make it clear which device is not like the others. Ideally, it would print the minority device(s) in red, rather than the second one, but I don't know how hard that is to implement.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: