<div dir="ltr">When I see a system run out of inodes, it's usually because there's some directory full of little or zero length files there somewhere.<div><br></div><div><br></div><div>I didn't learn this until recently but Linux will store the file contents in the inode itself if it's under a certain size (around 60 bytes). So it's possible that you don'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"><<a href="mailto:trevor@tecnopolis.ca" target="_blank">trevor@tecnopolis.ca</a>></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>
> I have a Ubuntu 10.04.3 (I know) system with many old kernel images.<br>
> The problem (maybe) is I've been told the system is out of inodes. I<br>
<br>
</span>Oops.<br>
<span class=""><br>
> thought I would try to get rid of at least one old kernel image, and<br>
> this happens:<br>
><br>
> $ sudo apt-get -y purge linux-image-2.6.32-28-server<br>
</span><span class="">> linux-headers-virtual: Depends: linux-headers-2.6.32-66-server but<br>
> it is not going to be installed or<br>
> linux-headers-2.6.32-66-generic-pae<br>
> but it is not installable<br>
<br>
</span>"not installable" 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'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'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'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 <<a href="mailto:sean@ertw.com" target="_blank">sean@ertw.com</a>> <a href="http://ertw.com/" target="_blank">http://ertw.com/</a></div>
</div>