<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:40:35 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-11060] mkfs.lustre cli command not supported  in 2.11</title>
                <link>https://jira.whamcloud.com/browse/LU-11060</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;the mkfs.lustre cli is not supported under 2.11 release of lustre:&lt;/p&gt;

&lt;p&gt;Below is the list of components installed on the server:&lt;/p&gt;

&lt;p&gt;&#160;dkms status&lt;/p&gt;

&lt;p&gt;lustre-all, 2.11.0, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed&lt;/p&gt;

&lt;p&gt;spl, 0.7.6, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed&lt;/p&gt;

&lt;p&gt;zfs, 0.7.6, 3.10.0-693.21.1.el7_lustre.x86_64, x86_64: installed&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;we are able to create the zfs pools:&lt;/p&gt;

&lt;p&gt;&#160;zpool create -f -O canmount=off -o cachefile=none mgspool mirror sdb sdc&lt;/p&gt;

&lt;p&gt;zpool status&lt;/p&gt;

&lt;p&gt;&#160; pool: mgspool&lt;/p&gt;

&lt;p&gt;&#160;state: ONLINE&lt;/p&gt;

&lt;p&gt;&#160; scan: none requested&lt;/p&gt;

&lt;p&gt;config:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;NAME&#160; &#160; &#160; &#160; STATE &#160; &#160; READ WRITE CKSUM&lt;/p&gt;

&lt;p&gt;mgspool &#160; &#160; ONLINE &#160; &#160; &#160; 0 &#160; &#160; 0 &#160; &#160; 0&lt;/p&gt;

&lt;p&gt;&#160; mirror-0&#160; ONLINE &#160; &#160; &#160; 0 &#160; &#160; 0 &#160; &#160; 0&lt;/p&gt;

&lt;p&gt;&#160; &#160; sdb &#160; &#160; ONLINE &#160; &#160; &#160; 0 &#160; &#160; 0 &#160; &#160; 0&lt;/p&gt;

&lt;p&gt;&#160; &#160; sdc &#160; &#160; ONLINE &#160; &#160; &#160; 0 &#160; &#160; 0 &#160; &#160; 0&lt;/p&gt;

&lt;p&gt;&#160;however the mfs.lustre cli fails:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;mkfs.lustre --mgs --fsname=$NAME --reformat --servicenode=$MGS_NID --servicenode=$MDT_NID --mgsnode=$MGS_NID --mgsnode=$MDT_NID --backfstype=zfs mgspool/mgt&lt;/p&gt;

&lt;p&gt;mkfs.lustre: command not found!!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Has this been deprecated or is there something missing ?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;thanks,&lt;/p&gt;

&lt;p&gt;Abe&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="52415">LU-11060</key>
            <summary>mkfs.lustre cli command not supported  in 2.11</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="10000">Done</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="abea@supermicro.com">Abe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 May 2018 09:40:02 +0000</created>
                <updated>Wed, 8 Aug 2018 17:41:18 +0000</updated>
                            <resolved>Wed, 8 Aug 2018 17:41:18 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="228712" author="adilger" created="Mon, 28 May 2018 23:33:25 +0000"  >&lt;p&gt;The mkfs.lustre tool is still in use and needs to be installed from the RPL. Almost certainly something is missing.  This is a standard command that is still in use. &lt;/p&gt;

&lt;p&gt;You can try &quot;which mkfs.lustre&quot; to check if it is in your path, or &quot;rpm -ql &amp;lt;package&amp;gt;&quot;&lt;/p&gt;</comment>
                            <comment id="228737" author="abea@supermicro.com" created="Tue, 29 May 2018 05:57:37 +0000"  >&lt;p&gt;You are right Andreas,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;the lustre rpm was not installed although dams shows as installed:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;yum install lustre-2.11.0-1.el7.x86_64.rpm &#160; &#160;&lt;/p&gt;

&lt;p&gt;mkfs.lustre&lt;/p&gt;

&lt;p&gt;&#160;modprobe lustre&lt;/p&gt;

&lt;p&gt;&#160;modprobe zfs&lt;/p&gt;

&lt;p&gt;&#160;modprobe lnet&lt;/p&gt;

&lt;p&gt;&#160; lctl network up&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;and it is working now:&lt;/p&gt;

&lt;p&gt;mkfs.lustre --mgs --fsname=$NAME --reformat --servicenode=$MGS_NID --servicenode=$MDT_NID --mgsnode=$MGS_NID --mgsnode=$MDT_NID --backfstype=zfs mgspool/mgt&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;mgspool/mgt on /mnt/lustre/mgt type lustre (ro,seclabel,svname=MGS,nosvc,mgs,osd=osd-zfs)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Also do you know of documentation on how to setup data on metadata feature in 2.11 release ?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks &amp;amp; Best Regards,&lt;/p&gt;

&lt;p&gt;Abe&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="228743" author="adilger" created="Tue, 29 May 2018 09:15:48 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.hpdd.intel.com/secure/attachment/28729/DOM_user_guide.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/secure/attachment/28729/DOM_user_guide.pdf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="229027" author="abea@supermicro.com" created="Mon, 4 Jun 2018 07:01:24 +0000"  >&lt;p&gt;thanks Andreas for providing info this, one more question are there any default settings already for the strip size etc or does the user has to set these params before using metadata servers ?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Abe&lt;/p&gt;</comment>
                            <comment id="229198" author="adilger" created="Wed, 6 Jun 2018 09:11:58 +0000"  >&lt;p&gt;There are several levels of default values for file layouts.  In order of &lt;b&gt;increasing&lt;/b&gt; priority&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;at the lowest level are the default values that are compiled into the code if no other values are available, namely &lt;tt&gt;stripe_count=1&lt;/tt&gt; and &lt;tt&gt;stripe_size=1MB&lt;/tt&gt; (which only really matters for multi-stripe files)&lt;/li&gt;
	&lt;li&gt;there are default values that can be specified at format time with &lt;tt&gt;-&lt;del&gt;param=lov.stripesize=1M&lt;/tt&gt; and &lt;tt&gt;&lt;/del&gt;-param=lov.stripecount=1&lt;/tt&gt; (or whatever) which apply to all files unless some other layout is specified&lt;/li&gt;
	&lt;li&gt;there may be a default layout stored on the filesystem root directory using &lt;tt&gt;lfs setstripe ... &amp;lt;mountpoint&amp;gt;&lt;/tt&gt; (typically by the sysadmin) to allow plain (RAID-0) or composite (PFL) layouts to be specified for all new files created in the filesystem that don&apos;t have any other layout&lt;/li&gt;
	&lt;li&gt;there may be a default layout stored on the parent directory (normally by the user) using &lt;tt&gt;lfs setstripe ... &amp;lt;parent_directory&amp;gt;&lt;/tt&gt; that is used for all new files created in that directory, and also copied to new subdirectories created therein&lt;/li&gt;
	&lt;li&gt;the user may specify a layout specifically for that file using &lt;tt&gt;lfs setstripe ... &amp;lt;filename&amp;gt;&lt;/tt&gt; that is used preferentially, though it will inherit parameters from the parent/root directory or filesystem-wide defaults if some parameter is not specified (e.g. stripe size, pool, etc)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="231654" author="adilger" created="Wed, 8 Aug 2018 17:41:18 +0000"  >&lt;p&gt;Closing this ticket as questions have been answered.&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|hzzxvr:</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>