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.

Drive Warning: rootfs (/) is 83% full

Discussion in 'General Discussion' started by bhanuprasad1981, Mar 6, 2012.

  1. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    got this mail today from cpanel not sure what drive it is and what data is storing there

    this is my /etc/fstab:-

    Code:
    /dev/sda1	/	ext3	errors=remount-ro,usrquota	0	1
    /dev/sda2	/home	ext3	defaults,usrquota,noatime,usrquota	0	2
    proc		/proc	proc	defaults		0	0
    sysfs		/sys	sysfs	defaults		0	0
    tmpfs		/dev/shm	tmpfs	defaults,noexec,nosuid	0	0
    devpts		/dev/pts	devpts	defaults	0	0
    /tmp             /var/tmp                    ext3    defaults,usrquota,bind,noauto        0 0
    
    
    

    cpanel disk usage show this :-

    /dev/root 20G 15G 3.9G 80% /


    please help
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    i haven't done any kernel updates its a fresh ovh server installed 3 days back
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you moved accounts over to this server from another?
     
  5. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    yes i have done it. any mistake ?
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Well, you might check for those backups in root and remove them if you find any, once the account has been restored properly.

    For example if you attempted to restore an account and it failed for some reason, that backup might have been left behind, using up all your space in root. (I'm guessing here of course)

    Have you taken a look at whats in there?
     
  7. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    no backups failed and /root has no big files here are some details :-

    Code:
    root@main [~]# du -sh /*
    4.0K    /
    12K     /aquota.user
    7.7M    /bin
    13M     /boot
    108K    /dev
    4.0K    /error_log
    83M     /etc
    35G     /home
    1.4M    /installd
    536K    /latest
    25M     /lib
    25M     /lib64
    16K     /lost+found
    4.0K    /media
    4.0K    /mnt
    4.0K    /mysqltmp
    37M     /opt
    0       /proc
    16K     /quota.user
    12M     /root
    38M     /sbin
    0       /scripts
    5.4M    /scripts.20120303.014606.7075
    20K     /selinux
    4.0K    /srv
    0       /sys
    22M     /tmp
    8.1G    /usr
    5.9G    /var
    
    
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,664
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Judging from the email, and the contents of /etc/fstab, it's not the "/root" directory itself, but rather the primary "/" directory. It appears this includes the following on your system:

    /usr
    /var

    You would need to remove files from these directories to free up space, or consider increasing the size of your partitions.

    Thank you.
     
  9. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    i see some strange file of around 4gb in /usr folder "tmpDSK" is it safe to delete it ?
     
  10. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    it seems correct , i deleted one nginx log sized 3gb from /var partition and yes diskusage changed , so any safe way to move whole var folder to /home ?
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,664
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I would not advise creating a symbolic link from "/var" to the home directory. There are too many factors involved that could result in unexpected behavior. Instead, if you need more disk space, you should consider consulting with your data center to determine the best method to repartition your drive.

    Thank you.
     
  12. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    any idea what is that large file ? in /usr folder called "tmpDSK" yesterday i ran script secure temp to increase /tmp size
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,664
    Likes Received:
    646
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, this file is where the data for your /tmp partition is stored. You should not remove this file.

    Thank you.
     
  14. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

    Joined:
    Aug 5, 2008
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    is it possible to make this partition in /home instead of /usr or /var
     
Loading...

Share This Page