LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01: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, 02:07 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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, 02: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, 06:48 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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, 03: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


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 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 07:45 PM
adding space kwickcut Mandriva 9 10-14-2005 05:44 PM
Adding space to a partition... zaxs Linux - General 1 04-07-2005 11:49 PM
Adding more hd space zaipher Linux - General 9 09-28-2004 11:26 AM
adding swap space jamaso Slackware 6 06-21-2004 12:05 AM


All times are GMT -5. The time now is 06:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration