<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:26: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-9501] Flag for mke2fs to automatically adjust number of inodes</title>
                <link>https://jira.whamcloud.com/browse/LU-9501</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In certain cases device size where filesystem is created is not know in advance, and it&apos;s impractical to try guess correct inode ratio to satisfy filesystem limitations (which is 4G inodes for ext4 and ldiskfs).&lt;br/&gt;
We need a flag to tell mke2fs to limit inode count to match current filesystem limits.&lt;br/&gt;
Example of current behavior:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# mke2fs  -i 1024 img
mke2fs 1.42.13.x2 (29-Sep-2016)
mke2fs: too many inodes (5269225472), raise inode ratio?
root@kvkvm1oem(0):~#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Proposed behavior (example only, feel free to change message text):&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# mke2fs  -i 1024 --adjust-inode-count img
mke2fs 1.42.13.x2 (29-Sep-2016)
mke2fs: too many inodes (5269225472), changing to &amp;lt;supported FS limit&amp;gt; 
... formatting continues ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="46083">LU-9501</key>
            <summary>Flag for mke2fs to automatically adjust number of inodes</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="1">Fixed</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                            <label>e2fsprogs</label>
                            <label>patch</label>
                    </labels>
                <created>Mon, 15 May 2017 12:26:18 +0000</created>
                <updated>Sat, 16 Sep 2017 01:39:12 +0000</updated>
                            <resolved>Sat, 16 Sep 2017 01:39:12 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="195801" author="adilger" created="Mon, 15 May 2017 12:43:29 +0000"  >&lt;p&gt;I think if you don&apos;t specify &quot;-I&quot; then it will cap the inode count at 4B? &lt;/p&gt;

&lt;p&gt;In any case, I think that this should really be a fix in mke2fs and should probably be discussed on the linux-ext4 mailing list?&lt;/p&gt;</comment>
                            <comment id="195803" author="artem_blagodarenko" created="Mon, 15 May 2017 13:02:41 +0000"  >&lt;p&gt;Hello Andreas.&lt;/p&gt;

&lt;p&gt;Thank you for quick answer. I am agree that mke2fs requires such useful modification. But this feature is very important now for customers running Lustre FS. Currently users which what to create custom large enough cluster, hit this error message and need to readjust config scripts manually, that stops deployment with other automatic parts. This little fix solves the problem and make customers happy. Can we apply it now and switch to another one from ext4 latter?&lt;/p&gt;

&lt;p&gt;Anyway I will upload this patch here. It can be useful if we decide land it or sent patch to linux-ext4.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="195812" author="adilger" created="Mon, 15 May 2017 14:03:16 +0000"  >&lt;p&gt;IMHO, I don&apos;t think we even need an option for this?  Just limit the inode count to 4B inodes automatically rather than returning an error. &lt;/p&gt;</comment>
                            <comment id="195838" author="gerrit" created="Mon, 15 May 2017 15:30:03 +0000"  >&lt;p&gt;Artem Blagodarenko (artem.blagodarenko@seagate.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/27111&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27111&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9501&quot; title=&quot;Flag for mke2fs to automatically adjust number of inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9501&quot;&gt;&lt;del&gt;LU-9501&lt;/del&gt;&lt;/a&gt; mke2fs: avoid inode number error with large FS&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d8b68ec2ccf56dd97cb7be30188d9f745206e534&lt;/p&gt;</comment>
                            <comment id="195839" author="artem_blagodarenko" created="Mon, 15 May 2017 15:31:39 +0000"  >&lt;p&gt;&amp;gt;Just limit the inode count to 4B inodes automatically rather than returning an error.&lt;br/&gt;
This patch exact this idea&lt;/p&gt;</comment>
                            <comment id="208556" author="gerrit" created="Sat, 16 Sep 2017 01:37:41 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/27111/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27111/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9501&quot; title=&quot;Flag for mke2fs to automatically adjust number of inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9501&quot;&gt;&lt;del&gt;LU-9501&lt;/del&gt;&lt;/a&gt; mke2fs: avoid inode number error with large FS&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ec44b0534beb51ce70bb9b997cbbad2476506b2a&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|hzzcpz:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>