<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On Mar 19, 2020, at 12:56, Lana Deere &lt;<a href="mailto:lana.deere@gmail.com" class="">lana.deere@gmail.com</a>&gt; wrote:<br class="">
<div>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">The MDT shows 6% of storage in use and 9% of inodes in use.&nbsp; The OST, however, shows 46% of storage and 100% of inodes in use (12 free).&nbsp; (There is only one OST on this particular file system.)&nbsp;&nbsp; I suppose if a lot of files are deleted, the system
 will recover, but then I'm not sure why I couldn't create any files after deleting a few.</div>
<div class=""><br class="">
</div>
<div class="">Is there any way to increase the number of inodes on the OST without losing the data currently on the filesystem?</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
That depends on the storage that the OST is on. &nbsp;You can use &quot;resize2fs&quot; on the OST if the underlying stoage is LVM or similar that can be resized. &nbsp;Increasing the OST size adds inodes proportional to the added capacity.</div>
<div><br class="">
</div>
<div>The more common option for adding capacity to Lustre is to add another OST. &nbsp;Based on your earlier comments, you should probably double the inodes per unit space (reduce the bytes per inode ratio like &quot;mkfs.lustre --mkfsoptions='-i 131072' ...&quot; or similar)
 compared to the first OST. &nbsp;You can work out the average bytes per inode on the OST based on the (used OST capacity / used inodes).</div>
<div><br class="">
</div>
<div>Cheers, Andreas</div>
<div>&nbsp;<br class="">
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div dir="ltr" data-smartmail="gmail_signature" class=""><br class="">
.. Lana (<a href="mailto:lana.deere@gmail.com" target="_blank" class="">lana.deere@gmail.com</a>)<br class="">
<br class="">
<br class="">
</div>
</div>
<br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 19, 2020 at 2:13 PM Degremont, Aurelien &lt;<a href="mailto:degremoa@amazon.com" target="_blank" class="">degremoa@amazon.com</a>&gt; wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR" class="">
<div class="">
<p class="MsoNormal"><span lang="EN-US" class="">Hi Lana,<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">Lustre dispatches the data across several servers, MDTs and OSTs. It is likely that one of this OST is full.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">To see the usage per sub-component, you should check:<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">lfs df -h<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">lfs df -ih<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">See if this reports one OSTs or MDT is full.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class="">Aurélien<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u>&nbsp;<u class=""></u></span></p>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm" class="">
<p class="MsoNormal" style="margin-left:35.4pt"><b class=""><span style="font-size: 12pt;" class="">De&nbsp;:
</span></b><span style="font-size: 12pt;" class="">lustre-discuss &lt;<a href="mailto:lustre-discuss-bounces@lists.lustre.org" target="_blank" class="">lustre-discuss-bounces@lists.lustre.org</a>&gt; au nom de Lana Deere &lt;<a href="mailto:lana.deere@gmail.com" target="_blank" class="">lana.deere@gmail.com</a>&gt;<br class="">
<b class="">Date&nbsp;: </b>jeudi 19 mars 2020 à 19:08<br class="">
<b class="">À&nbsp;: </b>&quot;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" class="">lustre-discuss@lists.lustre.org</a>&quot; &lt;<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank" class="">lustre-discuss@lists.lustre.org</a>&gt;<br class="">
<b class="">Objet&nbsp;: </b>[EXTERNAL] [lustre-discuss] &quot;no space on device&quot;</span>&nbsp;</p>
</div>
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt"><u class=""></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u class=""></u></p>
<div class="">
<div class="">
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt">I have a Lustre 2.12 setup running on CentOS 7.&nbsp; It has been working fine for some months but last night one of my users tried to untar a large file, which (among other things) created a single directory containing
 several million subdirectories.&nbsp; At that point the untar failed, reporting &quot;no space on device&quot;.&nbsp; All attempts to create a file on this Lustre system now produce the same error message, but &quot;df&quot; and &quot;df -i&quot; indicate there is plenty of space and inodes left.&nbsp;
 I checked the mount point on the metadata node and it appears to have plenty of space left too.<u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt"><u class=""></u>&nbsp;<u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt">I can list directories and view files on this filesystem.&nbsp; I can delete files or directories on it.&nbsp; But even after removing a few files and a directory I cannot create a new file.<u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt"><u class=""></u>&nbsp;<u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal" style="margin-left:35.4pt">If anyone can offer some help here it would be appreciated.<u class=""></u><u class=""></u></p>
</div>
<div class="">
<div class="">
<div class="">
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12pt;margin-left:35.4pt">
<br class="">
.. Lana (<a href="mailto:lana.deere@gmail.com" target="_blank" class="">lana.deere@gmail.com</a>)<br class="">
<br class="">
<u class=""></u><u class=""></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
_______________________________________________<br class="">
lustre-discuss mailing list<br class="">
<a href="mailto:lustre-discuss@lists.lustre.org" class="">lustre-discuss@lists.lustre.org</a><br class="">
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org<br class="">
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Principal Lustre Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>