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

lfs df output is treated as binary data on RHEL 8.0 client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.3
    • None
    • None
    • Lustre client distro: RHEL 8.0
    • 3
    • 9223372036854775807

    Description

      On RHEL 8.0 client, the output of "lfs df" is treated as binary data:

      # lfs df | grep summary
      Binary file (standard input) matches
      

      The above issue caused many tests failed.

      In Lustre test scripts, we can use "grep -a" to resolve the issue:

      -a, --text
                    Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
      
      # lfs df | grep -a summary
      filesystem_summary:     13528032       76072    12685192   1% /mnt/lustre
      

      Attachments

        Issue Links

          Activity

            People

              ys Yang Sheng
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: