LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-27-2005, 11:31 PM   #1
Fr33B5D
Member
 
Registered: Aug 2005
Location: France
Posts: 43

Rep: Reputation: 15
Lightbulb Optimum Partitioning for WEB SERVERs


Dear friends,
I am going to setup a very busy web server on a FC4 machine. I expect to have more than 30G various web pages and data bases(and normally a large amount of log files).

In this case what is your suggestion for determining partitions ?

Note: We have no limitation in terms of hard disks.

Thank you,
 
Old 08-28-2005, 09:26 AM   #2
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
If you want to get really technical you could check out the FHS, though it "has been designed to be used by Unix distribution developers, package developers, and system implementors. However, it is primarily intended to be a reference and is not a tutorial on how to manage a Unix filesystem or directory hierarchy.".

http://www.pathname.com/fhs/
 
Old 08-29-2005, 02:39 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Learning this may be a luxury, but try to put it all on LVM. That way if you need to change your partitioning, you can do it dynamically.

I have always been in favor of fine grained partitioning, but the downside is accurately predicting how much you will need for each. Two of the advantages of separate partitions are that they can be backed up, restored, & updated as separate units; & filling one will not overrun the others.

Here is a beginning list of candidates for separate partitionhood:
  • /
  • /home
  • /usr
  • /var
  • /var/log
  • /tmp
  • your web pages

You will need to decide which are appropriate for you & what to allocate. Perhaps others will give some sizing suggestions or ask pertinent Q's.
 
Old 08-29-2005, 04:32 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
At the bare minimum, you are going to want to separate:

/
/usr
/var
/tmp

And then have the actual hosted sites on their own partition, maybe even their own drive.

For a web server I wouldn't bother separating /home, since you likely won't have much in there (unless this is also an FTP server, in which case the default directory for an FTP connection is the home directory).
 
  


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 more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
understanding web servers noonday Linux - Networking 1 04-29-2004 08:19 PM
mirrored web servers? GuitsBoy Linux - General 1 10-29-2003 03:43 PM
Shouldn't this be easier? (Web servers) newtolinux83 Linux - Newbie 4 06-03-2003 04:06 PM
2 web servers hawkes Linux - Networking 3 05-24-2001 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:42 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