<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:11:54 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-938] sanity test_27c: @@@@@@ FAIL: two-stripe file doesn&apos;t have two stripes</title>
                <link>https://jira.whamcloud.com/browse/LU-938</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When I run sanity test 27c it fails to create a multistriped file.  This is consistent with my own findings on the same cluster &amp;#8211; which is what prompted me to run sanity in fact.  To illustrate:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;lfs setstripe -c 2 bigfile5&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client1 lustre&amp;#93;&lt;/span&gt;# lfs getstripe bigfile5&lt;br/&gt;
bigfile5&lt;br/&gt;
lmm_stripe_count:   1&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
	obdidx		 objid		objid		 group&lt;br/&gt;
	     1	         18853	       0x49a5	             0&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;dd if=/dev/zero of=bigfile2 bs=10M count=100&lt;br/&gt;
100+0 records in&lt;br/&gt;
100+0 records out&lt;br/&gt;
1048576000 bytes (1.0 GB) copied, 62.157 s, 16.9 MB/s&lt;/li&gt;
	&lt;li&gt;lfs getstripe bigfile5&lt;br/&gt;
bigfile5&lt;br/&gt;
lmm_stripe_count:   1&lt;br/&gt;
lmm_stripe_size:    1048576&lt;br/&gt;
lmm_stripe_offset:  1&lt;br/&gt;
	obdidx		 objid		objid		 group&lt;br/&gt;
	     1	         18853	       0x49a5	             0&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;So as you can see, my attempts to create a 2 striped file fail.&lt;/p&gt;

&lt;p&gt;Two OSTs are available and have capacity:&lt;/p&gt;


&lt;ol&gt;
	&lt;li&gt;lfs df&lt;br/&gt;
UUID                   1K-blocks        Used   Available Use% Mounted on&lt;br/&gt;
lustre-MDT0000_UUID     78629560      473256    72913424   1% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0000_UUID    208927160      472988   197968348   0% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0001_UUID    208927160     1494412   196946924   1% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:1&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;filesystem summary:    417854320     1967400   394915272   0% /mnt/lustre&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;lfs df -i&lt;br/&gt;
UUID                      Inodes       IUsed       IFree IUse% Mounted on&lt;br/&gt;
lustre-MDT0000_UUID     52428800          40    52428760   0% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0000_UUID      3097600          58     3097542   0% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
lustre-OST0001_UUID      3097600          86     3097514   0% /mnt/lustre&lt;span class=&quot;error&quot;&gt;&amp;#91;OST:1&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;filesystem summary:     52428800          40    52428760   0% /mnt/lustre&lt;/p&gt;

&lt;p&gt;Servers are running:&lt;/p&gt;

&lt;p&gt;kernel-2.6.32-131.6.1.el6_lustre.g65156ed.x86_64&lt;br/&gt;
kernel-firmware-2.6.32-131.6.1.el6_lustre.g65156ed.x86_64&lt;br/&gt;
lustre-2.1.0-2.6.32_131.6.1.el6_lustre.g65156ed.x86_64_g9d71fe8.x86_64&lt;br/&gt;
lustre-ldiskfs-3.3.0-2.6.32_131.6.1.el6_lustre.g65156ed.x86_64_g9d71fe8.x86_64&lt;br/&gt;
lustre-modules-2.1.0-2.6.32_131.6.1.el6_lustre.g65156ed.x86_64_g9d71fe8.x86_64&lt;br/&gt;
lustre-repo-2.1-1.noarch&lt;br/&gt;
lustre-tests-2.1.0-2.6.32_131.6.1.el6_lustre.g65156ed.x86_64_g9d71fe8.x86_64&lt;/p&gt;

&lt;p&gt;which should be 2.1.0 GA and the client is running b2_1, which is (only) two commits forward of 2.1.0.&lt;/p&gt;

&lt;p&gt;I will attach the 27c portion of the lustre debug log from the MDT for analysis.&lt;/p&gt;</description>
                <environment>ONLY=27c CLIENTONLY=true PDSH=&amp;quot;pdsh -R ssh -S -w&amp;quot; mds_HOST=mds1 mgs_HOST=mds2 ost1_HOST=oss1 ost2_HOST=oss2 OSTDEV1=&amp;quot;/dev/vdb&amp;quot; OSTDEV2=&amp;quot;/dev/vdb&amp;quot; bash /usr/lib64/lustre/tests/sanity.sh</environment>
        <key id="12706">LU-938</key>
            <summary>sanity test_27c: @@@@@@ FAIL: two-stripe file doesn&apos;t have two stripes</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="5">Cannot Reproduce</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="brian">Brian Murrell</reporter>
                        <labels>
                    </labels>
                <created>Sat, 17 Dec 2011 09:55:48 +0000</created>
                <updated>Mon, 5 Nov 2012 01:09:53 +0000</updated>
                            <resolved>Mon, 5 Nov 2012 01:09:53 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="25213" author="pjones" created="Thu, 29 Dec 2011 08:17:12 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

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

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="25283" author="niu" created="Thu, 29 Dec 2011 21:40:09 +0000"  >&lt;p&gt;I didn&apos;t see anything abnormal in the 27c.dk log, and I can&apos;t reproduce it with b2_1 code neither.&lt;/p&gt;

&lt;p&gt;Hi, Brian, could you reproduce the test_27c with the D_TRACE enabled log? I think that might be helpful.&lt;/p&gt;</comment>
                            <comment id="25293" author="brian" created="Fri, 30 Dec 2011 11:01:03 +0000"  >&lt;p&gt;Hi Niu,&lt;/p&gt;

&lt;p&gt;I will attach &lt;em&gt;after_setstripe.log&lt;/em&gt; which is a &lt;tt&gt;lctl dk&lt;/tt&gt; immediately after issuing an &lt;tt&gt;lfs setstripe -c 2&lt;/tt&gt; per the example below:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# lfs setstripe -c 2 bigfile8
[root@client1 lustre]# lfs getstripe bigfile8
bigfile8
lmm_stripe_count:   1
lmm_stripe_size:    1048576
lmm_stripe_offset:  1
	obdidx		 objid		objid		 group
	     1	         18884	       0x49c4	             0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="25304" author="niu" created="Fri, 30 Dec 2011 23:01:57 +0000"  >&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;00020000:00000001:0.0:1325259847.301275:0:28375:0:(lov_pack.c:319:lov_alloc_memmd()) &lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; leaving (rc=72 : 72 : 48)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;MDS allocated memmd only for only 1 stripe, is it possible that one of the MDT OSC was inactive? Could you try &apos;lctl get_param osc.*.active&apos; (on mds node) to see if all OSCs are active?&lt;/p&gt;</comment>
                            <comment id="25324" author="brian" created="Sat, 31 Dec 2011 21:36:31 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Could you try &apos;lctl get_param osc.*.active&apos; (on mds node) to see if all OSCs are active?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Sure:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# lctl get_param osc.*.active
osc.lustre-OST0000-osc-MDT0000.active=1
osc.lustre-OST0001-osc-MDT0000.active=1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="25409" author="niu" created="Tue, 3 Jan 2012 22:06:43 +0000"  >&lt;p&gt;Thank you, Brian. Looks it&apos;s not caused by inactive osc. Could you recapture the log with both D_IOCTL &amp;amp; D_INFO enabled? We could probably figure out why mds changed the stripe count to 1 from this log.&lt;/p&gt;</comment>
                            <comment id="34359" author="niu" created="Tue, 10 Apr 2012 02:11:07 +0000"  >&lt;p&gt;Brian, is it reporducable? or it&apos;s no longer relevant, can we close it now?&lt;/p&gt;</comment>
                            <comment id="47383" author="niu" created="Mon, 5 Nov 2012 01:09:53 +0000"  >&lt;p&gt;Let reopen it if it can be reproduced.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10684" name="27c.dk" size="72783" author="brian" created="Sat, 17 Dec 2011 09:55:48 +0000"/>
                            <attachment id="10703" name="after_setstripe.log" size="217900" author="brian" created="Fri, 30 Dec 2011 11:01:03 +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|hzvew7:</customfieldvalue>

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