Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Seeker on March 17, 2008, 02:27:34 PM
-
I did read a long thread on the bug tracker about this problem and I have nothing to add except HELP How do I?
My current updates are failing due to lack of space on /boot. How do I clean up what is obsolete? Please I'm a linux newbie so something simple is required.
Many thanks!!
-
I did read a long thread on the bug tracker about this problem and I have nothing to add except HELP How do I?
And what bugs did you read there exactly?
My current updates are failing due to lack of space on /boot. How do I clean up what is obsolete? Please I'm a linux newbie so something simple is required.
Many thanks!!
Please post the output of the following command to see if we can remove some kernels:
rpm -qa | grep kernel | sort
If this is a long list, which I presume it is, you can try remove older kernels by using rpm -e kernel-version-as-reported-previous-command
I would advice you to only uninstall kernels you really will not be using and leave at lest the latest and the one used before that on the system.
Edit: Changed remove command to rpm -e to prevent server being rendered useless by removing of dependencies.
-
Hi and thanks for the response.
This is the bug report I think is most similar to my issue.
http://bugs.contribs.org/show_bug.cgi?id=2101
Here is my list.
[root@mail boot]# rpm -qa | grep kernel | sort
kernel-2.6.9-22.0.1.EL
kernel-2.6.9-22.0.2.EL
kernel-2.6.9-34.0.2.EL
kernel-2.6.9-34.EL
kernel-2.6.9-42.0.10.EL
kernel-2.6.9-42.0.2.EL
kernel-2.6.9-42.0.3.EL
kernel-2.6.9-42.0.8.EL
kernel-2.6.9-55.0.12.EL
kernel-2.6.9-55.0.2.EL
kernel-2.6.9-55.0.6.EL
kernel-2.6.9-55.0.9.EL
kernel-2.6.9-67.0.1.EL
kernel-smp-2.6.9-22.0.1.EL
kernel-smp-2.6.9-22.0.2.EL
kernel-smp-2.6.9-34.0.2.EL
kernel-smp-2.6.9-34.EL
kernel-smp-2.6.9-42.0.10.EL
kernel-smp-2.6.9-42.0.2.EL
kernel-smp-2.6.9-42.0.3.EL
kernel-smp-2.6.9-42.0.8.EL
kernel-smp-2.6.9-55.0.12.EL
kernel-smp-2.6.9-55.0.2.EL
kernel-smp-2.6.9-55.0.6.EL
kernel-smp-2.6.9-55.0.9.EL
kernel-smp-2.6.9-67.0.1.EL
kernel-utils-2.4-13.1.105
-
Here is my list.
That are a lot of old kernels.
Hi and thanks for the response.
This is the bug report I think is most similar to my issue.
http://bugs.contribs.org/show_bug.cgi?id=2101
you could have found a method in mentioned bug (http://bugs.contribs.org/show_bug.cgi?id=2101#c36), but you can do it manually as well, by using rpm -e.
Note I changed my previuos post to not use yum remove, but use rpm -e as this will not remove dependencies still needed by your server.
-
That are a lot of old kernels.
you could have found a method in mentioned bug (http://bugs.contribs.org/show_bug.cgi?id=2101#c36), but you can do it manually as well, by using rpm -e.
Note I changed my previuos post to not use yum remove, but use rpm -e as this will not remove dependencies still needed by your server.
Well I wasn't understanding a lot that I was reading. I have only removed the oldest and it seems to have freed enough space to do an update.
Thanks
-
Seeker
You would also do
uname -r
to see what kernel version you are now running.
I assume it would be
2.6.9-67.0.1.EL
or if you just yum updated then
2.6.9-67.0.4.EL
So then you remove all the old kernels you are not using ie
rpm -e kernel-2.6.9-22.0.1.EL
rpm -e kernel-2.6.9-22.0.2.EL
rpm -e kernel-2.6.9-34.0.2.EL
rpm -e kernel-2.6.9-34.EL
rpm -e kernel-2.6.9-42.0.10.EL
rpm -e kernel-2.6.9-42.0.2.EL
rpm -e kernel-2.6.9-42.0.3.EL
rpm -e kernel-2.6.9-42.0.8.EL
rpm -e kernel-2.6.9-55.0.12.EL
rpm -e kernel-2.6.9-55.0.2.EL
rpm -e kernel-2.6.9-55.0.6.EL
rpm -e kernel-2.6.9-55.0.9.EL
rpm -e kernel-smp-2.6.9-22.0.1.EL
rpm -e kernel-smp-2.6.9-22.0.2.EL
rpm -e kernel-smp-2.6.9-34.0.2.EL
rpm -e kernel-smp-2.6.9-34.EL
rpm -e kernel-smp-2.6.9-42.0.10.EL
rpm -e kernel-smp-2.6.9-42.0.2.EL
rpm -e kernel-smp-2.6.9-42.0.3.EL
rpm -e kernel-smp-2.6.9-42.0.8.EL
rpm -e kernel-smp-2.6.9-55.0.12.EL
rpm -e kernel-smp-2.6.9-55.0.2.EL
rpm -e kernel-smp-2.6.9-55.0.6.EL
rpm -e kernel-smp-2.6.9-55.0.9.EL
signal-event post-upgrade
reboot
-
So then you remove all the old kernels you are not using ie
rpm -e kernel-utils-2.4-13.1.105
...
Ray, are you sure that the kernel-utils can/should be removed???
-
Ray, are you sure that the kernel-utils can/should be removed???
That version (2.4) is long since obsolete as the user is running 2.6 kernels now.
-
That version (2.4) is long since obsolete as the user is running 2.6 kernels now.
Oh, I don't know about that...
Redhat 4.X and CentOs 4.X still use that 2.4 version. I don't know if that version number coinsides with the kernel number but it doesn't appear to.
-
signal-event post-upgrade
reboot
Hi Ray..
just a question: why is necessary a reboot in this case?
TIA
Stefano
-
Oh, I don't know about that...
Redhat 4.X and CentOs 4.X still use that 2.4 version. I don't know if that version number coinsides with the kernel number but it doesn't appear to.
AFAIK I know it should have the same version number as the kernel. I will check it to be sure...
Update: After some checking you might be right that the kernel-utils version might not be in sync with the kernel release version.
-
pfloor
...are you sure that the kernel-utils can/should be removed???
Paul, good spotting.
I have removed that reference from the original post, I see it is still on my 7.3 server ie
rpm -q kernel-utils
kernel-utils-2.4-13.1.105
-
nenonano
..why is necessary a reboot in this case?
To make sure your system boots up OK to the remaining installed kernel.