<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:12 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-5867] LFSCK: --create_mdtobj flag does not work for &#8216;lctl lfsck_start&#8217;</title>
                <link>https://jira.whamcloud.com/browse/LU-5867</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When running &#8216;lctl lfsck_start&#8217; with the &#8216;--create_mdtobj&#8217; flag, we get an error:&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;# lctl lfsck_start -A -M scratch-MDT0000 -r -t namespace --create_mdtobj on
lfsck_start: unrecognized option &apos;--create_mdtobj&apos;
Invalid option, &apos;-h&apos; for help.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;When the &#8216;-C&#8217; option is used, there is no error, but &#8220;create_mdtobj&#8221; does not show up in the param line in the lfsck_namespace file:&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; 
# lctl lfsck_start -A -M scratch-MDT0000 -r -t namespace -c -C -o
Started LFSCK on the device scratch-MDT0000: scrub namespace
# cat /proc/fs/lustre/mdd/scratch-MDT0000/lfsck_namespace 
name: lfsck_namespace
magic: 0xa0629d03
version: 2
status: completed
flags:
param: all_targets,orphan,create_ostobj,
time_since_last_completed: 9 seconds
&#8230;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;It looks like &#8220;create_mdtobj&#8221; needs to be added to the input options long_opt_start in lustre_lfsck.c&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; 
static struct option long_opt_start[] = {
        {&quot;device&quot;,              required_argument, 0, &apos;M&apos;},
        {&quot;all&quot;,                 no_argument,       0, &apos;A&apos;},
        {&quot;create_ostobj&quot;,       optional_argument, 0, &apos;c&apos;},
        {&quot;error&quot;,               required_argument, 0, &apos;e&apos;},
        {&quot;help&quot;,                no_argument,       0, &apos;h&apos;},
        {&quot;dryrun&quot;,              optional_argument, 0, &apos;n&apos;},
        {&quot;orphan&quot;,              no_argument,       0, &apos;o&apos;},
        {&quot;reset&quot;,               no_argument,       0, &apos;r&apos;},
        {&quot;speed&quot;,               required_argument, 0, &apos;s&apos;},
        {&quot;type&quot;,                required_argument, 0, &apos;t&apos;},
        {&quot;window_size&quot;,         required_argument, 0, &apos;w&apos;},
        {0,                     0,                 0,  0 }
};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and to the lfsck_param_names array in lfsck_lib.c&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; 
const char *lfsck_param_names[] = {
	NULL,
	&quot;failout&quot;,
	&quot;dryrun&quot;,
	&quot;all_targets&quot;,
	&quot;broadcast&quot;,
	&quot;orphan&quot;,
	&quot;create_ostobj&quot;,
	NULL
};
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;I will upload a patch for this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="27463">LU-5867</key>
            <summary>LFSCK: --create_mdtobj flag does not work for &#8216;lctl lfsck_start&#8217;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="1">Fixed</resolution>
                                        <assignee username="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>HB</label>
                            <label>LFSCK</label>
                    </labels>
                <created>Wed, 5 Nov 2014 15:21:49 +0000</created>
                <updated>Wed, 3 Dec 2014 14:41:16 +0000</updated>
                            <resolved>Wed, 3 Dec 2014 14:41:16 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="98429" author="jamesanunez" created="Wed, 5 Nov 2014 15:58:20 +0000"  >&lt;p&gt;Proposed patch at &lt;a href=&quot;http://review.whamcloud.com/#/c/12578/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/12578/1&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="99274" author="gerrit" created="Sat, 15 Nov 2014 06:56:46 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12578&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12578&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5867&quot; title=&quot;LFSCK: --create_mdtobj flag does not work for &#8216;lctl lfsck_start&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5867&quot;&gt;&lt;del&gt;LU-5867&lt;/del&gt;&lt;/a&gt; lfsck: Enable --create_mdtobj flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 3&lt;br/&gt;
Commit: 46d929fe9458d4ba76456003970017f9a9f248a4&lt;/p&gt;</comment>
                            <comment id="99275" author="gerrit" created="Sat, 15 Nov 2014 07:05:36 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12578&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12578&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5867&quot; title=&quot;LFSCK: --create_mdtobj flag does not work for &#8216;lctl lfsck_start&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5867&quot;&gt;&lt;del&gt;LU-5867&lt;/del&gt;&lt;/a&gt; lfsck: Enable --create_mdtobj flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 4&lt;br/&gt;
Commit: 8d359a765128825fc2f9e37aa9db6f9c0198097c&lt;/p&gt;</comment>
                            <comment id="100535" author="gerrit" created="Wed, 3 Dec 2014 02:27:53 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12578/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12578/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5867&quot; title=&quot;LFSCK: --create_mdtobj flag does not work for &#8216;lctl lfsck_start&#8217;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5867&quot;&gt;&lt;del&gt;LU-5867&lt;/del&gt;&lt;/a&gt; lfsck: Enable --create_mdtobj flag&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b5b882f05e2436f1419b5692cc567e92d1cb5b33&lt;/p&gt;</comment>
                            <comment id="100556" author="jlevi" created="Wed, 3 Dec 2014 14:41:16 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzx09j:</customfieldvalue>

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