<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:34:27 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-10369] running &quot;lfs setstripe -c3 /mnt/lustre/pooldir/newfile&quot; doesn&apos;t inherit pool</title>
                <link>https://jira.whamcloud.com/browse/LU-10369</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Testing various scenarios to reproduce &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10350&quot; title=&quot;ost-pools test 1n fails with &amp;#39;failed to write to /mnt/lustre/d1n.ost-pools/file: 1&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10350&quot;&gt;&lt;del&gt;LU-10350&lt;/del&gt;&lt;/a&gt;, I found that running the following test did not work as expected, namely that the file created in &lt;tt&gt;pooldir/&lt;/tt&gt; did not inherit the pool on the parent directory:&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;pool_add $POOL
pool_add_targets $POOL 0 1 1
mkdir $tdir/$tdir
lfs setstripe -p $POOL $DIR/$tdir
lfs setstripe -c 3 $DIR/$tdir/$tfile-3stripe
lfs getstripe -p $DIR/$tdir/$tfile-3stripe

lfs setstripe -S 3M $DIR/$tdir/$tfile-3M
lfs getstripe -p $DIR/$tdir/$tfile-3M

lfs setstripe -E 16M -S 1M -c 1 -E 32G -S 4M -c 4 $DIR/$tdir/pfl
lfs getstripe -p $DIR/$tdir/$tfile-3M
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;None of the created files have inherited the pool from the parent directory.  Only if a file is created with &quot;touch&quot; does that work.  I thought this was fixed in 2.9 with the PFL code, but it doesn&apos;t seem to work.&lt;/p&gt;

&lt;p&gt;Also, I notice that sanity.sh and test-framework.sh are using a different set of helper functions for creating pools and adding OSTs (&lt;tt&gt;pool_add()&lt;/tt&gt;, &lt;tt&gt;pool_add_targets()&lt;/tt&gt;) than the ost-pools.sh script (&lt;tt&gt;create_pool_fail()&lt;/tt&gt;, &lt;tt&gt;add_pool()&lt;/tt&gt;).   It would be good to remove the duplicate functions and only use one set of pool helpers in all tests.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49687">LU-10369</key>
            <summary>running &quot;lfs setstripe -c3 /mnt/lustre/pooldir/newfile&quot; doesn&apos;t inherit pool</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Dec 2017 00:52:58 +0000</created>
                <updated>Wed, 13 Dec 2017 22:17:11 +0000</updated>
                            <resolved>Wed, 13 Dec 2017 22:17:11 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="216049" author="jamesanunez" created="Tue, 12 Dec 2017 14:14:12 +0000"  >&lt;p&gt;This ticket is related to and maybe duplicates &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8264&quot; title=&quot;lfs setstripe without -p pool_name doesn&amp;#39;t inherit pool from parent/ROOT directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8264&quot;&gt;&lt;del&gt;LU-8264&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="216092" author="adilger" created="Tue, 12 Dec 2017 19:25:14 +0000"  >&lt;p&gt;Is the problem here that clients/&lt;tt&gt;lfs&lt;/tt&gt; are using &lt;tt&gt;LOV_MAGIC_V1&lt;/tt&gt; layouts by default, and there is no room for the pool to be inherited?  If that is the case, then we could change &lt;tt&gt;lfs&lt;/tt&gt; to use &lt;tt&gt;LOV_MAGIC_V3&lt;/tt&gt; layouts by default, since that has been supported forever (since 1.6?).  Still, it would also be good for old clients/utilities to also inherit the pool properly on the MDS.&lt;/p&gt;</comment>
                            <comment id="216094" author="adilger" created="Tue, 12 Dec 2017 19:30:31 +0000"  >&lt;p&gt;It looks like &lt;a href=&quot;http://review.whamcloud.com/20849&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20849&lt;/a&gt; is supposed to fix this, but it was never landed.&lt;/p&gt;</comment>
                            <comment id="216214" author="adilger" created="Wed, 13 Dec 2017 22:17:11 +0000"  >&lt;p&gt;Closing this as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8264&quot; title=&quot;lfs setstripe without -p pool_name doesn&amp;#39;t inherit pool from parent/ROOT directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8264&quot;&gt;&lt;del&gt;LU-8264&lt;/del&gt;&lt;/a&gt;, since that has a patch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="37539">LU-8264</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="34953">LU-7813</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hzzp6f:</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>