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.

var2?

Discussion in 'General Discussion' started by ramorse, Jun 13, 2016.

Tags:
  1. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I have been doing some disk clean up and learned on one server I have a /var2 directory which has 64 GBs in it. What's weird is if I run du -sch * var returns 0. But it's full of stuff. More than var2. What the heck?
     
  2. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Plus, I have yet to figure out how to attack this 83% disk full issue:

    /dev/mapper/VolGroup-lv_root

    How do I figure out what that is, and reduce the amount of data?
     
  3. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I have been trying to follow the documentation on managing your HD disk space. However, the servers I am working with are using Cloud LInux with CageFs and when I use the command:

    du -sh /

    I get only something like the following back:

    du: cannot access `/usr/share/cagefs-skeleton/proc/612486/task/612486/fd/4': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/612486/task/612486/fdinfo/4': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/612486/fd/4': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/612486/fdinfo/4': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/995240/task/995254/fd/2111': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/995240/task/599281/fdinfo/2110': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/995240/task/599281/fdinfo/2111': No such file or directory
    du: cannot access `/usr/share/cagefs-skeleton/proc/995240/task/600198/fdinfo/2110': No such file or directory
    du: cannot access `/proc/612486/task/612486/fd/4': No such file or directory
    du: cannot access `/proc/612486/task/612486/fdinfo/4': No such file or directory
    du: cannot access `/proc/612486/fd/4': No such file or directory
    du: cannot access `/proc/612486/fdinfo/4': No such file or directory
    du: cannot access `/proc/615293/task/615293/fdinfo/306': No such file or directory
    du: cannot access `/proc/615550': No such file or directory
    du: cannot access `/proc/615558': No such file or directory
     
  4. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Well, at least I got that one step cleared up in that Cloud Linux support said I needed to run an exclude path to the command before I got the disk space results.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the output after excluding those directories in the command? Also, please post the specific command you are using to verify the disk space usage.

    Thank you.
     
  6. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    du -sh --exclude=/proc --exclude=/usr/share/cagefs-skeleton/proc /*

    389G /backup
    8.5M /bin
    146M /boot
    32K /cldeploy
    20K /CPAN
    192K /dev
    4.0K /error_log
    42M /etc
    123M /graphviz-2.28.0
    94G /home
    583M /lib
    28M /lib64
    16K /lost+found
    4.0K /media
    4.0K /mnt
    669M /opt
    20K /quota.user
    8.0G /root
    16M /sbin
    0 /scripts
    4.0K /selinux
    4.0K /srv
    0 /sys
    1.2M /tmp
    74G /usr
    0 /var
    du: cannot access `/var2/log/dcpumon/toplog.1466466301': No such file or directory
    64G /var2
    270M /var.old
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Check to see if /var exists as a symbolic link to the /var2 directory with a command such as:

    Code:
    stat /var
    Thank you.
     

Share This Page