<div dir="ltr"><b>IMO</b> there are two limiting factors<br><br>1. total number of inodes supported by MDT and<br>2.  OSTs  i.e. num_ost_inodes = 4 * number_of_mds_inodes * default_stripe_count / <b>number_of_osts</b><div style>
<br></div><div style>so your Q</div><div class="gmail_extra">I am not sure I understand this 100%, when adding an OST I do or don't<br>gain inodes?or you basically only get more inodes in the data part of<br>the filesystem but if you don't have enough inodes on the MDT you<br>
still have a problem?<br>A</div><div class="gmail_extra">Yes, if there are no enough inodes on MDT adding OSTs wont help much.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't think you can change no. of inodes w/o formatting. You might want to take a look at</div>
<div class="gmail_extra" style>lfs_migrate, on how to increase the no_of_inodes on OST's.</div><div class="gmail_extra"><br></div><div class="gmail_extra">HTH</div><div class="gmail_extra">p</div><div class="gmail_extra">
<br><div class="gmail_quote">On 19 June 2013 19:19, E.S. Rosenberg <span dir="ltr"><<a href="mailto:esr+lustre@mail.hebrew.edu" target="_blank">esr+lustre@mail.hebrew.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
"<br>
In a Lustre ldiskfs file system, all the inodes are allocated on the<br>
MDT and OSTs when the file system is first formatted. The total number<br>
of inodes on a formatted MDT or OST cannot be easily changed, although<br>
it is possible to add OSTs with additional space and corresponding<br>
inodes. Thus, the number of inodes created at format time should be<br>
generous enough to anticipate future expansion.<br>
"<br>
<a href="http://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#understandinglustre.fig.cluster" target="_blank">http://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#understandinglustre.fig.cluster</a><br>

<br><br>
<br>
Also if lustrefs is really based on ext4 doesn't ext4 support growing<br>
the amount of inodes with resize2fs?<br>
<br>
Thanks,<br>
Eli<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</blockquote></div><br></div></div>