<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
The t0 filesystem OSTs are formatted for an average file size of 70TB / 300M inodes = 240KB/inode.
<div><br>
</div>
<div>The t1 filesystem OSTs are formatted for an average file size of 500TB / 65M inodes = 7.7MB/inode.&nbsp;</div>
<div><br>
</div>
<div>So not only are the t1 OSTs larger, but they have fewer inodes (by a factor of 32x). This must have been done with specific formatting options since the default inode ratio is 1MiB/inode for the OSTs.</div>
<div><br>
</div>
<div>There isn't any information about the actual space usage (eg. &quot;lfs df&quot;), so I can't calculate whether the default 1MiB/inode would be appropriate for your filesystem, but definitely it was formatted with the expectation that the average file size would
 become larger as they were copied to t1 (eg. combined in a tarfile or something).</div>
<div><br>
</div>
<div>Unfortunately, there is no way to &quot;fix&quot; this in place, since the inode ratio for ldiskfs/ext4 filesystems is decided at format time.&nbsp;</div>
<div><br>
</div>
<div>One option is to use &quot;lfs find&quot; to find files on an OST (eg. OST0003 which is the least used), disable creates on that OST, and use &quot;lfs migrate&quot; to migrate all of the files to other OSTs, and then reformat the OST with more inodes and repeat this process
 for all of the OSTs.&nbsp;</div>
<div><br>
</div>
<div>Unfortunately, the t1 filesystem only has 8.5M free inodes and there are 27M inodes on OST0003, so it couldn't be drained completely to perform this process. You would need to delete enough files from t1 to free up inodes to do the migration, or eg. tar
 them up into larger files to reduce the inode count.&nbsp;</div>
<div><br>
</div>
<div>The OST migration/replacement process is described in the Lustre Operations Manual.&nbsp;</div>
<div><br>
<div dir="ltr">Cheers, Andreas</div>
<div dir="ltr"><br>
<blockquote type="cite">On Aug 11, 2023, at 01:17, Carlos Adean via lustre-discuss &lt;lustre-discuss@lists.lustre.org&gt; wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">\ufeff
<div dir="ltr">
<div>Hello experts,<br>
</div>
<div><br>
</div>
<div>We have a Lustre with two tiers T0(SSD) and T1(HDD), the first with 70TB and the second one with ~500TB.</div>
<div><br>
</div>
<div>I'm experiencing a problem that the T1 has much less inodes than T0 and that is getting without inodes in the OSTs, so I'd like to understand the source of this and how to fix that.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><span style="font-family:times new roman,serif">=== T0</span></div>
<div><br>
</div>
<div>$ <span style="font-family:times new roman,serif">lfs df -i /lustre/t0<br>
UUID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Inodes &nbsp; &nbsp; &nbsp; IUsed &nbsp; &nbsp; &nbsp; IFree IUse% Mounted on<br>
t0-MDT0000_UUID &nbsp; &nbsp; &nbsp; &nbsp;390627328 &nbsp; &nbsp; 1499300 &nbsp; 389128028 &nbsp; 1% /lustre/t0[MDT:0]<br>
t0-OST0000_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097442 &nbsp; &nbsp;13553950 &nbsp; 8% /lustre/t0[OST:0]<br>
t0-OST0001_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097492 &nbsp; &nbsp;13553900 &nbsp; 8% /lustre/t0[OST:1]<br>
t0-OST0002_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097331 &nbsp; &nbsp;13554061 &nbsp; 8% /lustre/t0[OST:2]<br>
t0-OST0003_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097563 &nbsp; &nbsp;13553829 &nbsp; 8% /lustre/t0[OST:3]<br>
t0-OST0004_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097576 &nbsp; &nbsp;13553816 &nbsp; 8% /lustre/t0[OST:4]<br>
t0-OST0005_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097505 &nbsp; &nbsp;13553887 &nbsp; 8% /lustre/t0[OST:5]<br>
t0-OST0006_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097524 &nbsp; &nbsp;13553868 &nbsp; 8% /lustre/t0[OST:6]<br>
t0-OST0007_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097596 &nbsp; &nbsp;13553796 &nbsp; 8% /lustre/t0[OST:7]<br>
t0-OST0008_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097442 &nbsp; &nbsp;13553950 &nbsp; 8% /lustre/t0[OST:8]<br>
t0-OST0009_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097563 &nbsp; &nbsp;13553829 &nbsp; 8% /lustre/t0[OST:9]<br>
t0-OST000a_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1097515 &nbsp; &nbsp;13553877 &nbsp; 8% /lustre/t0[OST:10]<br>
t0-OST000b_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096524 &nbsp; &nbsp;13554868 &nbsp; 8% /lustre/t0[OST:11]<br>
t0-OST000c_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096608 &nbsp; &nbsp;13554784 &nbsp; 8% /lustre/t0[OST:12]<br>
t0-OST000d_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096524 &nbsp; &nbsp;13554868 &nbsp; 8% /lustre/t0[OST:13]<br>
t0-OST000e_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096641 &nbsp; &nbsp;13554751 &nbsp; 8% /lustre/t0[OST:14]<br>
t0-OST000f_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096647 &nbsp; &nbsp;13554745 &nbsp; 8% /lustre/t0[OST:15]<br>
t0-OST0010_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096705 &nbsp; &nbsp;13554687 &nbsp; 8% /lustre/t0[OST:16]<br>
t0-OST0011_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096616 &nbsp; &nbsp;13554776 &nbsp; 8% /lustre/t0[OST:17]<br>
t0-OST0012_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096520 &nbsp; &nbsp;13554872 &nbsp; 8% /lustre/t0[OST:18]<br>
t0-OST0013_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096598 &nbsp; &nbsp;13554794 &nbsp; 8% /lustre/t0[OST:19]<br>
t0-OST0014_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096669 &nbsp; &nbsp;13554723 &nbsp; 8% /lustre/t0[OST:20]<br>
t0-OST0015_UUID &nbsp; &nbsp; &nbsp; &nbsp; 14651392 &nbsp; &nbsp; 1096570 &nbsp; &nbsp;13554822 &nbsp; 8% /lustre/t0[OST:21]<br>
<br>
filesystem_summary: &nbsp; &nbsp;299694753 &nbsp; &nbsp; 1499300 &nbsp; 298195453 &nbsp; 1% /lustre/t0</span></div>
<div><span style="font-family:times new roman,serif"><br>
</span></div>
<div><span style="font-family:times new roman,serif"><br>
</span></div>
<div><span style="font-family:times new roman,serif">=== T1</span></div>
<div>
<pre class="gmail-wiki">$ &nbsp;lfs df -i /lustre/t1<br>UUID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Inodes &nbsp; &nbsp; &nbsp; IUsed &nbsp; &nbsp; &nbsp; IFree IUse% Mounted on<br>t1-MDT0000_UUID &nbsp; &nbsp; &nbsp; 1478721536 &nbsp; &nbsp;56448788 &nbsp;1422272748 &nbsp; 4% /lustre/t1[MDT:0]<br>t1-OST0000_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491899 &nbsp; &nbsp; &nbsp; &nbsp; 133 100% /lustre/t1[OST:0]<br>t1-OST0001_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491990 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;42 100% /lustre/t1[OST:1]<br>t1-OST0002_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491916 &nbsp; &nbsp; &nbsp; &nbsp; 116 100% /lustre/t1[OST:2]<br>t1-OST0003_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;27471050 &nbsp; &nbsp; 3020982 &nbsp;91% /lustre/t1[OST:3]<br>t1-OST0004_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491989 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;43 100% /lustre/t1[OST:4]<br>t1-OST0005_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491960 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;72 100% /lustre/t1[OST:5]<br>t1-OST0006_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491948 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;84 100% /lustre/t1[OST:6]<br>t1-OST0007_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;30491939 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;93 100% /lustre/t1[OST:7]<br>t1-OST0008_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29811803 &nbsp; &nbsp; &nbsp;680229 &nbsp;98% /lustre/t1[OST:8]<br>t1-OST0009_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29808261 &nbsp; &nbsp; &nbsp;683771 &nbsp;98% /lustre/t1[OST:9]<br>t1-OST000a_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29809919 &nbsp; &nbsp; &nbsp;682113 &nbsp;98% /lustre/t1[OST:10]<br>t1-OST000b_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29807585 &nbsp; &nbsp; &nbsp;684447 &nbsp;98% /lustre/t1[OST:11]<br>t1-OST000c_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29809171 &nbsp; &nbsp; &nbsp;682861 &nbsp;98% /lustre/t1[OST:12]<br>t1-OST000d_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29804206 &nbsp; &nbsp; &nbsp;687826 &nbsp;98% /lustre/t1[OST:13]<br>t1-OST000e_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29806399 &nbsp; &nbsp; &nbsp;685633 &nbsp;98% /lustre/t1[OST:14]<br>t1-OST000f_UUID &nbsp; &nbsp; &nbsp; &nbsp; 30492032 &nbsp; &nbsp;29802857 &nbsp; &nbsp; &nbsp;689175 &nbsp;98% /lustre/t1[OST:15]<br><br>filesystem_summary: &nbsp; &nbsp; 64946408 &nbsp; &nbsp;56448788 &nbsp; &nbsp; 8497620 &nbsp;87% /lustre/t1<br></pre>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div></div>
<div>--<br>
</div>
<div>Carlos Adean</div>
<div></div>
<div><a href="http://www.linea.org.br" target="_blank">www.linea.org.br</a></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<p style="color:rgb(0,0,0);font-family:&quot;segoe ui&quot;,&quot;lucida sans&quot;,sans-serif;background-color:rgb(253,253,253)">
<span style="font-weight:bold;line-height:13.6px;font-family:arial,sans-serif;color:rgb(123,127,127)"><a href="https://www.linea.org.br/" rel="nofollow%20nofollow%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:x-small;font-family:verdana,sans-serif">\u200b</span><font size="2">Site</font></a><font size="2">&nbsp;|&nbsp;<a href="https://twitter.com/LIneA_org" rel="nofollow%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="color:rgb(17,85,204)" target="_blank">Twitter</a>&nbsp;|&nbsp;<a href="https://www.instagram.com/linea_org/" rel="nofollow%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="color:rgb(17,85,204)" target="_blank">Instagram</a>&nbsp;|&nbsp;<a href="https://www.facebook.com/linea.org" rel="nofollow%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer%20nofollow%20noopener%20noreferrer nofollow noopener noreferrer" style="color:rgb(17,85,204)" target="_blank"><span></span><wbr>Facebook</a>&nbsp;</font></span><span style="line-height:12.8px"><font size="2"><br>
<font color="#233a68" face="arial"><b>Laboratório Interinstitucional de e-Astronomia&nbsp;</b></font></font></span></p>
<span>_______________________________________________</span><br>
<span>lustre-discuss mailing list</span><br>
<span>lustre-discuss@lists.lustre.org</span><br>
<span>http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</span><br>
</div>
</blockquote>
</div>
</body>
</html>