Results 1 to 6 of 6

Thread: /boot 94%

  1. #1
    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.

  2. #2
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    /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
    THEN find out what you're using
    Code:
    uname -a
    THEN
    remove the unnecessary kernels (keep ONE old kernel, toss out the rest)
    Code:
    rpm -e kernel(insertversionhere)
    rpm -e kernel-smp(insertversionhere)
    You should be able to free it up quite a bit like this
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  3. #3
    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

  4. #4
    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

  5. #5
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    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 good
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  6. #6
    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.
    ---
    Peter M. Abraham
    LinkedIn Profile

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •