Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2003, 12:42 PM   #1
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?


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
Registered: Aug 2002
Posts: 17,328

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
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
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
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,096

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
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
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


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 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 AM.

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