<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:26:20 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-2571] test: lfsck FAIL: lfsck returned 127, should be &lt;= 1</title>
                <link>https://jira.whamcloud.com/browse/LU-2571</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This test failed in both 2.3.0 client and 2.1.3 client.&lt;/p&gt;

&lt;p&gt;It failed because the test suite try to execute lfsck at the client, which does not have e2fsprogs rpm installed and caused &quot;command not found&quot; error: (see dmsg log of service331)&lt;br/&gt;
lfsck -c -l --mdsdb /var/acc-sm-shared/mdsdb --ostdb /var/acc-sm-shared/ostdb-0 /var/acc-sm-shared/ostdb-1 /mnt/nbp0-1&lt;br/&gt;
/usr/lib64/lustre/tests/test-framework.sh: line 3246: lfsck: command not found&lt;br/&gt;
 lfsck : @@@@@@ FAIL: lfsck -c -l --mdsdb /var/acc-sm-shared/mdsdb --ostdb  /var/acc-sm-shared/ostdb-0 /var/acc-sm-shared/ostdb-1 /mnt/nbp0-1 returned 127, should be &amp;lt;= 1&lt;/p&gt;

&lt;p&gt;The return code &apos;127&apos; is when command not found.&lt;/p&gt;

&lt;p&gt;If I allow the return code to be either &amp;lt;= 1 or equals to 127, the test suite would complete. I do not understand why the test suite that tries to execute lfsck on client. If e2fsprogs rpm is not required on clients, the test is flawed.&lt;/p&gt;

&lt;p&gt;Test_logs tarball is attached.&lt;/p&gt;</description>
                <environment>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Server: 2.1.3-1nasS, centos 6.3, 2.6.32_279.2.1.el6&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Client: 2.3.0-2nasC, sles11sp2, 3.0.42_0.7.3&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1 mds (S337), 2 oss (S361, S362), 2 clients (S331, S332)&lt;br/&gt;
</environment>
        <key id="17082">LU-2571</key>
            <summary>test: lfsck FAIL: lfsck returned 127, should be &lt;= 1</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="jaylan">Jay Lan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Jan 2013 21:08:09 +0000</created>
                <updated>Tue, 19 Mar 2013 05:49:55 +0000</updated>
                            <resolved>Tue, 19 Mar 2013 05:49:55 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.1.3</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="49924" author="pjones" created="Thu, 3 Jan 2013 21:45:05 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="49926" author="emoly.liu" created="Thu, 3 Jan 2013 22:40:04 +0000"  >&lt;p&gt;OK, I will have a look.&lt;/p&gt;</comment>
                            <comment id="50621" author="emoly.liu" created="Wed, 16 Jan 2013 21:22:34 +0000"  >&lt;p&gt;Usually we install e2fsprogs rpm on all the nodes by default and run lfsck on client. But, I agree that it&apos;s not necessary to have e2fsprogs rpm on clients.&lt;/p&gt;

&lt;p&gt;I have some ideas to fix this check:&lt;br/&gt;
1. only install lfsck on client, instead of the whole e2fsprogs rpm, and&lt;br/&gt;
2. let me check if we can run lfsck on server and then modify the test script.&lt;/p&gt;

&lt;p&gt;Andreas, do you have any advice?&lt;/p&gt;</comment>
                            <comment id="50687" author="adilger" created="Thu, 17 Jan 2013 12:29:45 +0000"  >&lt;p&gt;If the fikesystem is mounted on the MDS this would allow LFSCK lfsck to be run there. &lt;/p&gt;</comment>
                            <comment id="50882" author="emoly.liu" created="Mon, 21 Jan 2013 08:12:10 +0000"  >&lt;p&gt;Patch at &lt;a href=&quot;http://review.whamcloud.com/#change,5139&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,5139&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54160" author="jaylan" created="Fri, 15 Mar 2013 21:16:14 +0000"  >&lt;p&gt;If you guys feel no need to address this issue, I am OK you close this bug. I have changed my setup to always include /usr/sbin/lfsck in my environment.&lt;/p&gt;</comment>
                            <comment id="54196" author="emoly.liu" created="Sat, 16 Mar 2013 08:03:35 +0000"  >&lt;p&gt;Jay, the patch is ready for landing. Oleg, will we land it soon?&lt;/p&gt;</comment>
                            <comment id="54348" author="pjones" created="Tue, 19 Mar 2013 05:49:55 +0000"  >&lt;p&gt;Landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12138" name="lfsck-not-found.tgz" size="2135127" author="jaylan" created="Thu, 3 Jan 2013 21:08:09 +0000"/>
                    </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|hzvel3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6004</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>