<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:23:54 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-9176] ZFS MDT sizing. 7TB of MDT shows LFS support for 215M files?</title>
                <link>https://jira.whamcloud.com/browse/LU-9176</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;LFS configuration with two DNE2 MDTs, one MDT per MDS pair. LFS shows support for 215M files.&lt;/p&gt;

&lt;p&gt;MDT0000: 3.3TB zpool&lt;br/&gt;
MDT0001: 3.7TB zpool&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;lfs df&lt;br/&gt;
UUID                   1K-blocks        Used   Available Use% Mounted on&lt;br/&gt;
data-0-MDT0000_UUID   3374354432        9472  3374342912   0% /mnt/data-0&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
data-0-MDT0001_UUID   3749283200        9344  3749271808   0% /mnt/data-0&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:1&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;lfs df -i&lt;br/&gt;
UUID                      Inodes       IUsed       IFree IUse% Mounted on&lt;br/&gt;
data-0-MDT0000_UUID    102359233         259   102358974   0% /mnt/data-0&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:0&amp;#93;&lt;/span&gt;&lt;br/&gt;
data-0-MDT0001_UUID    113503655         248   113503407   0% /mnt/data-0&lt;span class=&quot;error&quot;&gt;&amp;#91;MDT:1&amp;#93;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;A single 3.3TB MDT should result in ~800M files. A 3.3TB and 3.7TB MDT I should be seeing a lot more than 215M files.&lt;/p&gt;

&lt;p&gt;What am I missing?&lt;/p&gt;
</description>
                <environment>CentOS 7.3, EE 3.1.0.3, ZFS 0.6.5.7</environment>
        <key id="44242">LU-9176</key>
            <summary>ZFS MDT sizing. 7TB of MDT shows LFS support for 215M files?</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="1">Fixed</resolution>
                                        <assignee username="jgmitter">Joseph Gmitter</assignee>
                                    <reporter username="aeonjeffj">Jeff Johnson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Mar 2017 23:13:30 +0000</created>
                <updated>Sat, 18 Mar 2017 13:39:40 +0000</updated>
                            <resolved>Thu, 16 Mar 2017 22:03:12 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.8.0</version>
                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="186707" author="aeonjeffj" created="Wed, 1 Mar 2017 23:33:31 +0000"  >&lt;p&gt;I seem to recall this being a ZFS &quot;feature&quot; (peculiarity). &lt;/p&gt;

&lt;p&gt;MDT0000: 3455338938368 bytes&lt;br/&gt;
MDT0001: 3839265996800 bytes&lt;br/&gt;
Total: 7294604935168 bytes  /  215862888  =  approx 33793 bytes per inode&lt;/p&gt;

&lt;p&gt;Seems a bit high.&lt;/p&gt;</comment>
                            <comment id="186709" author="adilger" created="Thu, 2 Mar 2017 00:03:15 +0000"  >&lt;p&gt;Jeff, the number of available inodes in the ZFS filesystem is an estimate based on the average space used per file so far, since there isn&apos;t a fixed inode table.  If the MDTs are mostly empty (only ~250 inodes allocated), which are mostly directories (e.g. 128 &lt;tt&gt;OI.n&lt;/tt&gt; ZAPs and 32 directories per &lt;tt&gt;O/{0,1,10,200000003&lt;/tt&gt;} created at mount time), then the numbers will be skewed to a very conservative inode count estimate.&lt;/p&gt;

&lt;p&gt;If you create a few thousand regular files this should get closer to the expected 4KB/inode for ZFS, as described in &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#settinguplustresystem.tab2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#settinguplustresystem.tab2&lt;/a&gt; .  I&apos;m updating the &quot;Determining MDT Space Requirements&quot; section of the manual to contain more information about ZFS.&lt;/p&gt;</comment>
                            <comment id="186710" author="adilger" created="Thu, 2 Mar 2017 00:04:18 +0000"  >&lt;p&gt;Presumably you haven&apos;t set a &lt;tt&gt;recordsize=N&lt;/tt&gt; option on the MDT in this case?&lt;/p&gt;</comment>
                            <comment id="186711" author="aeonjeffj" created="Thu, 2 Mar 2017 00:06:00 +0000"  >&lt;p&gt;No, I left it at default after learning the hard way in the past about setting the recordsize to too low of a number.&lt;/p&gt;</comment>
                            <comment id="186726" author="adilger" created="Thu, 2 Mar 2017 01:39:16 +0000"  >&lt;p&gt;I updated the MDT sizing manual in &lt;a href=&quot;https://review.whamcloud.com/25713&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25713&lt;/a&gt; , and a formatted version of this section is available at &lt;a href=&quot;https://build.hpdd.intel.com/job/lustre-manual-reviews/754/artifact/lustre_manual.xhtml#dbdoclet.space_requirements&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.hpdd.intel.com/job/lustre-manual-reviews/754/artifact/lustre_manual.xhtml#dbdoclet.space_requirements&lt;/a&gt; if you are interested.&lt;/p&gt;</comment>
                            <comment id="186896" author="gerrit" created="Fri, 3 Mar 2017 09:56:29 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/25743&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25743&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9176&quot; title=&quot;ZFS MDT sizing. 7TB of MDT shows LFS support for 215M files?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9176&quot;&gt;&lt;del&gt;LU-9176&lt;/del&gt;&lt;/a&gt; osd-zfs: improve statfs estimate for ZFS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4df3840ae497820904caee074d9e30e649da8e61&lt;/p&gt;</comment>
                            <comment id="187019" author="adilger" created="Fri, 3 Mar 2017 20:58:11 +0000"  >&lt;p&gt;Jeff, with the attached patch to fix up the inode estimation (increasing the number of &quot;synthetic average sized inodes&quot; added to the estimate when the filesystem is nearly empty, and fixing the calculation a bit) MDT0000 would report about 568M inodes (synthetic average inode size = 6KB rather than 33KB previously) when newly formatted, which is much closer to the expected 843M 4KB inodes for the 3.3TB filesystem.  With 40k real inodes in the filesystem, the synthetic average would only contribute 10% to the average, and at 1M inodes it would contribute only 0.4% to the average size.&lt;/p&gt;</comment>
                            <comment id="188686" author="gerrit" created="Thu, 16 Mar 2017 21:38:40 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/25743/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/25743/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9176&quot; title=&quot;ZFS MDT sizing. 7TB of MDT shows LFS support for 215M files?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9176&quot;&gt;&lt;del&gt;LU-9176&lt;/del&gt;&lt;/a&gt; osd-zfs: improve statfs estimate for ZFS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5e2b17964fd880a9763ba66151aab6091fb4813c&lt;/p&gt;</comment>
                            <comment id="188699" author="pjones" created="Thu, 16 Mar 2017 22:03:12 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzz5lj:</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>
                                                                <customfield id="customfield_10190" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Site Affected:</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GD</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>