<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:34:17 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-17299] DNE3: disable new regular file creation on MDTs mounted with &apos;no_create&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-17299</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In order to allow draining an MDT for removal from the filesystem, or to disable it temporarily, the &quot;&lt;tt&gt;mdt.&amp;#42;.no_create&lt;/tt&gt;&quot; parameter should be set on the MDT to let clients/MDS know that it should be skipped. &lt;/p&gt;

&lt;p&gt;However, the &lt;tt&gt;no_create&lt;/tt&gt; parameter currently only stops new &lt;b&gt;directory&lt;/b&gt; creates on that MDT. If a client does try to create a file or directory on the MDT, it will currently be allowed. &lt;/p&gt;

&lt;p&gt;Instead, the MDT should return an error like &lt;tt&gt;-EREMOTE&lt;/tt&gt; if that would work with the existing clients, or preferably a unique code like &lt;tt&gt;-ENOANO&lt;/tt&gt; or &lt;tt&gt;-EBADRQC&lt;/tt&gt; that makes it clear the client should use a different MDT for creation. We should &lt;b&gt;not&lt;/b&gt; use &lt;tt&gt;-EROFS&lt;/tt&gt; to indicate the MDT cannot be used, since that would be returned to the application and the create would fail. We might also consider &lt;tt&gt;-ENOSPC&lt;/tt&gt; to have the client try a different MDT, since we would also want the client to do this if the MDT was actually out of space.&lt;/p&gt;

&lt;p&gt;Creating remote subdirectories to avoid a specific MDT was implemented in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12998&quot; title=&quot;DNE3: tunable to disable directory creation on MDT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12998&quot;&gt;&lt;del&gt;LU-12998&lt;/del&gt;&lt;/a&gt;, but avoiding the creation of new &lt;b&gt;files&lt;/b&gt; or directory entries in an existing directory still needs to be implemented.&lt;/p&gt;

&lt;p&gt;One solution would be to turn the directory into a striped directory with a shard on another MDT with the &lt;tt&gt;LMV_HASH_FLAG_MIGRATION&lt;/tt&gt; flag set, and then create all new inodes and directory entries in the new MDT shard. That wouldn&apos;t affect existing inodes in the directory, but would prevent all new inodes from being allocated on that MDT in that directory. Something similar would need to be done during file migration anyway, so a later &quot;&lt;tt&gt;lfs migrate -m&lt;/tt&gt;&quot; of that directory would &quot;resume&quot; the migration and move any remaining inodes on the disabled MDT.&lt;/p&gt;</description>
                <environment></environment>
        <key id="79002">LU-17299</key>
            <summary>DNE3: disable new regular file creation on MDTs mounted with &apos;no_create&apos;</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>dne3</label>
                            <label>medium</label>
                    </labels>
                <created>Sun, 19 Nov 2023 00:24:41 +0000</created>
                <updated>Mon, 22 Jan 2024 06:12:03 +0000</updated>
                                            <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10324">
                    <name>Cloners</name>
                                            <outwardlinks description="Clones">
                                        <issuelink>
            <issuekey id="57439">LU-12998</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="55005">LU-12025</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71186">LU-16024</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="34119">LU-7668</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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_10092" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>EX-4481</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0426f:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>