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

Need a sanity check to ensure readable proc files are readable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Lustre 2.4.0
    • None
    • 5642

    Description

      Lustre proc has gotten a little out of whack (see LU-2358, LU-2359, LU-2360, LU-2263). It seems worthwhile to add something like the following to sanity:

      for dir in /proc/{fs/{lustre,ldiskfs},sys/{lustre,lnet}} ...; do
        if [ -d $dir ]; then
          find $dir -type f -readable -print -exec cat {} \; > /dev/null
        fi
      done
      

      It would be even better if the test failed when one of the reads returned an error. Of course before such a test can be landed the four issues listed above need to be addressed.

      Attachments

        Activity

          People

            emoly.liu Emoly Liu
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: