<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:52:13 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-12396] lfs df output is treated as binary data on RHEL 8.0 client</title>
                <link>https://jira.whamcloud.com/browse/LU-12396</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On RHEL 8.0 client, the output of &quot;lfs df&quot; is treated as binary data:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lfs df | grep summary
Binary file (standard input) matches
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The above issue caused many tests failed.&lt;/p&gt;

&lt;p&gt;In Lustre test scripts, we can use &quot;grep -a&quot; to resolve the issue:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;-a, --text
              Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# lfs df | grep -a summary
filesystem_summary:     13528032       76072    12685192   1% /mnt/lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Lustre client distro: RHEL 8.0</environment>
        <key id="55868">LU-12396</key>
            <summary>lfs df output is treated as binary data on RHEL 8.0 client</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Jun 2019 06:24:52 +0000</created>
                <updated>Tue, 26 Nov 2019 16:20:37 +0000</updated>
                            <resolved>Mon, 17 Jun 2019 00:29:35 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="248594" author="adilger" created="Thu, 6 Jun 2019 21:42:28 +0000"  >&lt;p&gt;Jian, can you please attach the output from &quot;&lt;tt&gt;lfs df | od -Ax -a -tx1&lt;/tt&gt;&quot; so we can see if there are any non-ASCII characters in the output.  The only non-printable character should be &quot;&lt;tt&gt;0a&lt;/tt&gt;&quot; (&quot;&lt;tt&gt;\n&lt;/tt&gt;&quot;).&lt;/p&gt;</comment>
                            <comment id="248616" author="yujian" created="Fri, 7 Jun 2019 03:19:51 +0000"  >&lt;p&gt;Sure, Andreas. Here is the output:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[root@vm8 tests]# lfs df | od -Ax -a -tx1
000000   U   U   I   D  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
        55  55  49  44  20  20  20  20  20  20  20  20  20  20  20  20
000010  sp  sp  sp  sp  sp  sp  sp   1   K   -   b   l   o   c   k   s
        20  20  20  20  20  20  20  31  4b  2d  62  6c  6f  63  6b  73
000020  sp  sp  sp  sp  sp  sp  sp  sp   U   s   e   d  sp  sp  sp   A
        20  20  20  20  20  20  20  20  55  73  65  64  20  20  20  41
000030   v   a   i   l   a   b   l   e  sp   U   s   e   %  sp   M   o
        76  61  69  6c  61  62  6c  65  20  55  73  65  25  20  4d  6f
000040   u   n   t   e   d  sp   o   n  nl   l   u   s   t   r   e   -
        75  6e  74  65  64  20  6f  6e  0a  6c  75  73  74  72  65  2d
000050   M   D   T   0   0   0   0   _   U   U   I   D  sp  sp  sp  sp
        4d  44  54  30  30  30  30  5f  55  55  49  44  20  20  20  20
000060  sp  sp   1   1   6   5   9   0   0  sp  sp  sp  sp  sp  sp  sp
        20  20  31  31  36  35  39  30  30  20  20  20  20  20  20  20
000070  sp   7   5   9   6  sp  sp  sp  sp  sp   1   0   5   5   1   0
        20  37  35  39  36  20  20  20  20  20  31  30  35  35  31  30
000080   8  sp  sp  sp   1   %  sp   /   m   n   t   /   l   u   s   t
        38  20  20  20  31  25  20  2f  6d  6e  74  2f  6c  75  73  74
000090   r   e   [   M   D   T   :   0   ]  sp nul  nl   l   u   s   t
        72  65  5b  4d  44  54  3a  30  5d  20  00  0a  6c  75  73  74
0000a0   r   e   -   O   S   T   0   0   0   0   _   U   U   I   D  sp
        72  65  2d  4f  53  54  30  30  30  30  5f  55  55  49  44  20
0000b0  sp  sp  sp  sp  sp   6   7   6   4   0   1   6  sp  sp  sp  sp
        20  20  20  20  20  36  37  36  34  30  31  36  20  20  20  20
0000c0  sp  sp  sp   3   8   0   3   6  sp  sp  sp  sp  sp   6   3   4
        20  20  20  33  38  30  33  36  20  20  20  20  20  36  33  34
0000d0   2   5   9   6  sp  sp  sp   1   %  sp   /   m   n   t   /   l
        32  35  39  36  20  20  20  31  25  20  2f  6d  6e  74  2f  6c
0000e0   u   s   t   r   e   [   O   S   T   :   0   ]  sp nul  nl   l
        75  73  74  72  65  5b  4f  53  54  3a  30  5d  20  00  0a  6c
0000f0   u   s   t   r   e   -   O   S   T   0   0   0   1   _   U   U
        75  73  74  72  65  2d  4f  53  54  30  30  30  31  5f  55  55
000100   I   D  sp  sp  sp  sp  sp  sp   6   7   6   4   0   1   6  sp
        49  44  20  20  20  20  20  20  36  37  36  34  30  31  36  20
000110  sp  sp  sp  sp  sp  sp   3   8   0   3   6  sp  sp  sp  sp  sp
        20  20  20  20  20  20  33  38  30  33  36  20  20  20  20  20
000120   6   3   4   2   5   9   6  sp  sp  sp   1   %  sp   /   m   n
        36  33  34  32  35  39  36  20  20  20  31  25  20  2f  6d  6e
000130   t   /   l   u   s   t   r   e   [   O   S   T   :   1   ]  sp
        74  2f  6c  75  73  74  72  65  5b  4f  53  54  3a  31  5d  20
000140 nul  nl  nl   f   i   l   e   s   y   s   t   e   m   _   s   u
        00  0a  0a  66  69  6c  65  73  79  73  74  65  6d  5f  73  75
000150   m   m   a   r   y   :  sp  sp  sp  sp  sp   1   3   5   2   8
        6d  6d  61  72  79  3a  20  20  20  20  20  31  33  35  32  38
000160   0   3   2  sp  sp  sp  sp  sp  sp  sp   7   6   0   7   2  sp
        30  33  32  20  20  20  20  20  20  20  37  36  30  37  32  20
000170  sp  sp  sp   1   2   6   8   5   1   9   2  sp  sp  sp   1   %
        20  20  20  31  32  36  38  35  31  39  32  20  20  20  31  25
000180  sp   /   m   n   t   /   l   u   s   t   r   e  nl  nl
        20  2f  6d  6e  74  2f  6c  75  73  74  72  65  0a  0a
00018e
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There are 7 &quot;0a&quot;.&lt;/p&gt;</comment>
                            <comment id="248773" author="adilger" created="Sat, 8 Jun 2019 01:10:14 +0000"  >&lt;p&gt;There appears to be a NUL character in the output:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;000130   t   /   l   u   s   t   r   e   [   O   S   T   :   1   ]  sp
        74  2f  6c  75  73  74  72  65  5b  4f  53  54  3a  31  5d  20
000140 nul  nl  nl   f   i   l   e   s   y   s   t   e   m   _   s   u
        00  0a  0a  66  69  6c  65  73  79  73  74  65  6d  5f  73  75
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="248853" author="gerrit" created="Mon, 10 Jun 2019 04:51:54 +0000"  >&lt;p&gt;Yang Sheng (ys@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35137&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35137&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12396&quot; title=&quot;lfs df output is treated as binary data on RHEL 8.0 client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12396&quot;&gt;&lt;del&gt;LU-12396&lt;/del&gt;&lt;/a&gt; utils: lfs should not output &apos;nul&apos; char&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fdfbeeec670e60282300cd591baa4311fe4b885c&lt;/p&gt;</comment>
                            <comment id="249336" author="gerrit" created="Sun, 16 Jun 2019 03:30:05 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35137/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35137/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12396&quot; title=&quot;lfs df output is treated as binary data on RHEL 8.0 client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12396&quot;&gt;&lt;del&gt;LU-12396&lt;/del&gt;&lt;/a&gt; utils: lfs should not output &apos;nul&apos; char&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f232d906f755c3ea823c5cf17b7729a6a3bd8fe5&lt;/p&gt;</comment>
                            <comment id="249360" author="adilger" created="Mon, 17 Jun 2019 00:15:31 +0000"  >&lt;p&gt;The b2_12 backport of this patch was merged into &lt;a href=&quot;https://review.whamcloud.com/35226&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35226&lt;/a&gt; so that it does not fail testing.&lt;/p&gt;</comment>
                            <comment id="249364" author="pjones" created="Mon, 17 Jun 2019 03:22:27 +0000"  >&lt;p&gt;The patch containing the fix is still in flight ATM - let&apos;s hold off marking the fix version until it has landed to b2_12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="55582">LU-12269</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54868">LU-11963</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00hpb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>