Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2007
    Posts
    815

    /dev/sda6 is running out of space. How to check why it is?

    I have seen this from my server information (using cPanel)

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda6 2.0G 1.6G 327M 83% /

    can anyone help me why it is taking up so much space? what can i do about this?

    also what is /root/.cache for? How do i "clear" the files inside it without causing any issue in the server?
    All things work together for the good of those who love God - Romans 8:28

  2. #2
    Join Date
    Mar 2009
    Location
    Gods Own Country
    Posts
    681
    check which folder is taking up space. It can be log files in /var/tmp/, yum cache ( in this case do "yum clean all" ) etc

    Code:
    for i in `find / -maxdepth 6 -type d`; do num=`du -s $i | awk '{print $1}'`; echo "$num $i"; done | sort -n
    That will list the folders with max usage in ascending order.
    Fabin Mundattil @ Xieles Support
    High Quality Server Management | support @ xieles.com
    https://xieles.com

  3. #3
    Join Date
    May 2008
    Posts
    340
    If you don't have separate partitions for system directories such as /usr, /var and /home which are the default directories which get filled in the case of a server then those directories would be under / and not separately mounted.

    What is the output of the following command ?
    df -h
    Twitter : http://twitter.com/eth1networks
    Contact Us : support[at]eth1.in

  4. #4
    Try checking /var this is normally where all your logs are get stored it may be that you don't have logrotate activated. It might be your probably your /tmp or /var directories that have become overcrowded. Check the size of files and folder using command,
    # du -sh *
    Shared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
    KeserHosting.Com

  5. #5
    Join Date
    Nov 2009
    Location
    Nasik,India
    Posts
    252
    Hi

    for checking which folder using space u can use following command

    root@host [/var]# du -hx --max-depth=1

  6. #6
    Hi,

    Please try to clear the logs file from the server. In cPanel servers they are located in /var/log . Also get back with the result of the command df -h . It should be helpful for further assistance.

  7. #7
    Join Date
    Sep 2007
    Posts
    815
    I noticed that its always /root/.cache that is filling up my boot partition. What is this folder for?
    All things work together for the good of those who love God - Romans 8:28

  8. #8
    Quote Originally Posted by sharmaine1111 View Post

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda6 2.0G 1.6G 327M 83% /
    Looking at the partition size above, it is clear that all your partitions are separate and not under /

    I guess you should look for the contents .cache file and see what is creating the file. There is no problems in deleting it as it is not system related.

    If you think it may cause problems, create a temporary directory under /home and move the .cache file under it.
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  9. #9
    Join Date
    Sep 2007
    Posts
    815
    Quote Originally Posted by madaboutlinux View Post
    Looking at the partition size above, it is clear that all your partitions are separate and not under /

    I guess you should look for the contents .cache file and see what is creating the file. There is no problems in deleting it as it is not system related.

    If you think it may cause problems, create a temporary directory under /home and move the .cache file under it.
    I just symlinked .cache to a directory in home. I think that caused the problem
    All things work together for the good of those who love God - Romans 8:28

Similar Threads

  1. /dev/sda6 (/usr) is 89% full
    By themuggle in forum Hosting Security and Technology
    Replies: 8
    Last Post: 07-01-2009, 02:59 PM
  2. how to check if easyapache is running
    By sharmaine1111 in forum Hosting Software and Control Panels
    Replies: 2
    Last Post: 03-31-2009, 08:48 AM
  3. /dev/hda /dev/hdb /dev/hdc /dev/hdd
    By pmak0 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-16-2004, 04:13 AM
  4. Replies: 2
    Last Post: 07-08-2003, 12:02 PM
  5. How do I check if named is running?
    By nogi in forum Dedicated Server
    Replies: 6
    Last Post: 05-26-2003, 02:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •