Gossamer Forum
Home : General : Chit Chat :

Need Ideas!!!

Quote Reply
Need Ideas!!!
Ok I'm quickly running out of disk space on my server (on one partition).

Here are the stats:
Code:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 743466 701837 41629 94% /
/dev/hda3 198601 17453 181148 9% /var
/dev/hda4 17671528 833089 16838439 5% /home

If anyone has any good ideas about what to delete to free up space please let me know. I've deleted chunks from /usr/share and /usr/doc but as fast as I remove it, it fills back up. I've considered moving things about but I'm hoping someone will be able to give me some good ideas of big files to delete before I take that action.

Thanks!

I thought about posting in the perl, sql forum but it isn't relly related to anything like that....just looking for ideas on what to delete Angelic

Last edited by:

RedRum: Oct 27, 2001, 8:22 AM
Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
Hi,

Looks like you have a log file growing in / somewhere. Check /tmp, or any applications that might be installed in /usr/local.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Need Ideas!!! In reply to
I've been scowering for days Blush with no luck

/tmp is empty

There are no big logs around - most are in /var/log

I just can't find any big files :(....baaha





Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
Try:

du -sh `ls /`

and it will print a summary of how much each directory is using. You can ignore var and home, and look at the others. Should help you find what is taking up most of the room.

Cheers,

Alex
--
Gossamer Threads Inc.
Post deleted by RedRum In reply to
Quote Reply
Re: [Alex] Need Ideas!!! In reply to
Oky Doky....the culprit (thanks for that command btw):

640M usr

Last edited by:

RedRum: Oct 27, 2001, 9:25 AM
Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
Then inside /usr

53M bin
211M lib
31M sbin

Most of the rest say no such file or directory.

Last edited by:

RedRum: Oct 27, 2001, 9:27 AM
Quote Reply
Re: [Alex] Need Ideas!!! In reply to
Wooohoooo

I worked my way through /usr and eventually found the bugger!

It was a directory full or web/ftp/mail reports taking up 208MB so I killed the sucker (after double checking I was ok to delete it).

New stats:

/dev/hda1 743466 488485 254981 66% /

Thanks for your help!

Last edited by:

RedRum: Oct 27, 2001, 11:31 AM
Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
glad you figured it out ... sounds like a bad case of *nix creep ... hehe had that a while back too!

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Need Ideas!!! In reply to
It sucks. You don't even get a hint of where the problem is when it occurs.

Also Ed the dumbass decided to delete his whole site yesterday so I spent about 3 hours uploading over 2000 files to restore it ugh.

If it wasn't for my backup he'd be sitting there twiddling his thumbs now.

Last edited by:

RedRum: Oct 28, 2001, 3:31 AM
Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
Your clients don't keep local copies of files??? That is not a good thing. I hope you charge your clients to backup their data if they are so clueless not to keep local backups of files...most ISPs charge to conduct backups, mine charges $75.00 to conduct a normal backup (per hour).

Also based on your recent threads about backing up data, seems to me like you do not have a backup tape drive and automated backup program...you should consider investing in a more robust backup system (rather than creating tar.gz or zip files of sites you host). Because using a tape drive and backup program, you can automate a restoration process and not go through the manual pains you have experienced.

Just my opinion...

========================================
Buh Bye!

Cheers,
Me

Last edited by:

Chewbaca: Oct 28, 2001, 6:52 AM
Quote Reply
Re: [Chewbaca] Need Ideas!!! In reply to
Ed isn't a client. I wouldn't go around calling my clients dumbasses Tongue

We make tape backups regularly but it was 1am last night and the quickest way to get the site back online was to use my local backup.

Last edited by:

RedRum: Oct 28, 2001, 7:01 AM
Quote Reply
Re: [RedRum] Need Ideas!!! In reply to
wasn't Ed a horse on american TV years ago??? Angelic

openoffice + gimp + sketch ... Smile