Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    7

    Default dev/hda1 Full

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 1008M 877M 81M 92% /
    none 506M 0 506M 0% /dev/shm
    /dev/hda7 76G 2.3G 70G 4% /home
    /dev/hda6 1008M 33M 925M 4% /tmp
    /dev/hda2 20G 4.6G 15G 25% /usr
    /dev/hda3 14G 1.4G 12G 11% /var

    My system seems to be getting full and it to me anyway I can't figure out why.

    Any help on what I could delete logs and such and where would be appreciated,

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    Roscoe, IL, USA
    Posts
    61

    Default

    I found this from Chirpy in an earlier post.

    du -h --max-depth=1

    Then change to the subdirectory that has a large size then

    ls -laSh | more

    to see if the files exist there, if not du again in that subdirectory

    du -h --max-depth=1

    and continue following the directory path till you find the large files.

    Here is the original post.

    http://forums.cpanel.net/showthread....ht=large+files

    he was explaining how to examine the /var partition but I think the method will work in your situation too.

  3. #3
    Member
    Join Date
    Oct 2004
    Posts
    7

    Default

    Thank you for your reply,

    2.6G ./home
    5.2M ./scripts
    4.0K ./selinux
    4.0K ./opt
    12M ./sbin
    4.3G ./usr
    751M ./lib
    0 ./sys
    4.0K ./mnt
    104K ./tmp
    4.0K ./misc
    1.4G ./var
    29M ./etc
    902M ./proc
    7.7M ./root
    16K ./lost+found
    36M ./boot
    4.0K ./initrd
    5.0M ./bin
    552K ./dev
    9.9G .

    This is the breakdown from that command,

    root@server1 [/lib/modules]# du -h --max-depth=1
    57M ./2.6.5-1.358
    57M ./2.6.10-1.8_FC2
    48M ./2.6.9-1.6_FC2
    46M ./2.6.10-1.12_FC2
    45M ./2.6.9-1.3_FC2smp
    44M ./2.6.8-1.521
    44M ./2.6.10-1.9_FC2
    44M ./2.6.9-1.6_FC2smp
    39M ./2.6.5-1.358smp
    43M ./2.6.9-1.3_FC2
    48M ./2.6.10-1.12_FC2smp
    46M ./2.6.9-1.11_FC2smp
    47M ./2.6.10-1.9_FC2smp
    43M ./2.6.9-1.11_FC2
    41M ./2.6.8-1.521smp
    47M ./2.6.10-1.8_FC2smp
    730M .


    Would these be the root of my problem, they are the only large files I can see on that partition. Or would the problem not lie in the lib dir at all? The only other large on I see it the ./proc dir.

    Again thanks.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You would definitely benefit from clearing down the kernels that you do not use. However, do not just delete the files. You have to remove them carefull using rpm and be sure to keep your current kernel and the one previous to what you're running incase of future problems. If you aren't confident in removing kernels, I would strongly recommend a helping hand from someone who is or can do it for you.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Oct 2004
    Posts
    7

    Default

    Do you think it is these kernals that are taking up all this space>? I really dont want to run into a problem where the server goes down. It is from what I posted the only place in that partition taking up that much space.

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yes, I'd say that it is almost definitely the kernels taking up the space.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  7. #7
    Member
    Join Date
    Oct 2004
    Posts
    7

    Default

    Quote Originally Posted by chirpy
    Yes, I'd say that it is almost definitely the kernels taking up the space.
    46M ./2.6.10-1.12_FC2
    48M ./2.6.10-1.12_FC2smp
    46M ./2.6.9-1.11_FC2smp
    43M ./2.6.9-1.11_FC2

    Would these be the 2 current kernel's listed?

    root@server1 [/etc]# uname -r
    2.6.10-1.12_FC2smp


    Unfortunately I do not have anyone with more experience to help me,

    root@server1 [/]# rpm -qa | grep kernel-*
    kernel-smp-2.6.5-1.358
    kernel-smp-2.6.8-1.521
    kernel-smp-2.6.9-1.3_FC2
    kernel-2.6.9-1.6_FC2
    kernel-2.6.10-1.8_FC2
    kernel-2.6.10-1.9_FC2
    kernel-utils-2.4-9.1.131_FC2
    kernel-2.6.10-1.12_FC2
    kernel-2.6.5-1.358
    kernel-2.6.8-1.521
    kernel-2.6.9-1.3_FC2
    kernel-smp-2.6.9-1.6_FC2
    kernel-2.6.9-1.11_FC2
    kernel-smp-2.6.9-1.11_FC2
    kernel-smp-2.6.10-1.8_FC2
    kernel-smp-2.6.10-1.9_FC2
    kernel-smp-2.6.10-1.12_FC2


    root@server1 [/]# cat /etc/grub.conf
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You do not have a /boot partition. This means that
    # all kernel and initrd paths are relative to /, eg.
    # root (hd0,0)
    # kernel /boot/vmlinuz-version ro root=/dev/hda1
    # initrd /boot/initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=10
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    title Fedora Core (2.6.10-1.12_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.12_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.12_FC2smp.img
    title Fedora Core (2.6.10-1.12_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.12_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.12_FC2.img
    title Fedora Core (2.6.10-1.9_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.9_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.9_FC2smp.img
    title Fedora Core (2.6.10-1.9_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.9_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.9_FC2.img
    title Fedora Core (2.6.10-1.8_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.8_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.8_FC2smp.img
    title Fedora Core (2.6.10-1.8_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.10-1.8_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.10-1.8_FC2.img
    title Fedora Core (2.6.9-1.11_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.11_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.11_FC2smp.img
    title Fedora Core (2.6.9-1.11_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.11_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.11_FC2.img
    title Fedora Core (2.6.9-1.6_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.6_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.6_FC2smp.img
    title Fedora Core (2.6.9-1.6_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.6_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.6_FC2.img
    title Fedora Core (2.6.9-1.3_FC2smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.3_FC2smp ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.3_FC2smp.img
    title Fedora Core (2.6.9-1.3_FC2)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.9-1.3_FC2 ro root=LABEL=/
    initrd /boot/initrd-2.6.9-1.3_FC2.img
    title Fedora Core (2.6.8-1.521smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.8-1.521smp ro root=LABEL=/
    initrd /boot/initrd-2.6.8-1.521smp.img
    title Fedora Core (2.6.8-1.521)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.8-1.521 ro root=LABEL=/
    initrd /boot/initrd-2.6.8-1.521.img
    title Fedora Core (2.6.5-1.358smp)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.5-1.358smp ro root=LABEL=/
    initrd /boot/initrd-2.6.5-1.358smp.img
    title Fedora Core-up (2.6.5-1.358)
    root (hd0,0)
    kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/
    initrd /boot/initrd-2.6.5-1.358.img


    root@server1 [/etc]# cat /etc/lilo.conf.anaconda
    prompt
    timeout=50
    default=linux
    boot=/dev/hda
    map=/boot/map
    install=/boot/boot.b
    linear

    image=/boot/vmlinuz-2.6.5-1.358smp
    label=linux
    initrd=/boot/initrd-2.6.5-1.358smp.img
    read-only
    append="root=LABEL=/"

    image=/boot/vmlinuz-2.6.5-1.358
    label=linux-up
    initrd=/boot/initrd-2.6.5-1.358.img
    read-only
    append="root=LABEL=/"
    Last edited by sillypuddy; 02-22-2005 at 11:07 PM.

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    I've sent you a PM if you haven't spotted it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Drive Critical: /hda1 (/) is 91% full
    By gomangosteen in forum New User Questions
    Replies: 9
    Last Post: 07-18-2009, 08:15 PM
  2. hda1 /boot 83% full
    By jimmshepard in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-21-2006, 10:01 AM
  3. Drive Critical: /hda1 (/) is 94% full
    By MikeHihn in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-14-2005, 01:04 PM
  4. Drive Warning: /hda1 (/) is 84% full
    By Novisoft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-13-2003, 11:23 PM
  5. /dev/hda1 gets full
    By MikeMc in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-31-2002, 05:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube