Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-27-2005, 11:31 PM
|
#1
|
Member
Registered: Aug 2005
Location: France
Posts: 43
Rep:
|
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,
|
|
|
08-28-2005, 09:26 AM
|
#2
|
Member
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468
Rep:
|
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/
|
|
|
08-29-2005, 02:39 PM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
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.
|
|
|
08-29-2005, 04:32 PM
|
#4
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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).
|
|
|
All times are GMT -5. The time now is 09:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|