<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:46: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-4843] 2.6: DNE stripe directory - 2.5.0 clients</title>
                <link>https://jira.whamcloud.com/browse/LU-4843</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The DNE2 solution architecture states that 2.4 clients should return -ENOTSUPP when trying to access a master/DNE Phase 2 striped directory.&lt;/p&gt;

&lt;p&gt;I did a quick test of this, and did not receive this error.  Instead, the client LBUGged.  Perhaps this only applies to later versions of 2.4 - I tested 2.4.0.&lt;/p&gt;

&lt;p&gt;&quot;striped_directory&quot; is on 2 master MDSes, with two MDTs each.  It was created like this, from a master client:&lt;br/&gt;
lfs setdirstripe -c 4 -D striped_directory&lt;/p&gt;

&lt;p&gt;Here&apos;s what happened on my 2.4.0 client:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 centssm1&amp;#93;&lt;/span&gt;# ls&lt;br/&gt;
striped_directory&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 centssm1&amp;#93;&lt;/span&gt;# cd striped_directory/&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# ls&lt;br/&gt;
file  file10  file2  file3  file4  file5  file6  file7  file8  file9&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# touch file11&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# ls -la&lt;br/&gt;
total 8&lt;br/&gt;
drwxr-xr-x 2 root root 4096 Mar 31 04:47 .&lt;br/&gt;
drwxr-xr-x 4 root root 4096 Mar 31 04:36 ..&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file10&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:50 file11&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file2&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file3&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file4&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file5&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file6&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file7&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file8&lt;br/&gt;
&lt;del&gt;rw-r&lt;/del&gt;&lt;del&gt;r&lt;/del&gt;- 1 root root    0 Mar 31 04:47 file9&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# lfs getdirstripe .&lt;br/&gt;
.&lt;br/&gt;
lmv_stripe_count: 1&lt;br/&gt;
lmv_stripe_offset: 0&lt;br/&gt;
	mdtidx		 FID&lt;span class=&quot;error&quot;&gt;&amp;#91;seq:oid:ver&amp;#93;&lt;/span&gt;&lt;br/&gt;
	     0		 &lt;span class=&quot;error&quot;&gt;&amp;#91;0x600000400:0x1:0x0&amp;#93;&lt;/span&gt;		&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# mkdir test&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@centclient18 striped_directory&amp;#93;&lt;/span&gt;# ls&lt;/p&gt;

&lt;p&gt;Message from syslogd@centclient18 at Mar 31 04:51:11 ...&lt;br/&gt;
 kernel:LustreError: 5906:0:(lmv_obd.c:2351:lmv_unpackmd()) ASSERTION( mea_size == lmm_size ) failed: &lt;/p&gt;

&lt;p&gt;Message from syslogd@centclient18 at Mar 31 04:51:11 ...&lt;br/&gt;
 kernel:LustreError: 5906:0:(lmv_obd.c:2351:lmv_unpackmd()) LBUG&lt;/p&gt;</description>
                <environment></environment>
        <key id="23992">LU-4843</key>
            <summary>2.6: DNE stripe directory - 2.5.0 clients</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="di.wang">Di Wang</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                            <label>dne2</label>
                    </labels>
                <created>Mon, 31 Mar 2014 22:07:36 +0000</created>
                <updated>Wed, 2 Jul 2014 12:19:06 +0000</updated>
                            <resolved>Wed, 2 Jul 2014 12:19:06 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="80664" author="paf" created="Mon, 31 Mar 2014 22:08:14 +0000"  >&lt;p&gt;Sorry, I accidentally created this ticket before I finished tagging it correctly.  My bad.&lt;/p&gt;</comment>
                            <comment id="80719" author="jlevi" created="Tue, 1 Apr 2014 17:26:26 +0000"  >&lt;p&gt;Di,&lt;br/&gt;
Could you comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="80813" author="di.wang" created="Wed, 2 Apr 2014 07:55:33 +0000"  >&lt;p&gt;Ah&#65292; I need add the check for striped dir on 2.6 server.&lt;/p&gt;</comment>
                            <comment id="80891" author="paf" created="Wed, 2 Apr 2014 18:58:04 +0000"  >&lt;p&gt;Di - One other comment.  The lfs setdirstripe command recognizes when the hash type specified with -t isn&apos;t valid, but I can&apos;t find the valid hash types in the documentation anywhere.  I had to read the code in order to identify them.  It would be nice if the error message included the valid arguments.  (Or if not that, then definitely the man page.)&lt;/p&gt;

&lt;p&gt;Since you&apos;re doing various patches in the DNE 2 area, could you add that information to lfs as part of one of them?  If not, I could generate and push a patch - It just seems easier to put in to another patch than to push it by itself.&lt;/p&gt;</comment>
                            <comment id="81580" author="di.wang" created="Tue, 15 Apr 2014 02:58:24 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9956&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9956&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="84783" author="pjones" created="Fri, 23 May 2014 14:23:30 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="87233" author="paf" created="Sat, 21 Jun 2014 15:48:48 +0000"  >&lt;p&gt;Di,&lt;/p&gt;

&lt;p&gt;I was busy with other things when the patch landed and never tried it, but I just accidentally tried 2.5.1 clients with 2.6 servers (running master from Thursday) and striped directories, and hit this assertion again.&lt;/p&gt;

&lt;p&gt;Here&apos;s the back trace:&lt;br/&gt;
2014-06-21T09:41:10.651307-05:00 c0-0c1s1n2 LustreError: 14818:0:(lmv_obd.c:2587:lmv_unpackmd()) ASSERTION( mea_size == lmm_size ) ailed: &lt;br/&gt;
2014-06-21T09:41:10.651344-05:00 c0-0c1s1n2 LustreError: 14818:0:(lmv_obd.c:2587:lmv_unpackmd()) LBUG&lt;br/&gt;
2014-06-21T09:41:10.651357-05:00 c0-0c1s1n2 Pid: 14818, comm: LUSTRE_PERF&lt;br/&gt;
2014-06-21T09:41:10.651370-05:00 c0-0c1s1n2 Call Trace:&lt;br/&gt;
2014-06-21T09:41:10.677280-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81005eb9&amp;gt;&amp;#93;&lt;/span&gt; try_stack_unwind+0x169/0x1b0&lt;br/&gt;
2014-06-21T09:41:10.677319-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81004939&amp;gt;&amp;#93;&lt;/span&gt; dump_trace+0x89/0x450&lt;br/&gt;
2014-06-21T09:41:10.677331-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02eb8c7&amp;gt;&amp;#93;&lt;/span&gt; libcfs_debug_dumpstack+0x57/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.704617-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa02ebe27&amp;gt;&amp;#93;&lt;/span&gt; lbug_with_loc+0x47/0xc0 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.704655-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0a034e1&amp;gt;&amp;#93;&lt;/span&gt; lmv_unpackmd+0x5d1/0x820 &lt;span class=&quot;error&quot;&gt;&amp;#91;lmv&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.704666-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa075f010&amp;gt;&amp;#93;&lt;/span&gt; obd_unpackmd+0xe0/0x360 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdc&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.732016-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa076baec&amp;gt;&amp;#93;&lt;/span&gt; mdc_get_lustre_md+0xb6c/0x1430 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdc&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.732053-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa09fa38b&amp;gt;&amp;#93;&lt;/span&gt; lmv_get_lustre_md+0xab/0x310 &lt;span class=&quot;error&quot;&gt;&amp;#91;lmv&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.732064-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08f556d&amp;gt;&amp;#93;&lt;/span&gt; ll_prep_inode+0xdd/0xe40 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.759306-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0905396&amp;gt;&amp;#93;&lt;/span&gt; ll_lookup_it_finish+0x1d6/0xd50 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.784541-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa09063e4&amp;gt;&amp;#93;&lt;/span&gt; ll_lookup_it+0x4d4/0xad0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.784572-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0906a6c&amp;gt;&amp;#93;&lt;/span&gt; ll_lookup_nd+0x8c/0x3e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
2014-06-21T09:41:10.809749-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81159bac&amp;gt;&amp;#93;&lt;/span&gt; d_alloc_and_lookup+0x4c/0x80&lt;br/&gt;
2014-06-21T09:41:10.809782-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8115b36e&amp;gt;&amp;#93;&lt;/span&gt; do_lookup+0x2ae/0x3b0&lt;br/&gt;
2014-06-21T09:41:10.809793-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8115dba3&amp;gt;&amp;#93;&lt;/span&gt; path_lookupat+0xc3/0x5f0&lt;br/&gt;
2014-06-21T09:41:10.834997-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8115e105&amp;gt;&amp;#93;&lt;/span&gt; do_path_lookup+0x35/0xd0&lt;br/&gt;
2014-06-21T09:41:10.835031-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8115ee53&amp;gt;&amp;#93;&lt;/span&gt; user_path_at_empty+0x83/0xb0&lt;br/&gt;
2014-06-21T09:41:10.835042-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8115ee91&amp;gt;&amp;#93;&lt;/span&gt; user_path_at+0x11/0x20&lt;br/&gt;
2014-06-21T09:41:10.835056-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81153a25&amp;gt;&amp;#93;&lt;/span&gt; vfs_fstatat+0x55/0x90&lt;br/&gt;
2014-06-21T09:41:10.860193-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81153b8b&amp;gt;&amp;#93;&lt;/span&gt; vfs_stat+0x1b/0x20&lt;br/&gt;
2014-06-21T09:41:10.860228-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81153bb4&amp;gt;&amp;#93;&lt;/span&gt; sys_newstat+0x24/0x50&lt;br/&gt;
2014-06-21T09:41:10.860239-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff815603ab&amp;gt;&amp;#93;&lt;/span&gt; system_call_fastpath+0x16/0x1b&lt;br/&gt;
2014-06-21T09:41:10.860255-05:00 c0-0c1s1n2 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;00007f85933a7765&amp;gt;&amp;#93;&lt;/span&gt; 0x7f85933a7765&lt;/p&gt;


&lt;p&gt;I also took a dump with debug=-1 on the client if it&apos;s of interest.&lt;/p&gt;</comment>
                            <comment id="87234" author="di.wang" created="Sat, 21 Jun 2014 16:06:23 +0000"  >&lt;p&gt;Ah, in the patch 9956, I use OBD_CONNECT_DISP_STRIPE to check whether the client understand the striped directory, and I had thought this flag is only landed for 2.6 client. Unfortunately, this is included in 2.5 client (2.5.2). I need find a new flag. hmm&lt;/p&gt;</comment>
                            <comment id="87236" author="di.wang" created="Sat, 21 Jun 2014 16:22:17 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10773&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10773&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="87957" author="jlevi" created="Wed, 2 Jul 2014 12:19:06 +0000"  >&lt;p&gt;Patches landed to Master.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwiwv:</customfieldvalue>

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