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.

/ partition running out of space

Discussion in 'General Discussion' started by Novisoft, Nov 22, 2009.

  1. Novisoft

    Novisoft Active Member

    Joined:
    Jun 6, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Algiers, Algeria.
    Hi,

    The / partition of my server is running out of space.

    It is a 49 gb parition space, but a du -sh /* is showing ~ 30 gb, and i can't find where the remaining is gone!

    161G backup
    6.6M bin
    4.1M boot
    84K dev
    4.0K error_log
    69M etc
    4.0K g.txt
    236G home
    29M lib
    16K lost+found
    4.0K media
    4.0K misc
    4.0K mnt
    4.0K net
    50M opt
    0 proc
    66M root
    29M sbin
    7.6M scripts
    16K selinux
    4.0K srv
    0 sys
    219M tmp
    3.6G usr
    2.5G var

    /backup and /home are mounted on a diffrent partition of course. As you can see, we are very far away from the 49 G !!!

    Some one can help me please ?

    Many thanks,
    Lyes
     
  2. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Penang, Malaysia
    Can you provide the information by type the following command?
    =====
    # mount
    # df -h
    =====
     
  3. Novisoft

    Novisoft Active Member

    Joined:
    Jun 6, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Algiers, Algeria.
    sure...

    root@server [/]# mount
    /dev/sda1 on / type ext3 (rw,errors=remount-ro)
    /dev/proc on /proc type proc (rw)
    /dev/sys on /sys type sysfs (rw)
    /dev/devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/sda2 on /home type ext3 (rw,usrquota)
    /dev/shm on /dev/shm type tmpfs (rw,noexec,nosuid)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
    /tmp on /var/tmp type none (rw,noexec,nosuid,bind)
    /dev/sdb1 on /backup type ext3 (rw)
    root@server [/]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 49G 46G 171M 100% /
    /dev/sda2 637G 239G 366G 40% /home
    /dev/shm 2.0G 0 2.0G 0% /dev/shm
    /usr/tmpDSK 485M 21M 439M 5% /tmp
    /dev/sdb1 459G 146G 290G 34% /backup

    Thank you for your reply

    Lyes
     
  4. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Penang, Malaysia
    it seems that you have more than enough space from / to use but it is not when used df to check on it.

    something might wrong, I prefer you get the PM to me for more help.
     
    #4 mickbeng, Nov 23, 2009
    Last edited: Nov 23, 2009
  5. Novisoft

    Novisoft Active Member

    Joined:
    Jun 6, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Algiers, Algeria.
    Hi mick

    I just looked up for core files and i didn't find anything. I freed some 1,5 Go by moving some directories to the /home partition and then creating sym link but it is not the best solution as the / partition will be at 100% in the next few hours.

    It's really strange, and don't know what to do :(

    Any other idea ?

    Thanks
     
  6. mickbeng

    mickbeng Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Penang, Malaysia
    No idea if in this case :p.

    Perhaps you may try to reboot the server or seek for cPanel support. :rolleyes:
     
  7. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    Where are your /var and /usr and other logs located? Im guessing it is located in / partition. Usually its the log files that fills up the space. I have a separate partition for /var and /usr so Id be able to monitor them.

    cPanel bandwidth files are huge. You should check out their tutorial. Basically the directory needs to be symlinked to a directory in /home or if you do not want the bandwidth to run you can turn it off
     
  8. maverick23

    maverick23 Well-Known Member

    Joined:
    Feb 23, 2005
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    try doing du -h --max-depth=1 this would give the space being used by each directory and there in you can clean the system or remove unnecessary files.
     
Loading...

Share This Page