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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.13.0, Lustre 2.12.3
    • Labels:
      None
    • Environment:
      Lustre client distro: RHEL 8.0
    • Severity:
      3
    • Rank (Obsolete):
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: