
11-21-2001, 06:11 AM
|
|
Web Hosting Evangelist
|
|
Join Date: Dec 2000
Posts: 541
|
|
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.
|

11-21-2001, 11:47 PM
|
|
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
|

11-22-2001, 03:15 AM
|
|
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?
|

11-22-2001, 03:28 AM
|
|
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
|

11-22-2001, 03:31 AM
|
|
Web Hosting Evangelist
|
|
Join Date: Dec 2000
Posts: 541
|
|
Thank you ~~~ 
|

11-22-2001, 06:32 AM
|
|
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
|

11-22-2001, 06:49 AM
|
|
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 
|

11-22-2001, 10:46 AM
|
|
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
|

11-23-2001, 11:03 AM
|
|
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 ?
|

11-23-2001, 11:43 AM
|
|
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
|

11-23-2001, 01:10 PM
|
|
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.
|

11-24-2001, 01:22 AM
|
|
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!
|

11-24-2001, 01:25 AM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2001
Location: St Pete, FL
Posts: 291
|
|
|

11-26-2001, 04:37 AM
|
|
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...."
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|