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.

Sapce problem in Hard disk

Discussion in 'General Discussion' started by mian66, Feb 14, 2010.

  1. mian66

    mian66 Member

    Joined:
    Feb 14, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I am receiving automatic emails from my server saying that /sda5 is 81% full. And in the time of weekly backup it comes to 100%.

    I have put an image of disks condition.

    How can I divide data on other parts of hard disk? my hard is 250 gig and 90% of it is empty.

    What is the problem? why is /sda8 empty with 196 gig space?

    Kind Regards
     

    Attached Files:

  2. mian66

    mian66 Member

    Joined:
    Feb 14, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I am still waiting for cPanel support team to guide me.

    Thanks in advance
     
  3. rackaid

    rackaid Active Member

    Joined:
    Jan 18, 2003
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Jacksonville, FL
    cPanel Access Level:
    DataCenter Provider
    Depending on how you setup your server /dev/sda8 may not be mounted. You may need to adjust how your server mounts the various partitions, adjust your backup script or move some files around to take better advantage of the disk space.

    I've seen some cPanel boxes misconfigured such that a /dev/sd# was partitioned but never actually put into use. It takes a bit of time, but typically you and move files around and take advantage of that partition.

    For backups, if you are not using off-site backups, I highly recommend using a second disk. The backup process on cpanel is rather disk IO and cpu intensive, so using a second disk can keep backups on larger systems from bogging down the server.
     
  4. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    It seems that you have some unwanted data in /. Can you paste the out put of following command? Login to your server via SSH and change directory to / using cd /

    Then use following command to check disk usage of all files/folder:

    du -hs *

    Paste the output of above command.

    - Kailash
     
  5. mian66

    mian66 Member

    Joined:
    Feb 14, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    Thanks all.

    I found the problem. That was because my /backup folder was in root.
    I changed the backup directory into /home so backups will be saved in sda8.

    But I think it will be very useful if someone write a tutorial about working on hard disks and mounting and.... on servers because I searched a lot and there were none.

    Kind Regards
     
  6. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    It is advisable to keep backup in /home. In case of drive failure you will lose your backup as well.

    - Kailash
     
Loading...

Share This Page