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.

/dev/root is showing full

Discussion in 'General Discussion' started by zontrakulla, Jun 12, 2013.

  1. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Code:
    root@server [/dev]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    rootfs                9.8G  9.4G     0 100% /
    /dev/root             9.8G  9.4G     0 100% /
    devtmpfs              3.9G  440K  3.9G   1% /dev
    /dev/md2              907G  485M  860G   1% /home
    tmpfs                 3.9G     0  3.9G   0% /dev/shm
    /dev/loop0            485M   11M  449M   3% /tmp
    /dev/loop0            485M   11M  449M   3% /var/tmp
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/etc/named
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/etc/named.rfc1912.zones
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/etc/rndc.key
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/usr/lib64/bind
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/etc/named.iscdlv.key
    /dev/root             9.8G  9.4G     0 100% /var/named/chroot/etc/named.root.key
    
    Code:
    root@server [/dev]# cd /dev/root
    -bash: cd: /dev/root: No such file or directory
     
  2. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    It's fine now after a reboot. Well..
     
  3. 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 :)

    There could have been open file handles for deleted files that were closed with the reboot. I am happy to hear you were able to resolve the issue.

    Thank you.
     
  4. zontrakulla

    zontrakulla Active Member

    Joined:
    Jan 16, 2008
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Actually i remembered that i had symlinked /dev/root to /dev/md1. I don't know why. I removed the symlink and rebooted, and this fixed.
     
  5. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    It is nice to here that this issue has been fixed, if faces same issues ahead then you can also have a look on some of server logs files which could be present in GBs. Also if your MySQL directory is having big data size then you can move them in /home drive and make a symlink for it from /var/lib/ as this case is majorly found in same problems.

    I can see that your / drive is only having 10G space then above setting is highly recommended.
     
  6. faisikhan

    faisikhan Well-Known Member

    Joined:
    Dec 12, 2011
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Islamabad, Pakistan
    cPanel Access Level:
    Root Administrator
    Strongly agreed with you guys, may be that issue can happen again. So it would be better to check the disk usage in detail before rebooting the server as a reboot is not a permanent fix. Usually most of the space is occupied by the logs etc, so you need to empty those files or just remove if these are of no use to you.
     
Loading...

Share This Page