<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:05 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-3575] &apos;mkfs.lustre --writeconf&apos; not working anymore with Lustre 2.4</title>
                <link>https://jira.whamcloud.com/browse/LU-3575</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;With Lustre 2.4, &apos;--writeconf&apos; flag of mkfs.lustre is ignored. Indeed, after formatting a target with this flag, its label separator is &apos;:&apos;, which means VIRGIN, instead of &apos;=&apos;.&lt;br/&gt;
To force writeconf, one has to run &apos;tunefs.lustre --writeconf&apos; on the target prior to starting it for the first time.&lt;/p&gt;

&lt;p&gt;This is seen as a regression compared to Lustre 2.1, with which we can directly pass the writeconf flag at mkfs.lustre time.&lt;/p&gt;

&lt;p&gt;We need this feature (ie forcing writeconf at mkfs time) when we reformat an existing file system registered at an external MGS after modifying its characteristics.&lt;/p&gt;

&lt;p&gt;Could it be possible to revise writeconf flag implementation in Lustre 2.4 so that it can be used directly at mkfs.lustre time?&lt;/p&gt;

&lt;p&gt;TIA,&lt;br/&gt;
Sebastien.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19767">LU-3575</key>
            <summary>&apos;mkfs.lustre --writeconf&apos; not working anymore with Lustre 2.4</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="sebastien.buisson">Sebastien Buisson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Jul 2013 13:20:32 +0000</created>
                <updated>Sat, 23 Nov 2013 13:55:43 +0000</updated>
                            <resolved>Thu, 26 Sep 2013 22:21:04 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="62123" author="jlevi" created="Thu, 11 Jul 2013 16:07:09 +0000"  >&lt;p&gt;Alex,&lt;br/&gt;
Could you please comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="63667" author="bzzz" created="Mon, 5 Aug 2013 17:08:18 +0000"  >&lt;p&gt;Sebastien,&lt;br/&gt;
could you try &lt;a href=&quot;http://review.whamcloud.com/#/c/7232/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7232/&lt;/a&gt; please ?&lt;/p&gt;</comment>
                            <comment id="64077" author="pjones" created="Mon, 12 Aug 2013 13:08:42 +0000"  >&lt;p&gt;Sebastien&lt;/p&gt;

&lt;p&gt;Any word as to whether this patch solves the problem for you?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="64078" author="patrick.valentin" created="Mon, 12 Aug 2013 13:44:57 +0000"  >&lt;p&gt;Peter, Alex,&lt;br/&gt;
S&#233;bastien is out of his office for 2 weeks and will be back on next monday (august 19).&lt;br/&gt;
Patrick&lt;/p&gt;</comment>
                            <comment id="64591" author="sebastien.buisson" created="Tue, 20 Aug 2013 12:08:13 +0000"  >&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;I can confirm that this patch (&lt;a href=&quot;http://review.whamcloud.com/#/c/7232/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7232/&lt;/a&gt;) solves the problem for me.&lt;br/&gt;
Is it possible to also have it on b2_4?&lt;/p&gt;

&lt;p&gt;TIA,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="64751" author="spitzcor" created="Wed, 21 Aug 2013 16:33:44 +0000"  >&lt;p&gt;If &apos;mkfs.lustre --writeconf&apos; is flat broke, why didn&apos;t we catch this prior to 2.4.0?&lt;/p&gt;</comment>
                            <comment id="67089" author="adilger" created="Fri, 20 Sep 2013 05:46:22 +0000"  >&lt;p&gt;Hmm, I&apos;ve made a patch &lt;a href=&quot;http://review.whamcloud.com/7443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7443&lt;/a&gt; which adds the &quot;mkfs.lustre --replace|-R&quot; option that allows you to format a replacement OST in a single step. That is more intuitive IMHO than mkfs.lustre + tunefs.lustre --writeconf. &lt;/p&gt;</comment>
                            <comment id="67090" author="bzzz" created="Fri, 20 Sep 2013 05:48:45 +0000"  >&lt;p&gt;yes, this approach looks better.&lt;/p&gt;</comment>
                            <comment id="67096" author="sebastien.buisson" created="Fri, 20 Sep 2013 08:47:04 +0000"  >&lt;p&gt;Well, this is getting complicated.&lt;/p&gt;

&lt;p&gt;Why adding another flag to do this? If you do not want writeconf to have precedence over virgin by default, I would suggest to modify the already existing &apos;--reformat&apos; flag so that it unsets the LDD_F_VIRGIN flag. Additionally, it looks like LDD_F_WRITECONF should be set at the same time, otherwise the MGS may refuse registration of the target.&lt;/p&gt;

&lt;p&gt;Moreover, it should be documented somewhere that &apos;--writeconf&apos; flag of mkfs.lustre is ignored starting with 2.4.&lt;/p&gt;

&lt;p&gt;What do you think?&lt;/p&gt;

&lt;p&gt;Sebastien.&lt;/p&gt;</comment>
                            <comment id="67133" author="adilger" created="Fri, 20 Sep 2013 16:32:01 +0000"  >&lt;p&gt;The main reason for having a separate flag from &lt;tt&gt;&amp;#45;&amp;#45;reformat&lt;/tt&gt; (which is setting &lt;tt&gt;VIRGIN&lt;/tt&gt; exactly &lt;em&gt;because&lt;/em&gt; it is a new filesystem) is that there is some chance of the admin making a mistake assigning the OST index, and then we may have two OSTs with the same index.  If the &lt;tt&gt;&amp;#45;&amp;#45;reformat&lt;/tt&gt; (with &lt;tt&gt;VIRGIN&lt;/tt&gt;) OST connects to the MGS and it has a duplicate index it will get an error back.  It takes an extra flag (&lt;tt&gt;&amp;#45;&amp;#45;replace&lt;/tt&gt;) to indicate that the admin knows that this just-reformatted OST is replacing the previous OST at the same index.&lt;/p&gt;</comment>
                            <comment id="67654" author="sebastien.buisson" created="Thu, 26 Sep 2013 07:40:14 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have tested the patch at &lt;a href=&quot;http://review.whamcloud.com/7443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7443&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For us it does the trick. Now, when we need to reformat a new target to replace an existing one, we use &apos;&amp;#45;&amp;#45;reformat &amp;#45;&amp;#45;replace&apos; instead of &apos;&amp;#45;&amp;#45;reformat &amp;#45;&amp;#45;writeconf&apos;.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="67776" author="pjones" created="Thu, 26 Sep 2013 22:21:04 +0000"  >&lt;p&gt;Great! So, that patch has landed for 2.5.0 so it sound like this ticket can be closed&lt;/p&gt;</comment>
                            <comment id="67799" author="sebastien.buisson" created="Fri, 27 Sep 2013 07:38:16 +0000"  >&lt;p&gt;Would it be possible to please have the patch &lt;a href=&quot;http://review.whamcloud.com/7443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7443&lt;/a&gt; landed to 2.4 too?&lt;/p&gt;</comment>
                            <comment id="67807" author="pjones" created="Fri, 27 Sep 2013 12:31:00 +0000"  >&lt;p&gt;Of course - when we start thinking about 2.4.2 this will definitely be under consideration.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="10110">LU-14</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|hzvv3r:</customfieldvalue>

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