<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:18:39 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-1667] setstripe, stripe size of 4G error is inaccurate.</title>
                <link>https://jira.whamcloud.com/browse/LU-1667</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The wording on the error message you get from &lt;tt&gt;setstripe -s 4G&lt;/tt&gt; is inaccurate.&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;[root@centos62_vanilla ~]# lfs setstripe -s 4G /mnt/lustre
warning: stripe size larger than 4G is not currently supported and would wrap: Invalid argument (22)
error: setstripe: create stripe file &apos;/mnt/lustre&apos; failed
[root@centos62_vanilla ~]# lfs setstripe -s 4095M /mnt/lustre
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;More suitable wording would be &lt;b&gt;stripe size of 4G or larger is not currently supported and would wrap.&lt;/b&gt;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I might also question the value of the &apos;and would wrap&apos;.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="15282">LU-1667</key>
            <summary>setstripe, stripe size of 4G error is inaccurate.</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rhenwood">Richard Henwood</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Jul 2012 12:16:21 +0000</created>
                <updated>Tue, 3 Feb 2015 22:18:42 +0000</updated>
                            <resolved>Tue, 3 Feb 2015 22:18:42 +0000</resolved>
                                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="43248" author="rhenwood" created="Wed, 15 Aug 2012 09:51:07 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#change,3464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#change,3464&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="45602" author="rhenwood" created="Wed, 26 Sep 2012 16:30:58 +0000"  >&lt;p&gt;landed&lt;/p&gt;</comment>
                            <comment id="60751" author="parinay" created="Mon, 17 Jun 2013 13:59:35 +0000"  >&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Either the error is wrong or the check is wrong
&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;
[admin@sjsc-6 admin]$ lfs setstripe -c 4 -s 4g stripe4_4g_chunk
warning: stripe size larger than 4G is not currently supported and would wrap: Invalid argument (22)
error: setstripe: create stripe file &lt;span class=&quot;code-quote&quot;&gt;&apos;stripe4_4g_chunk&apos;&lt;/span&gt; failed
[admin@sjsc-6 admin]$ lfs setstripe -c 4 -s 4095m stripe4_4g_chunk

&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (stripe_size &amp;gt;= (1ULL &amp;lt;&amp;lt; 32)){ rc = -EINVAL; llapi_error(LLAPI_MSG_ERROR, rc, &lt;span class=&quot;code-quote&quot;&gt;&quot;warning: stripe size larger than 4G &quot;&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;is not currently supported and would wrap&quot;&lt;/span&gt;); &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; rc; }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Also note the error code returned should be re-evaluated as -22 may not be appropriate.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;This should be a trivial fix by correctly wording the error message:&lt;br/&gt;
&quot;warning: stripe size equal to or greater than 4G &quot; ; With appropriate error code.&lt;/li&gt;
	&lt;li&gt;After the change it would be ,&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@osh-1 ~&amp;#93;&lt;/span&gt;# lfs setstripe -s 4G -c -1 /mnt/client/file.log &lt;br/&gt;
warning: stripe size equal to OR greater than 4G : Operation not permitted (-1)&lt;br/&gt;
error: setstripe: create stripe file &apos;/mnt/client/file.log&apos; failed&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@osh-1 ~&amp;#93;&lt;/span&gt;#&lt;/p&gt;

&lt;p&gt;Need to re-open this bug.&lt;/p&gt;

&lt;p&gt;Xyratex-bug-id= MRP-857&lt;/p&gt;</comment>
                            <comment id="81729" author="parinay" created="Wed, 16 Apr 2014 13:51:01 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/9972&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9972&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="105613" author="rhenwood" created="Tue, 3 Feb 2015 22:18:42 +0000"  >&lt;p&gt;The additional change was denied, re-closing this ticket as at least a year has gone past since last activity.&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|hzv5hb:</customfieldvalue>

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