<p dir="ltr"><br>
On Oct 24, 2014 5:33 PM, &quot;Devon B.&quot; &lt;<a href="mailto:devon.b@virtualcomplete.com">devon.b@virtualcomplete.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I think what Kir was getting at was set the diskinodes equal to 65536 x GiB before converting.  So for 40GiB, set diskinodes to 2621440</p>
<p dir="ltr">Either that, or just remove the DISKINODES from CT config <br></p>
<p dir="ltr">&gt; On 10/24/2014 8:05 PM, Nick Knutov wrote:<br>
&gt;&gt;<br>
&gt;&gt; Thanks, now I understand why this occurred, but what is the easiest way<br>
&gt;&gt; to convert a lot of different CTs to ploop? As I remember there is no<br>
&gt;&gt; way to set up unlimited diskinodes or disable them (in case I want to<br>
&gt;&gt; use CT size when converting to ploop and don&#39;t want to think about<br>
&gt;&gt; inodes at all).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 25.10.2014 5:31, Kir Kolyshkin пишет:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [...]<br>
&gt;&gt;&gt; Previously, we didn&#39;t support setting diskinodes for ploop, but later we<br>
&gt;&gt;&gt; found<br>
&gt;&gt;&gt; a way to implement it (NOTE: for vzctl create and vzctl convert only).<br>
&gt;&gt;&gt; The trick we use it we create a file system big enough to accomodate the<br>
&gt;&gt;&gt; requested number of inodes, and then use ploop resize (in this case<br>
&gt;&gt;&gt; downsize)<br>
&gt;&gt;&gt; to bring it down to requested amount.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In this case, 1G inodes requirements leads to creation of 16TB filesystem<br>
&gt;&gt;&gt; (remember, 1 inode per 16K). Unfortunately, such huge FS can&#39;t be downsized<br>
&gt;&gt;&gt; to as low as 40G, the minimum seems to be around 240G (values printed in<br>
&gt;&gt;&gt; the error message are in sectors which are 512 bytes each).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Solution: please be reasonable when requesting diskinodes for ploop.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a><br>
</p>