<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:24:04 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-2300] Wide striping leads to confusion for old clients</title>
                <link>https://jira.whamcloud.com/browse/LU-2300</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;1.8 client on 2.1 server:&lt;br/&gt;
&amp;gt; mkdir 161&lt;br/&gt;
&amp;gt; lfs setstripe -c 161 161&lt;br/&gt;
error: bad stripe count 161: Invalid argument (22)&lt;br/&gt;
error: setstripe: create stripe file &apos;161&apos; failed&lt;/p&gt;

&lt;p&gt;Expectation #1: stripe count of &quot;-1&quot; gives a stripe width of 160 since that&apos;s all 1.8 can support.  On large 1.8.x Lustre clusters -1 gives you 160 (without error, silent or otherwise) even if you have more OSTs.&lt;/p&gt;

&lt;p&gt;Expectation #2: stripe count of &quot;-1&quot; gives a stripe width of &quot;all OSTs&quot;, regardless of whether some clients can understand it.&lt;/p&gt;

&lt;p&gt;Expectation #3: stripe count of &quot;-1&quot; gives a stripe count of 180 iff there are any clients &amp;lt; 2.1&lt;/p&gt;

&lt;p&gt;Maybe we should have a MDS conf_param setting which is the &quot;-1&quot; stripe count value?&lt;/p&gt;</description>
                <environment></environment>
        <key id="16618">LU-2300</key>
            <summary>Wide striping leads to confusion for old clients</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="nrutman">Nathan Rutman</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Nov 2012 15:13:03 +0000</created>
                <updated>Wed, 6 Nov 2013 17:56:54 +0000</updated>
                            <resolved>Wed, 6 Nov 2013 17:56:53 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="47554" author="adilger" created="Wed, 7 Nov 2012 20:54:02 +0000"  >&lt;p&gt;Nathan, could you clarify your expectations more?  I&apos;m not sure which of the expectations you are advocating for, and it conflates &quot;-c &lt;/p&gt;
{&amp;gt; 160}
&lt;p&gt;&quot; with &quot;-c -1&quot; (which could mean different things).&lt;/p&gt;

&lt;p&gt;In #3, is 180 the number of OSTs in the system, or is this a typo and you meant 160?  Also, when you write &quot;stripe count -1&quot;, do you really mean &quot;any number larger than 160&quot;?&lt;/p&gt;

&lt;p&gt;I tried &quot;lfs setstripe -c 161&quot; on my local filesystem and it created a file with 5 stripes (== $OSTCOUNT).&lt;/p&gt;</comment>
                            <comment id="47600" author="nrutman" created="Thu, 8 Nov 2012 13:51:40 +0000"  >&lt;blockquote&gt;&lt;p&gt;I&apos;m not sure which of the expectations you are advocating for&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&apos;m not sure either &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;&quot;-c {&amp;gt; 160}&quot; with &quot;-c -1&quot; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I&apos;m specifically referring to -1 = &quot;all available OSTs&quot;&lt;/p&gt;

&lt;p&gt;I kind of think #2 makes the most sense, but it leads to confusing errors on 1.8 clients: &quot;Why did it let me set that if it can&apos;t use it?&quot;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;typo and you meant 160?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes. Our system in the description has more than 160 OSTs.&lt;/p&gt;

&lt;p&gt;The error message was confusing to our customer, and it&apos;s not clear to me what the appropriate response should actually be. &lt;/p&gt;</comment>
                            <comment id="47974" author="adilger" created="Sat, 17 Nov 2012 12:12:24 +0000"  >&lt;p&gt;Nathan, I think I&apos;m open to any reasonable interpretation of usage.  I recall from Oleg&apos;s early wide striping testing that even though the 1.8 MDT cannot store layouts with more than 160 stripes that the clients can handle more that this, possibly in the neighborhood of 250 stripes. &lt;/p&gt;

&lt;p&gt;It definitely makes sense that 1.8 clients should not create files that they cannot use.  That means the MDS should limit the layout for clients. &lt;/p&gt;

&lt;p&gt;Do you think that the presence of 1.8 clients should limit the layout usable by 2.x clients?&lt;/p&gt;</comment>
                            <comment id="48002" author="nrutman" created="Mon, 19 Nov 2012 12:40:32 +0000"  >&lt;blockquote&gt;&lt;p&gt;It definitely makes sense that 1.8 clients should not create files that they cannot use. That means the MDS should limit the layout for clients.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It means something should.  Maybe the best answer is to change lfs on the clients to explicitly change -1 to 160 before submitting?&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Do you think that the presence of 1.8 clients should limit the layout usable by 2.x clients?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I don&apos;t really like that, but on the other hand someone that creates a 161+ stripe file on a 2.x client and can&apos;t access it on a 18 client may be equally confused.  If we do do this, then there are more questions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;what if a 1.8 client connects &quot;after&quot; a 161-stripe file is created?&lt;/li&gt;
	&lt;li&gt;how long do we wait since the &quot;last&quot; 1.8 client was seen before allowing a 161+ file?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="48003" author="nrutman" created="Mon, 19 Nov 2012 12:43:45 +0000"  >&lt;p&gt;Perhaps the simplest policy is&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;MDS changes a 1.8 client -1 stripe count to min(160, ost_count)&lt;/li&gt;
	&lt;li&gt;MDS leaves 2.x client -1 alone&lt;/li&gt;
	&lt;li&gt;1.8 clients trying to read 161+ files get EINVAL return code from MDS&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="48073" author="peggy" created="Tue, 20 Nov 2012 10:33:13 +0000"  >&lt;p&gt;I agree with Nathan&apos;s suggestions &amp;#8211; 1.8 client stripe count -1 should be min(160, ost_count); 2.x clients -1 behaves as today; 1.8 clients fail on accessing files w/&amp;gt;160 stripes.  I expect we&apos;d see user complaints on the last item.  Maybe a server-side option to allow a 2.x MDS to set -1 stripe count default to 160 (admin can then choose to set that if their environment includes 1.8 clients)?&lt;/p&gt;</comment>
                            <comment id="48075" author="adilger" created="Tue, 20 Nov 2012 10:59:20 +0000"  >&lt;p&gt;I&apos;m largely in agreement with having the MDS enforce the limits. I don&apos;t think it is practical to change the 1.8 clients at this point. &lt;/p&gt;

&lt;p&gt;However, it should be noted that 1.8 clients can actually handle more than 160 stripes. Something like 250 or so - I suspect it will be reported by Oleg in the original bug (b=4224, IIRC).  I believe 1.8 clients (or possibly the MDS) will already report an error if the reply buffer is too small. &lt;/p&gt;</comment>
                            <comment id="48087" author="nrutman" created="Tue, 20 Nov 2012 13:06:54 +0000"  >&lt;p&gt;Xyratex &lt;a href=&quot;http://jira-nss.xy01.xyratex.com:8080/browse/CLSTR-730&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CLSTR-730&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48088" author="nrutman" created="Tue, 20 Nov 2012 13:08:09 +0000"  >&lt;p&gt;Ok, we&apos;ll work on a patch for this as I outlined above.  (Andreas - testing shows anything above 160 returns an error.)&lt;/p&gt;</comment>
                            <comment id="70885" author="adilger" created="Wed, 6 Nov 2013 17:56:54 +0000"  >&lt;p&gt;I don&apos;t think 1.8 interop on systems with &amp;gt; 160 OSTs is a huge concern anymore, and no patch is available to fix this.  Closing this old bug.&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|hzvbwf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5493</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>