<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:36:45 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-3768] &quot;tunefs.lustre: &apos;----index&apos; only valid for MDT,OST&quot; on a stand-alone MGS</title>
                <link>https://jira.whamcloud.com/browse/LU-3768</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This bug is easy to reproduce in the following steps:&lt;br/&gt;
1)mkfs.lustre a stand-alone MGS&lt;br/&gt;
2)tunefs.lustre that MGS&lt;/p&gt;

&lt;p&gt;Here is my output,&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@centos6-3 master]# lustre/utils/mkfs.lustre --mgs --device-size=100000 --reformat /tmp/lustre-mgs

   Permanent disk data:
Target:     MGS
Index:      unassigned
Lustre FS:  
Mount type: ldiskfs
Flags:      0x64
              (MGS first_time update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:

formatting backing filesystem ldiskfs on /dev/loop0
	target name  MGS
	4k blocks     25000
	options        -q -O uninit_bg,dir_nlink,quota,huge_file,flex_bg -E lazy_journal_init -F
mkfs_cmd = mke2fs -j -b 4096 -L MGS  -q -O uninit_bg,dir_nlink,quota,huge_file,flex_bg -E lazy_journal_init -F /dev/loop0 25000
Writing CONFIGS/mountdata

[root@centos6-3 master]# tunefs.lustre --erase-params /tmp/lustre-mgs
checking for existing Lustre data: found
Reading CONFIGS/mountdata

   Read previous values:
Target:     MGS
Index:      unassigned
Lustre FS:  
Mount type: ldiskfs
Flags:      0x44
              (MGS update )
Persistent mount opts: user_xattr,errors=remount-ro
Parameters:

tunefs.lustre: &apos;----index&apos; only valid for MDT,OST
tunefs.lustre v2.4.90
usage: tunefs.lustre &amp;lt;target type&amp;gt; [--backfstype=ldiskfs] --fsname=&amp;lt;filesystem name&amp;gt;
	--index=&amp;lt;target index&amp;gt; [options] &amp;lt;device&amp;gt;
	&amp;lt;device&amp;gt;:block device or file (e.g /dev/sda or /tmp/ost1)

	target types:
		--mgs: configuration management service
		--mdt: metadata storage, mutually exclusive with ost
		--ost: object storage, mutually exclusive with mdt, mgs
	options (in order of popularity):
		--index=#N: numerical target index (0..N)
			required for all targets other than the MGS
		--fsname=&amp;lt;8_char_filesystem_name&amp;gt;: fs targets belong to
			required for all targets other than MGS
		--mgsnode=&amp;lt;nid&amp;gt;[,&amp;lt;...&amp;gt;]: NID(s) of remote MGS
			required for all targets other than MGS
		--mountfsoptions=&amp;lt;opts&amp;gt;: permanent mount options
		--failnode=&amp;lt;nid&amp;gt;[,&amp;lt;...&amp;gt;]: NID(s) of backup failover node
			mutually exclusive with --servicenode
		--servicenode=&amp;lt;nid&amp;gt;[,&amp;lt;...&amp;gt;]: NID(s) of service partners
			treat nodes as equal service node, mutually exclusive with --failnode
		--param &amp;lt;key&amp;gt;=&amp;lt;value&amp;gt;: set a permanent parameter
			e.g. --param sys.timeout=40
			     --param lov.stripesize=2M
		--network=&amp;lt;net&amp;gt;[,&amp;lt;...&amp;gt;]: restrict OST/MDT to network(s)
		--erase-params: erase all old parameter settings
		--nomgs: turn off MGS service on this MDT
		--writeconf: erase all config logs for this fs.
		--quota: enable space accounting on old 2.x device.
		--comment=&amp;lt;user comment&amp;gt;: arbitrary string (824 bytes)
		--dryrun: report what we would do; don&apos;t write to disk
		--verbose: e.g. show mkfs progress
		--quiet
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I will fix it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="20368">LU-3768</key>
            <summary>&quot;tunefs.lustre: &apos;----index&apos; only valid for MDT,OST&quot; on a stand-alone MGS</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="emoly.liu">Emoly Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Aug 2013 01:00:53 +0000</created>
                <updated>Tue, 6 May 2014 07:05:53 +0000</updated>
                            <resolved>Tue, 3 Sep 2013 06:39:39 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="64385" author="emoly.liu" created="Fri, 16 Aug 2013 07:14:31 +0000"  >&lt;p&gt;patch track at &lt;a href=&quot;http://review.whamcloud.com/7353&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7353&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65575" author="emoly.liu" created="Tue, 3 Sep 2013 06:39:39 +0000"  >&lt;p&gt;patch landed for 2.5&lt;/p&gt;</comment>
                            <comment id="83267" author="spimpale" created="Tue, 6 May 2014 07:05:53 +0000"  >&lt;p&gt;Backported to b2_4: &lt;a href=&quot;http://review.whamcloud.com/#/c/10225/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10225/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="20143">LU-3682</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|hzvy3b:</customfieldvalue>

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