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

Some lctl *_param values only readable by root

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • Lustre 2.12.0
    • 3
    • 9223372036854775807

    Description

      Some lustre stats that used to be in /proc now reside in debugfs.  This seems all for the better, but it looks like the lctl [get|set|list]_param commands were not updated to look for the values in the new location.  Since the lctl *_param functions are meant to make these kinds of moves transparent to users, we think it is important to have lctl look in debugfs as well.

      For example, in going from 2.10 to 2.12, we noticed that 'llite.*.stats' seem to have disappeared (but really are just hiding in debugfs):

      $ lctl get_param 'llite.*.stats'
      error: get_param: param_path 'llite/*/stats': No such file or directory
      

      Attachments

        Issue Links

          Activity

            People

              pfarrell Patrick Farrell (Inactive)
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: