<div dir="ltr">When I see a system run out of inodes, it&#39;s usually because there&#39;s some directory full of little or zero length files there somewhere.<div><br></div><div><br></div><div>I didn&#39;t learn this until recently but Linux will store the file contents in the inode itself if it&#39;s under a certain size (around 60 bytes). So it&#39;s possible that you don&#39;t even notice the space drain until you run out of inodes.<div><br></div><div>Sean</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 6:09 PM, Trevor Cordes <span dir="ltr">&lt;<a href="mailto:trevor@tecnopolis.ca" target="_blank">trevor@tecnopolis.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-03-20 Kevin McGregor wrote:<br>
&gt; I have a Ubuntu 10.04.3 (I know) system with many old kernel images.<br>
&gt; The problem (maybe) is I&#39;ve been told the system is out of inodes. I<br>
<br>
</span>Oops.<br>
<span class=""><br>
&gt; thought I would try to get rid of at least one old kernel image, and<br>
&gt; this happens:<br>
&gt;<br>
&gt; $ sudo apt-get -y purge linux-image-2.6.32-28-server<br>
</span><span class="">&gt;   linux-headers-virtual: Depends: linux-headers-2.6.32-66-server but<br>
&gt; it is not going to be installed or<br>
&gt;                                   linux-headers-2.6.32-66-generic-pae<br>
&gt; but it is not installable<br>
<br>
</span>&quot;not installable&quot; may indicate out-of-space/inodes.  Or you have some<br>
weird combo of dep packages installed for the old kernel (-28) that<br>
aren&#39;t also in the new (-66).  Perhaps the inode problem has screwed<br>
things up on earlier updates.<br>
<br>
I would start by clearing up several thousand inodes elsewhere on the<br>
system.  This could be as simple as popping on a usb stick or external<br>
drive and mv&#39;ing a bunch of stuff from a home dir or data dir to it<br>
temporarily.  Once that is done, then fight with apt-get.<br>
<br>
Curiously, what does df -i / and df -k / say?<br>
<br>
Did you tweak the NBPI / other inode specs at mkfs time on this box?<br>
Very weird a non-tweaker user would run out of inodes these days... not<br>
like us inode tweakers :-)  (Trevor motto: if it&#39;s tweakable, tweak it!)<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Sean Walberg &lt;<a href="mailto:sean@ertw.com" target="_blank">sean@ertw.com</a>&gt;    <a href="http://ertw.com/" target="_blank">http://ertw.com/</a></div>
</div>