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.

Need Help Bad! Please Read!

Discussion in 'General Discussion' started by rllunzmann, Jul 17, 2008.

  1. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hello, my dedicated server uses WHM / cPanel. Today, I am unable to terminate or create accounts. I receive the following error message:

    The / partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.

    Here is my hard drive information:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 72G 67G 990M 99% /
    /dev/sda1 99M 17M 78M 18% /boot
    /dev/sdb1 37G 17G 19G 47% /home2
    /dev/sdb2 37G 37G 0 100% /backup
    none 501M 0 501M 0% /dev/shm
    /usr/tmpDSK 485M 11M 449M 3% /tmp
    /tmp 485M 11M 449M 3% /var/tmp


    I really need to get this resolved as soon as possible. I am willing to hire the right person to help me make disk space as well. If anybody could kindly provide some insight that would be great!

    Thanks, I'm desperate here...

    -Ryan L.
     
  2. chandro

    chandro Well-Known Member

    Joined:
    Nov 21, 2005
    Messages:
    99
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    /home/chandro
    cPanel Access Level:
    Root Administrator
    IS FULL!!!!


    /dev/sda3 72G 67G 990M 99% / <- 99% !!!
    /dev/sda1 99M 17M 78M 18% /boot
    /dev/sdb1 37G 17G 19G 47% /home2
    /dev/sdb2 37G 37G 0 100% /backup <- 100%

    you need to move filez from /backup to /home2

    if not, server is gonna be really slow, can get freezed and you be unable to use it at 100%
     
  3. Serra

    Serra Well-Known Member

    Joined:
    Oct 27, 2005
    Messages:
    213
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Florida
    Yea, once you hit 100%, you are basically screwed. The best way to resolve this is to use SSH to move some files to the other drive to make room so you can use cpanel to move things around.


    You really need to monitor your drives, they should never get above 90%, IMO.
     
  4. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the feedback. What commands should i use via SSH to move files from /home to /home2?

    Thanks for your prompt response!

    Ryan L.
     
  5. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    can anybody kindly provide commands to move files via SSH to the right partition?

    I would really appreciate this. Thanks!

    If necessary, i'm willing to pay someone to do this. I'm at wits end right now...
     
  6. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    why do you want to use anything related to ssh when you are dealing with the same server ?

    you can opt to use the "mv" command to achieve this.

    mv /home/FILE /home2/
    ----------------------------------
     
  7. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    So using the command you mentioned, will move all files from sda3 to /home2?

    Where would i type that command? Thanks!
     
  8. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    first, you need to decide on what you want to move. Suppose the file is at /root/ten.tar.gz ; then the command should be :

    mv /root/ten.tar.gz /home2/
    =====================

    NB: Do not attempt to move the entire files under "/" to /home2 or you will end up with a broken system. Make sure you move files that are not related to the system.
     
  9. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I have found out the following from a user:

    Below is the summary of where your disk space is being used.

    root@server2 [~]# nice -n 0 du -h --max-depth=1 /
    3.9G /usr
    14G /home2
    945M /proc
    8.0K /misc
    5.2M /bin
    154M /lib
    37G /backup
    152K /dev
    595K /tmp
    17M /sbin
    0 /sys
    8.0K /initrd
    33G /home
    8.0K /media
    8.0K /srv
    7.0M /scripts
    16K /lost+found
    8.0K /selinux
    17M /etc
    39M /opt
    11M /boot
    140M /root
    8.0K /mnt
    3.0G /var
    91G /
    root@server2 [~]#

    Your /home only use 33GB of space while the rest of folders merely use any significant space which telling me that there must be some huge files in / .
    I found 2 large files in /, they are as below:

    root@server2 [/]# ls -l *.gz
    -rw-r--r-- 1 root root 60958015 Dec 4 2007 backup-12[1].4.2007_19-13-15_lovethe.tar.gz
    -rw-r--r-- 1 root root 70944246 Dec 9 2007 backup-12.9.2007_00-51-04_lovethe.tar.gz
    root@server2 [/]#

    So basically, i would like to delete the following files:

    backup-12[1].4.2007_19-13-15_lovethe.tar.gz
    backup-12.9.2007_00-51-04_lovethe.tar.gz

    Basically, i should use the same commmands as stated above but use the above as the file names? I don't want to move these files, only delete them, they are not needed anymore.

    Regards,
    Ryan
     
  10. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    rm -rf <PATH TO FILE TO BE DELETED>
    ---------------------------------------------------

    Note: If the path to file is not correct, you may end up with a broken system.

    Example :

    rm -rf /backup-12.9.2007_00-51-04_lovethe.tar.gz
    -----------------------------------------------------------

    This is when backup-12.9.2007_00-51-04_lovethe.tar.gz is located at "/"
     
  11. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    ok, i deleted those files, what commands in SSH can i use to view the file directory?

    THanks,
    Ryan
     
  12. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
  13. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You need to free up space, that is deleted (or move to another disk with free space) any unwanted files or backup. If you still can't get free space, move some sites to /home2
     
  14. rllunzmann

    rllunzmann Member

    Joined:
    Apr 24, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    hi everyone,

    The issue still persists.. WHM won't allow me to terminate or rearrange accounts so i'm not sure how to make space now?

    The / partition on this server is running out of disk space. WHM operation has been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition.


    Any way around this?

    Thanks..
     
Loading...

Share This Page