<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:42:21 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-4397] Permanently disabled OST causes clients to hang on df (statfs)</title>
                <link>https://jira.whamcloud.com/browse/LU-4397</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A no longer existing OST has been permanently disabled on the MGS using&lt;/p&gt;

&lt;p&gt;lctl conf_param vegas-OST0059.osc.active=0&lt;/p&gt;

&lt;p&gt;After this, clients hang on df (after lustre is remounted the next time). strace shows it hanging on a statfs call.&lt;/p&gt;

&lt;p&gt;Tried with the lustre mount option lazystatfs (undocumented?) which is supposed to work around this issue, but it did not help with lustre 2.4.1, clients still hang on df. This is the standard df, lfs df seems to work OK.&lt;/p&gt;</description>
                <environment>RHEL6 2.6.32-358.18.1.el6.x86_64</environment>
        <key id="22516">LU-4397</key>
            <summary>Permanently disabled OST causes clients to hang on df (statfs)</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="wc-triage">WC Triage</assignee>
                                    <reporter username="wbaudler">Wolfgang Baudler</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Dec 2013 15:26:17 +0000</created>
                <updated>Fri, 1 Dec 2017 02:17:37 +0000</updated>
                            <resolved>Tue, 20 May 2014 13:51:17 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="73979" author="adilger" created="Sat, 21 Dec 2013 01:16:43 +0000"  >&lt;p&gt;Seems this may be the same as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4010&quot; title=&quot;Don&amp;#39;t wait for active target if OBD_STATFS_NODELAY flag is set.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4010&quot;&gt;&lt;del&gt;LU-4010&lt;/del&gt;&lt;/a&gt; - patch is &lt;a href=&quot;http://review.whamcloud.com/7762&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7762&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74574" author="jlevi" created="Wed, 8 Jan 2014 18:08:04 +0000"  >&lt;p&gt;Was this problem resolved with Change, 7762?&lt;br/&gt;
Let us know if this ticket can be closed.&lt;/p&gt;</comment>
                            <comment id="75381" author="adilger" created="Tue, 21 Jan 2014 21:46:30 +0000"  >&lt;p&gt;The change 7762 was landed for 2.5.0, but I found another problem related to this on my test system: &lt;a href=&quot;http://review.whamcloud.com/8949&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8949&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="84442" author="pjones" created="Tue, 20 May 2014 13:51:17 +0000"  >&lt;p&gt;Landed for 2.5.2 and 2.6&lt;/p&gt;</comment>
                            <comment id="109389" author="ekolb" created="Wed, 11 Mar 2015 01:02:53 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;We recently upgraded out clients to 2.5.3 and this very issue appears to have manifested itself again?&lt;/p&gt;

&lt;p&gt;Lustre: setting import RSF1-OST0007_UUID INACTIVE by administrator request&lt;br/&gt;
Lustre: Layout lock feature supported.&lt;br/&gt;
Lustre: Mounted RSF1-client&lt;/p&gt;

&lt;p&gt;$ strace -v -f df /RSF1&lt;br/&gt;
statfs(&quot;/var/lib/nfs/rpc_pipefs&quot;, {f_type=0x67596969, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid=&lt;/p&gt;
{0, 0}
&lt;p&gt;, f_namelen=255, f_frsize=4096}) = 0&lt;br/&gt;
statfs(&quot;/RSF1&quot;, &lt;/p&gt;

&lt;p&gt;At which point the df hangs until reboot.&lt;/p&gt;

&lt;p&gt;Because some of these client re-export Lustre via NFS and Samba the exportfs etc. hand on boot. For now we put a hack in /etc/rc.local as work around&lt;/p&gt;

&lt;p&gt;/etc/init.d/samba stop&lt;br/&gt;
/etc/init.d/nfs stop&lt;br/&gt;
mount -t lustre 10.82.0.15@tcp1:/RSF1 /RSF1&lt;br/&gt;
/usr/sbin/lctl set_param llite.*.lazystatfs=1&lt;br/&gt;
/etc/init.d/nfs start&lt;br/&gt;
/etc/init.d/samba start&lt;/p&gt;

&lt;p&gt;Perhaps we missed something but this seem fit our experience.&lt;/p&gt;

&lt;p&gt;&amp;#8211; &lt;br/&gt;
Eric Kolb&lt;br/&gt;
Data Centre Services&lt;br/&gt;
University of Victoria&lt;br/&gt;
Office: 250-721-7658&lt;/p&gt;</comment>
                            <comment id="135416" author="wbaudler" created="Mon, 7 Dec 2015 19:03:43 +0000"  >&lt;p&gt;I can confirm the behaviour described by Eric Kolb above. Problem exists on 2.5.3.  I did not get a chance to test it with 2.5.2, so not sure if it was re-introduced or if it was never fixed.&lt;/p&gt;</comment>
                            <comment id="135534" author="adilger" created="Tue, 8 Dec 2015 18:07:54 +0000"  >&lt;p&gt;Note that it is also possible to set lazystatfs permanently on all clients using:&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;lctl conf_param llite.lazystatfs=1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="135544" author="wbaudler" created="Tue, 8 Dec 2015 19:23:18 +0000"  >&lt;p&gt;This seems to work. The syntax is&lt;/p&gt;

&lt;p&gt;lctl conf_param &amp;lt;fsname&amp;gt;.llite.lazystafs=1&lt;/p&gt;

&lt;p&gt;So, is this expected behaviour and setting this option is required on any lustre filesystem with permanently deactivated OSTs? Or is it still a bug? The conf_param option does not seem to be documented.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="21128">LU-4010</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="34119">LU-7668</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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>client</label>
            <label>hang</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>OST</label>
            <label>client</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwbn3:</customfieldvalue>

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

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