Results 1 to 6 of 6
Thread: /boot 94%
-
07-09-2005, 04:07 AM #1Junior Guru Wannabe
- Join Date
- Dec 2002
- Posts
- 82
/boot 94%
How can I get Disk hda1 (/boot) DMA+ 94 % to come down?
Any help is appreciated.
Thanks.
-
07-09-2005, 04:40 AM #2
/boot/ will usually contain the kernel stuff, and nothing more. If it's that full, consider removing old images that you don't need any more. DON'T just remove the image though, remove things properly. For example
if you're running an rpm based machine, simply find out what kernels are installed (from inside ssh):
Code:rpm -qa | grep kernel
Code:uname -a
remove the unnecessary kernels (keep ONE old kernel, toss out the rest)
Code:rpm -e kernel(insertversionhere) rpm -e kernel-smp(insertversionhere)
Tom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons
-
07-09-2005, 05:17 AM #3Junior Guru Wannabe
- Join Date
- Dec 2002
- Posts
- 82
I have these matching .. which ones should I remove?
root@web [~]# rpm -qa | grep kernel
kernel-2.4.21-4.EL
kernel-smp-2.4.21-20.0.1.EL
kernel-smp-2.4.21-27.EL
kernel-2.4.21-27.EL
kernel-smp-2.4.21-27.0.2.EL
kernel-2.4.21-20.0.1.EL
kernel-smp-2.4.21-27.0.1.EL
kernel-2.4.21-27.0.2.EL
kernel-2.4.21-27.0.4.EL
kernel-smp-2.4.21-32.EL
kernel-smp-2.4.21-32.0.1.EL
kernel-2.4.21-27.0.1.EL
kernel-2.4.21-32.EL
kernel-2.4.21-32.0.1.EL
kernel-smp-2.4.21-4.EL
kernel-pcmcia-cs-3.1.31-13
kernel-smp-2.4.21-27.0.4.EL
kernel-source-2.4.21-32.0.1.EL
root@web [~]# uname -a
Linux web.jelpeg.com 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686 i686 i386 GNU/Linux
-
07-09-2005, 05:33 AM #4learning is in the doing
- Join Date
- Sep 2000
- Location
- Alberta, Canada
- Posts
- 3,146
Well, since you know you are using "2.4.21-32", you can safely remove anything numbered earlier than that.
i.e.
kernel-2.4.21-4.EL• PotentProducts.com - for all your Hosting needs
• Helping people Host, Create and Maintain their Web Site
• ServerAdmin Services also available
-
07-09-2005, 12:51 PM #5
ctually, he's not just using 32, he's using 32-smp, which is a different beast altogether.
You should be able to remove all of the straight kernels and the smp earlier than 27 are safe to delete as well. I say 27, because you want to leave one earlier kernel in the system JUST as a precaution. You've already booted your system, so there SHOULDN'T be too many problems, but there may be in the future. Having a backup kernel is always goodTom Whiting, WHMCS Guru extraordinaire
Linux problems? WHMCS Problems? Give me a shout
Check out my WHMCS Addons
-
07-09-2005, 04:27 PM #6Web Hosting Master
- Join Date
- Dec 2001
- Posts
- 5,221
Greetings:
If it helps, we use the following:
rpm -qa | grep kernel | sort
That way you should be able to pick out the earlier ones (though you do still have to be careful in terms of non true sorting order).
Always do the following as well:
uname -a
So you know that you should not remove that kernel, and only remove those before it. Though if you can, leave at least one version before it.
Thank you.