Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disk full?

Discussion in 'General Discussion' started by PatrickVeenstra, May 7, 2017.

Tags:
  1. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    85
    Likes Received:
    3
    Trophy Points:
    58
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    - Removed -

    Server Information states:
    Disk / (/) 38 %
    Disk /boot (/boot) 95 %
    Disk /var/tmp (/var/tmp) 38 %

    So for some reason /boot is about full. I don't know what part of the system uses that "drive", but...

    fdisk:
    /dev/vda1 * 2048 514047 256000 83 Linux
    /dev/vda2 514048 1677721599 838603776 8e Linux LVM

    df:
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/cos-root 838172808 321710328 516462480 39% /
    devtmpfs 15347468 0 15347468 0% /dev
    tmpfs 15358344 0 15358344 0% /dev/shm
    tmpfs 15358344 1525636 13832708 10% /run
    tmpfs 15358344 0 15358344 0% /sys/fs/cgroup
    /dev/vda1 247919 222827 12292 95% /boot
    tmpfs 3071672 0 3071672 0% /run/user/0

    I'd appreciate any help about how to solve (and prevent) this issue.
     
    #1 PatrickVeenstra, May 7, 2017
    Last edited by a moderator: May 7, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    There is the part of the system where the kernel boot files are present. You can remove old kernel images from it those are no longer required. Below command can be useful for this. The second command will make sure that only 2 latest kernel are kept and reset all are removed from it.. OR you may keep it to 1 if you want..

    # yum install yum-utils
    # package-cleanup --oldkernels --count=2
     
    PatrickVeenstra likes this.
  3. PatrickVeenstra

    PatrickVeenstra Well-Known Member

    Joined:
    Feb 12, 2012
    Messages:
    85
    Likes Received:
    3
    Trophy Points:
    58
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    Thanks a lot.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page