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.

Hey guys... I could use your advice

Discussion in 'General Discussion' started by bruceleeon, Apr 20, 2007.

  1. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Drive Warning: sda7 (/) is 81% full

    Drive Warning: sda7 (/) is 81% full

    I have searched and searched, but I can't figure out what to clean out. So now I come to you folks for guidance.

    root@server1 [/]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda7 1012M 772M 189M 81% /
    /dev/sdb1 68G 1.9G 63G 3% /home2
    /dev/sda1 99M 36M 59M 38% /boot
    /dev/sda5 47G 1.2G 44G 3% /home
    /dev/sda6 473M 18M 432M 4% /tmp
    /dev/sda2 9.9G 4.2G 5.3G 44% /usr
    /dev/sda3 6.9G 1.8G 4.8G 27% /var
    /dev/tmpMnt 473M 18M 432M 4% /tmp
    none 501M 0 501M 0% /dev/shm

    wacko.gif Could it be my tmpMnt?

    490M ./dev
    -rw-r--r-- 1 root root 488M Jul 9 2005 tmpMnt

    If it is... now what?
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    cd /

    du -hc --max-depth=1


    That should get you started.
    Check to make sure you don't have big files sitting in /root
     
  3. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    /scripts/biglogcheck -v
     
  4. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    16K ./lost+found
    4.0K ./space
    32M ./boot
    490M ./dev
    1.1G ./home
    901M ./proc
    18M ./tmp
    4.2G ./usr
    1.8G ./var
    15M ./etc
    3.5M ./root
    203M ./lib
    5.9M ./bin
    4.0K ./initrd
    16K ./mnt
    4.0K ./opt
    12M ./sbin
    4.0K ./misc
    52K ./tftpboot
    5.7M ./scripts
    6.2M ./.cpan
    1007M ./home2
    72K ./tmp_backup
    8.0K ./backup
    4.0K ./logrotate_tmp
    9.6G .
    9.6G total

    Those are the two biggest. Dev has tmpMnt which is 480 megs. Lib... I am lost. I dont know what is what in there..

    /scripts/biglogcheck -v returned nothing.
     
  5. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Well... I went through and deleted a bunch of rpmnew and rpmorig files. That did nothing. I think all I have left to do is move my tmpMnt file to another location.

    HOW THE HELL DO I DO THAT?

    GNU nano 1.2.1 File: fstab

    LABEL=/ / ext3 defaults,usrquota 1 1
    LABEL=/home2 /home2 ext3 defaults,usrquota 1 2
    LABEL=/boot /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    LABEL=/home /home ext3 defaults,usrquota 1 2
    none /proc proc defaults 0 0
    #none /dev/shm tmpfs defaults 0 0
    LABEL=/tmp /tmp ext3 defaults 1 2
    LABEL=/usr /usr ext3 defaults,usrquota 1 2
    LABEL=/var /var ext3 defaults,usrquota 1 2
    /dev/sda8 swap swap defaults 0 0
    /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
    /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
    /dev/tmpMnt /tmp ext2 loop,noexec,nosuid,rw 0 0
    none /dev/shm tmpfs noexec,nosuid 0 0
     
  6. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Just as a note... you need to look at the list you posted again...

    There are several entries that are much, much larger than the two you list as being the biggest...
     
  7. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Home and home2 are mounted separately.
     
  8. eNetHosts

    eNetHosts Well-Known Member

    Joined:
    Apr 21, 2007
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    16
    /usr /var and .

    are bigger than the two highlighted in red.
     
Loading...

Share This Page