Results 1 to 6 of 6

Thread: /boot sector increased hugely overnight

  1. #1
    Registered Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    201
    cPanel/WHM Access Level

    Root Administrator

    Default /boot sector increased hugely overnight

    My question to all of you smart people out their, is why would my put sector increase by 21% in one day.

    As of 2/17/2012 till now
    /dev/sda1 342M 100M 225M 31% /boot

    As before then:
    /dev/sda1 342M 29M 297M 9% /boot

    I know this is a very vague question but I am hoping that their is some obvious answer. If you need more information please let me know and I will happily provide it. Thanks for the help

    Edit**
    Would optimizing my MySQL do this?
    Tank

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    11,329
    cPanel/WHM Access Level

    Root Administrator
    WHMCS Technical Analyst Position Available
    Houston, TX.
    Apply Today!


    Register Now for cPanel Conference!
    Sep 29 - Oct 1, 2014, Houston, Texas
    http://conference.cpanel.net/

  3. #3
    Registered Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    201
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /boot sector increased hugely overnight

    Thanks taking a look at those. So basically i have another kernel sitting on the machine. So I looked at the instructions I am still missing something.

    Code:
    By seahorse
    
    1: rm -f /var/lib/rpm/__*
    
    2: uname -a
    check your current kernel
    
    3: rpm -aq | grep kernel-*
    list out kernels in your system and remember those that you do not need
    
    4: rpm --rebuilddb 
    rebuild rpmdb 
    
    5: rpm -e [kernel file to be removed] 
    remove those unused kernels to free the /boot/ space
    My questions is what goes in the first step to. he left that "_" their. This blank is holding me up. Plus can anyone tell a noob at linux what step 4 does for the process.

    Thanks for the info, learning every day.

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,609
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /boot sector increased hugely overnight

    Hello,

    The __ portion is how the rpm database files are named. I wouldn't suggest removing those files but moving them:

    Code:
    mv /var/lib/rpm/__db* /root
    Also, you can always cd to a directory and list the file contents to clear up any confusion on naming conventions going forward:

    Code:
    cd /var/lib/rpm
    ls -lah
    That would have likely made everything clearer for you

    As for step 4, it rebuilds the rpm database that you moved in Step 1.

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Registered Member
    Join Date
    Apr 2011
    Location
    Chicago, IL
    Posts
    201
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /boot sector increased hugely overnight

    Ok cool thanks. Why would I want to move the RPM and then rebuild them. What is the benefit in that? Is this good for servers?

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,609
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /boot sector increased hugely overnight

    I wouldn't have recommended doing it myself, so I cannot answer that question. I don't frankly feel it's a necessary step to move the rpm database at all unless yum isn't working for you.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. boot sector filling up
    By tank in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 06-07-2012, 12:13 AM
bargain