<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:39:28 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>[LUDOC-3] Document changes in mkfs.lustre defaults from LU-255</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-3</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-255&quot; title=&quot;use ext4 features by default for newly formatted filesystems&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-255&quot;&gt;&lt;del&gt;LU-255&lt;/del&gt;&lt;/a&gt; mkfs.lustre was changed to begin creating new OST and MDT filesystems with features only available in ext4-based ldiskfs.  As well, the default parameters for the number of inodes created on both MDT and OST filesystems was modified from their early, very conservative, values to ones that more accurately reflect the usage patterns of Lustre today.&lt;/p&gt;

&lt;p&gt;In particular:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;new features enabled by default, if installed e2fsprogs supports them:&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;flex_bg - aggregates bitmaps and inode tables for multiple groups&lt;br/&gt;
              together in order to avoid seeking when reading/writing&lt;br/&gt;
              the bitmaps, and reduce read/modify/write on RAID storage.&lt;br/&gt;
              This is enabled on both OST and MDT filesystems.  On MDT&lt;br/&gt;
              filesystems the flex_bg factor (the number of groups&apos;&lt;br/&gt;
              metadata co-located on disk) is left at the default 16,&lt;br/&gt;
              while on OSTs the flex_bg factor is set to 256, to allow&lt;br/&gt;
              all of the block or inode bitmaps in a single flex_bg to&lt;br/&gt;
              be read or written in a single IO on typical RAID storage.&lt;/li&gt;
	&lt;li&gt;huge_file-allow files on OSTs to be larger than 2TB in size.  This&lt;br/&gt;
              is still dependent on support from Lustre in order to use&lt;br/&gt;
              objects larger than 2TB&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;changes to the default number of inodes created on the filesystems&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;on MDTs the number of inodes created for a given size of filesystem&lt;br/&gt;
    is doubled compared to previous versions of Lustre.  There is now one&lt;br/&gt;
    inode created for each 2kB of LUN on which the filesystem is created,&lt;br/&gt;
    unless the amount of space needed for the filesystem default striping&lt;br/&gt;
    (as specified by the &quot;--stripe_count_hint=N&quot; option) is larger.&lt;/li&gt;
	&lt;li&gt;on OSTs the number of inodes created for larger LUNs is increased.&lt;br/&gt;
    As with previous versions of mkfs.lustre, it is possible to override&lt;br/&gt;
    the default inode ratio passing &quot;-i &amp;lt;ratio&amp;gt;&quot; option to --mkfsoptions.&lt;br/&gt;
    The inode ratio should be considered 
&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;              LUN size    inode ratio       total inodes
                &amp;lt; 10GiB   1 inode/16kiB      640-655k
             10GiB-1TiB   1 inode/68kiB     153k-15.7M
              1TiB-8TiB   1 inode/256kiB    4.2M-33.6M
                 &amp;gt; 8TiB   1 inode/1MiB      8.4M-134M
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;reduction in the time it takes to format a filesystem&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;enable the &quot;lazy_journal_init&quot; feature by default, to avoid a full&lt;br/&gt;
    overwrite of the 400MB journal that Lustre allocates by default.&lt;/li&gt;
	&lt;li&gt;on devices that support the SCSI UNMAP or ATA TRIM command and also&lt;br/&gt;
    return zeros on read of UNMAP/TRIM regions, the underlying device is&lt;br/&gt;
    completely erased at format time to avoid the need to zero out the&lt;br/&gt;
    blocks used by the journal and inode table, reducing format time&lt;br/&gt;
    significantly&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="10990">LUDOC-3</key>
            <summary>Document changes in mkfs.lustre defaults from LU-255</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="linda">Linda Bebernes</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>QContent</label>
                    </labels>
                <created>Thu, 19 May 2011 17:55:49 +0000</created>
                <updated>Fri, 1 Nov 2013 16:42:21 +0000</updated>
                            <resolved>Fri, 1 Nov 2013 16:42:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="24645" author="adilger" created="Tue, 13 Dec 2011 17:51:04 +0000"  >&lt;p&gt;Zhiqi, if you had any time to update the manual with these other changes, that would be great.&lt;/p&gt;</comment>
                            <comment id="68937" author="linda" created="Mon, 14 Oct 2013 21:10:39 +0000"  >&lt;p&gt;Changes pushed to gerrit. Ready for review at &lt;a href=&quot;http://review.whamcloud.com/#/c/7947/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/7947/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="70498" author="linda" created="Fri, 1 Nov 2013 16:42:21 +0000"  >&lt;p&gt;Changes reviewed and merged. Resolved.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="12592">LUDOC-23</subtask>
                            <subtask id="12664">LUDOC-27</subtask>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_10003" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Business Value</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <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|hzvl9r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7207</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>