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

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

XMLWordPrintable

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

      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
      

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

              Created:
              Updated:
              Resolved: