hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Free diskspace...
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Free diskspace...

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-21-2001, 06:11 AM
Cael Cael is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 541

Free diskspace...


Quote:
Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 387M 374M 0 100% /
/dev/hda5 48G 2.6G 43G 6% /home
/dev/hda6 3.8G 2.5G 1.1G 69% /usr
/dev/hda7 1.9G 313M 1.5G 17% /var
Here's a list of my server diskspace usage.

I would like to add more space or free up hda1, but the problem is how?

For adding more space, is there anyway I can assign diskspace from hda5 etc to hda1?

And for freeing up the diskspace, where's it "/" located at? Is it the root folder for the server? Or I just have to remove files located outside /home , /usr/ or /var?

I need advices please. Thank you very much.

Reply With Quote


Sponsored Links
  #2  
Old 11-21-2001, 11:47 PM
regier regier is offline
WHT Addict
 
Join Date: Jul 2001
Posts: 132
Hello,

Chances are it is your /tmp directory that is taking up the extra space. You can remove the files in it without troubles. You might also want to use a symbolic link to move the /tmp folder into another partition.

__________________
http://www.100megswebhosting.com

Reply With Quote
  #3  
Old 11-22-2001, 03:15 AM
Cael Cael is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 541
Thank you very much

Just another question, anymore directory which I can remove without worries as well?

Reply With Quote
Sponsored Links
  #4  
Old 11-22-2001, 03:28 AM
regier regier is offline
WHT Addict
 
Join Date: Jul 2001
Posts: 132
I've never had a need to move any other directories. Generally the /tmp is the only one that is active with the config that you showed. Therefore if you move it elsewhere, your space shouldn't get used up.

__________________
http://www.100megswebhosting.com

Reply With Quote
  #5  
Old 11-22-2001, 03:31 AM
Cael Cael is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 541
Thank you ~~~

Reply With Quote
  #6  
Old 11-22-2001, 06:32 AM
mahinder mahinder is offline
Web Hosting Master
 
Join Date: Aug 2001
Location: Matrix
Posts: 2,469
remove unwanted files from /mail folder this will save some space

__________________
CPHosting - Web Hosting Experts Since 1998.
United States | Europe | Singapore | Australia
Visit Us! www.cphosting.com

Reply With Quote
  #7  
Old 11-22-2001, 06:49 AM
Domenico Domenico is offline
Premium Member
 
Join Date: Dec 2000
Location: Lowlands
Posts: 716
I made a cron job rm -rf /tmp/*
This runs every day so I don't have to worry about that anymore.

If someone thinks or knows that this is a bad thing to do then please tell me

Reply With Quote
  #8  
Old 11-22-2001, 10:46 AM
magnafix magnafix is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Montana USA
Posts: 673
If /tmp is where PHP session files are stored then you cron job could unexpectedly empty visitors' shopping carts, etc.

__________________
John Masterson
Former Hosting Company Owner

Reply With Quote
  #9  
Old 11-23-2001, 11:03 AM
Cael Cael is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 541
well... I am facing the same situation now. This time, even though I emptied /tmp , the error did not gone just like the last time. It remains there.

Help! What else can I do ?

Reply With Quote
  #10  
Old 11-23-2001, 11:43 AM
Synergy Synergy is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Boston, MA (USA)
Posts: 773
I had the same problem before and moved /tmp dir inside /home

Reply With Quote
  #11  
Old 11-23-2001, 01:10 PM
kwimberl kwimberl is offline
Web Hosting Guru
 
Join Date: Jun 2001
Location: St Pete, FL
Posts: 291
A couple of things:

1) I would recommend symlinking your /tmp to inside of your /home since you have so much space there rather than running that cron.

2) Mail can also be the culprit. Check /mail/inbox. If you have a spammer or some other reason to get tons of returned mails to "nobody", that can fill up fast. Try cleaning that up. If this continues to be a problem, then you might think about routing that inbox to /dev/null. There are some disadvantages to doing this, but not as many disadvantages as having the root partition full. :-)

Hope this helps. If these things do not clear it up, let us know.

Reply With Quote
  #12  
Old 11-24-2001, 01:22 AM
Cael Cael is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Posts: 541
Thanks a lot guys.

I moved /mail/inbox to another partition and made a symbolic link for it. And now, 40% of the space is free and my Cpanel error is solved.

YES!

Reply With Quote
  #13  
Old 11-24-2001, 01:25 AM
kwimberl kwimberl is offline
Web Hosting Guru
 
Join Date: Jun 2001
Location: St Pete, FL
Posts: 291
np :-)

Reply With Quote
  #14  
Old 11-26-2001, 04:37 AM
bobcares bobcares is offline
Root@Bobcares
 
Join Date: Nov 2001
Location: India, US, Germany
Posts: 1,568
*

Hi!
I would suggest moveing the directories and then creating soft links.
e.g.
$ mv /tmp /home/tmp
ln -s /home/tmp /tmp

Hope this is useful.


Have a great day

Regards
amar

__________________
A student once asked his teacher, "Master, what is enlightenment?"
The master replied, "When hungry, eat. When tired, sleep. When you need care, come to bobcares...."


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup - April 12, 2013 Web Hosting News 2013-04-12 16:11:36
Spammy Hosting Clients Won't Affect Your Site Ranking: Google Blog 2013-04-10 13:36:07
Web Host PromptSpace Launches Shared Hosting Platform Web Hosting News 2011-12-27 18:15:25
Telecommunications Firm Cox Discontinues Free Personal Hosting Web Hosting News 2011-11-04 19:41:11
Web Host Bluehost Launches Reseller Hosting Web Hosting News 2011-10-14 15:16:37


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?