icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » Disk Space

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old February 29th, 2008, 12:53 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2007
15 posts
Gave thanks: 0
Thanked 0 times
Disk Space

I have a VPS, and 15GB of space to work with.

I have two accounts in my WHM, one uses roughly 7GB of space, the other uses about 50MB (not much).

I also have a folder for backups, which is around 1GB.

So, I should be using between 8-9GB, depending on the size of the OS.

However it says I am using up 13GB of my space.

My guess is some kind of backup file went missing somewhere random, but I have no idea where to look for it. Is there a way to search for the largest files in linux? Or to find the folders where most of the space is being used? This would help me pinpoint where the rogue files are. Thanks!
Roth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 12:57 PM   #2 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
Try logging into your FTP account and checking there. The folders with all of your backup files are located there, they are the first to show up before going into public_html.
__________________
Roxanne
Surpass Staff

Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 1:01 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2007
15 posts
Gave thanks: 0
Thanked 0 times
theres nothing in the /home/user/ directories, I've checked.

Also I moved all my backups to a created /backups/ directory.

So it could technically be anywhere on the server lol.

I'm looking more for a linux command line solution.

I tried doing:

ls -RSl

from the / directory, which basically just outputs every single file on the server, organized by size, and displays detailed information for each, however it organizes it by size PER folder... I kind of which it would organize by size OVERALL

Last edited by Roth; February 29th, 2008 at 1:03 PM.
Roth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 1:08 PM   #4 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,176 posts
Gave thanks: 18
Thanked 85 times
Well, I know on a shared account, the disk space used calculation includes mysql databases and email accounts as well since all of those also consume your disk space allocation.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 1:33 PM   #5 (permalink)
Surpass Abuse Admin
Super #1
 
removed's Avatar
 
Joined in Mar 2005
Lives in Houston, TX
7,572 posts
Gave thanks: 10
Thanked 263 times
What's your VPS's IP address? I can have a quick look around and let you know what I find.
__________________
Surpass Abuse & Security

unofficial IRC chat: #surpass irc.blessed.net (efnet)
removed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 1:40 PM   #6 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2007
15 posts
Gave thanks: 0
Thanked 0 times
66.7.208.155
Roth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 1:50 PM   #7 (permalink)
Surpass Abuse Admin
Super #1
 
removed's Avatar
 
Joined in Mar 2005
Lives in Houston, TX
7,572 posts
Gave thanks: 10
Thanked 263 times
The disk usage looks to be correct. /backups has almost 1GB worth of backups in it, and /usr/local/cpanel-rollback has a bunch of backup copies of cPanel config files. You can safely delete /usr/local/cpanel-rollback

Give du -h --max-depth=1 | grep G (or M to filter for anything that uses less than 1GB) a try next time you want to hunt down what's using the majority of your disk space.
__________________
Surpass Abuse & Security

unofficial IRC chat: #surpass irc.blessed.net (efnet)
removed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 2:23 PM   #8 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2007
15 posts
Gave thanks: 0
Thanked 0 times
Damn cPanel uses up an insane amount of memory. Thanks for the command, I didn't know about any du command hehe.
Roth is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 29th, 2008, 2:27 PM   #9 (permalink)
Surpass Abuse Admin
Super #1
 
removed's Avatar
 
Joined in Mar 2005
Lives in Houston, TX
7,572 posts
Gave thanks: 10
Thanked 263 times
cPanel is pretty bad about disk usage, but the CentOS version we install on our servers is no prize pig when it comes to disk space, either.

Good luck!
__________________
Surpass Abuse & Security

unofficial IRC chat: #surpass irc.blessed.net (efnet)
removed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On