<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:09:34 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-14418] lfs setstripe -c &quot;&quot; removes pool allocation</title>
                <link>https://jira.whamcloud.com/browse/LU-14418</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;One of our user groups was setting lfs setstripe -c &quot;$STRIPE_COUNT&quot; in a script and not checking the variable existed. Therefore at some point they managed to run the equivalent of&lt;/p&gt;

&lt;p&gt;lfs setstripe -c &quot;&quot;&lt;/p&gt;

&lt;p&gt;Testcase (Client: cray-lustre-default-2.7.5.13_4.4.180-6.0.7.1_16.13__gddebdf5c6.x86_64, Server: 2.10.8)&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;
whi550@galaxy-1 [2021-02-04 13:26] /askapbuffer/payne/whi550/testing&amp;gt; mkdir lfs_testing
whi550@galaxy-1 [2021-02-04 13:26] /askapbuffer/payne/whi550/testing&amp;gt; cd lfs_testing
whi550@galaxy-1 [2021-02-04 13:26] /askapbuffer/payne/whi550/testing/lfs_testing&amp;gt; lfs getstripe .
.
stripe_count:   1 stripe_size:    1048576 stripe_offset:  -1 pool:           processing
whi550@galaxy-1 [2021-02-04 13:26] /askapbuffer/payne/whi550/testing/lfs_testing&amp;gt; lfs setstripe -c &quot;&quot; .
whi550@galaxy-1 [2021-02-04 13:26] /askapbuffer/payne/whi550/testing/lfs_testing&amp;gt; lfs getstripe .
.
stripe_count:   1 stripe_size:    1048576 stripe_offset:  -1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;testcase on 2.12. (lustre-client-2.12.5-1.x86_64, server&#160;lustre-2.12.6-1.el7.x86_64)&lt;/p&gt;

&lt;p&gt;set up pools on server:&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@pgfs-mds4 ~]# mount /dev/mapper/TEST_MGT
[root@pgfs-mds4 ~]# mount /dev/mapper/TEST_OST0000
[root@pgfs-mds4 ~]# mount /dev/mapper/TEST_OST0001
[root@pgfs-mds4 ~]# mount /dev/mapper/TEST_MDT0000
[root@pgfs-mds4 ~]# lctl pool_list testfs
Pools from testfs:
[root@pgfs-mds4 ~]# lctl pool_new testfs.ost0
Pool testfs.ost0 created
[root@pgfs-mds4 ~]# lctl pool_new testfs.ost1
Pool testfs.ost1 created
[root@pgfs-mds4 ~]# lctl pool_add testfs.ost0 testfs-OST0000
OST testfs-OST0000_UUID added to pool testfs.ost0
[root@pgfs-mds4 ~]# lctl pool_add testfs.ost1 testfs-OST0001
OST testfs-OST0001_UUID added to pool testfs.ost1
[root@pgfs-mds4 ~]# rpm -q lustre
lustre-2.12.6-1.el7.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and the client:&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;aelwell@hpc-admin2:/testfs/pawsey0001/aelwell/dir1$ lfs getstripe .
.
stripe_count:  1 stripe_size:   1048576 pattern:       raid0 stripe_offset: -1 pool:          ost0

aelwell@hpc-admin2:/testfs/pawsey0001/aelwell/dir1$ lfs setstripe -c &quot;&quot; .
aelwell@hpc-admin2:/testfs/pawsey0001/aelwell/dir1$ lfs getstripe .
.
stripe_count:  1 stripe_size:   1048576 pattern:       0 stripe_offset: -1

aelwell@hpc-admin2:/testfs/pawsey0001/aelwell/dir1$
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="62832">LU-14418</key>
            <summary>lfs setstripe -c &quot;&quot; removes pool allocation</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="Elwell">Andrew Elwell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Feb 2021 03:24:55 +0000</created>
                <updated>Tue, 22 Mar 2022 14:50:56 +0000</updated>
                            <resolved>Tue, 22 Mar 2022 14:50:55 +0000</resolved>
                                    <version>Lustre 2.10.8</version>
                    <version>Lustre 2.12.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="329859" author="pjones" created="Tue, 22 Mar 2022 14:50:56 +0000"  >&lt;p&gt;Seems to be duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14422&quot; title=&quot;lfs setstripe -c &amp;#39;&amp;#39; removes pool allocation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14422&quot;&gt;&lt;del&gt;LU-14422&lt;/del&gt;&lt;/a&gt;&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|i01mc7:</customfieldvalue>

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