I have run out of inodes (IUse% = 100%
) and repeatedly running the command from this answer, I narrowed the culprit to /usr/src
, specifically linux-headers*
. From the same post but different answer, I want to remove said linux-headers
but am confused about which are the oldest (and not used so can safely be deleted).
The contents of /usr/src/linux-headers*
is:
linux-headers-3.13.0-24
linux-headers-3.13.0-24-generic
linux-headers-3.13.0-33
linux-headers-3.13.0-33-generic
linux-headers-3.13.0-34
linux-headers-3.13.0-34-generic
linux-headers-3.13.0-37
linux-headers-3.13.0-37-generic
linux-headers-3.13.0-39
linux-headers-3.13.0-39-generic
<snip>
linux-headers-3.13.0-112
linux-headers-3.13.0-112-generic
linux-headers-3.13.0-113
linux-headers-3.13.0-113-generic
From uname -r
gives 3.13.0-34-generic
.
So which can I delete? If I am running -34
then -37
through to -113
are newer and so cannot be deleted.
Now at AskUbuntu.