LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2003, 12:42 PM   #1
Maistre
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Adding space to a partiion


I have a webserver with CPanel installed. The partition that holds the log files is too small and rapidly fills up before the end of the month.

How can I allocate more space to that partiion?

OR

Is there another solution?

This is a very active web server and I would prefer to not have any downtime in solving this problem, or minimal down time at best.
 
Old 12-16-2003, 01:07 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
You can use GTKParted or parted to resize a partition but you probably just need to optimize logrotate for the webserver. Are you using Apache?
 
Old 12-16-2003, 01:19 PM   #3
Maistre
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, I'm using Apache 1.3.29

/dev/hda2 3.9G 3.7G 116M 97% /usr

This is my dilema... at this rate that partition should be 10G
 
Old 12-17-2003, 05:48 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I'm a newbie, but this might be an easy answer for you:
Remember that you can mount partitions anywhere, not just at / or /mnt.
Suppose your big log files are going in /var/biglogs/ and that directory is on a partition that is too small.
Find a new, big partition somewhere (maybe install a new hdd?), make a filesystem on it and then mount it as /var/biglogs.
Alternatively, you could mount your new partition as /ServerLogs and then tell your server that it should put its logs there, not wherever it is currently putting them (this information will probably be in a config file somewhere).

Hope this helps.
 
Old 02-26-2004, 02:05 PM   #6
viaujeff
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Hey Maistre ! I want to installe CPANEL on my mandrake machine but I don't know how ? Can you give me a hand by email or direct chat ? I would really appreciate it. Thank
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding space - can it be 'spanned' danimalz Linux - Hardware 1 10-22-2005 06:45 PM
adding space kwickcut Mandriva 9 10-14-2005 04:44 PM
Adding space to a partition... zaxs Linux - General 1 04-07-2005 10:49 PM
Adding more hd space zaipher Linux - General 9 09-28-2004 10:26 AM
adding swap space jamaso Slackware 6 06-20-2004 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration