<html><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); ">On 2011-07-01, at 12:03 PM, Aaron Everett <<a href="mailto:aeverett@forteds.com">aeverett@forteds.com</a>> wrote:</span></div><blockquote type="cite"><div><div>I'm trying to increase the number of inodes available on our shared mdt/mgs. I've tried reformatting using the following:</div><div><br></div><div> mkfs.lustre --fsname fdfs --mdt --mgs --mkfsoptions="-i 2048" --reformat /dev/sdb</div>

<div><br></div><div>The number of inodes actually decreased when I specified -i 2048 vs. leaving the number at default. </div></div></blockquote><div><br></div>This os a bit of an anomaly in how 1.8 reports the inode count. You actually do have more inodes on the MDS, but because the MDS might need to use an external block to store the striping layout, it limits the returned inode count to the worst case usage. As the filesystem fills and these external blck<div><br><blockquote type="cite"><div><div>We have a large number of smaller files, and we're nearing our inode limit on our mdt/mgs. I'm trying to find a solution before simply expanding the RAID on the server. Since there is plenty of disk space, changing the bytes per inode seemed like a simple solution. </div>

<div><br></div><div>From the docs:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; background-color: rgb(255, 255, 255); font-size: medium; ">Alternately, if you are specifying an absolute number of inodes, use the<kbd class="Command" style="font-family: courier; white-space: pre; ">-N</kbd> <number of inodes> option. You should not specify the <kbd class="Command" style="font-family: courier; white-space: pre; ">-i</kbd> option with an inode ratio below one inode per 1024 bytes in order to avoid unintentional mistakes. Instead, use the <kbd class="Command" style="font-family: courier; white-space: pre; ">-N</kbd> option.</span></div>

<div><br></div><div>What is the format of the -N flag, and how should I calculate the number to use? Thanks for your help!</div><br clear="all">Aaron <br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Lustre-discuss mailing list</span><br><span><a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a></span><br><span><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a></span><br></div></blockquote></div></body></html>