LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-01-2008, 07:58 PM   #1
RMLinux
Member
 
Registered: Jul 2006
Posts: 260

Rep: Reputation: 37
What is the best Partitions of HDD if you are creating your own server?


Hi Keen Duds,

pls help. I experience almost of all log files are in /var even the mysql server resides on it. and the website is reside in /var/www....default in apache.

do I have to put higher partition in /var? how about if I add another users? what is the partition of /usr?

pls guide me in creating good HDD partition.

thanks to all.
 
Old 12-01-2008, 08:13 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It largely depends on your needs.

For a server, I would have a partition for /, /home, /var and /usr. It can also be worth having a separate partition for /tmp (to prevent temporary files filling up your / partition).

Depending on what your server will be used for will dictate the size of each of these partitions. Make sure you leave ample space on / and /usr. /var will need to be big if you are running a mail server and your mail spool is in /var.
 
Old 12-01-2008, 08:24 PM   #3
RMLinux
Member
 
Registered: Jul 2006
Posts: 260

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by IBall View Post
It largely depends on your needs.

For a server, I would have a partition for /, /home, /var and /usr. It can also be worth having a separate partition for /tmp (to prevent temporary files filling up your / partition).

Depending on what your server will be used for will dictate the size of each of these partitions. Make sure you leave ample space on / and /usr. /var will need to be big if you are running a mail server and your mail spool is in /var.
I want to use as a single website server with 4 3rd party user.
 
Old 12-01-2008, 09:10 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
That's still too broad. A website can hold lots of things, like mail, databases, or whatever info.

But I assume you just mean some kind of personal webpage, blogs or whatever. In that case, you probably want to save some space for /var, since that's where webs usually live, along with mail and databases. Having a separate /home helps when it comes to doing backups of your user's private data... The rest just depends on your concrete needs. Some people like having a separate partition for /boot, /usr/src/, /usr/ or /opt. I don't think that this makes much sense for a home server. But again, it all depends on what exactly do you want, your backup policies, your security requirements, the involved filesystems and many other factors.
 
  


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
HDD partition recovery - HDD works but no partitions are accessible? stevod333 Linux - Software 6 10-01-2009 05:24 AM
Question on creating more partitions than default ones, i.e. /home,/root partitions casmac SUSE / openSUSE 1 12-20-2006 05:02 PM
Creating Partitions / image partitions ELEGANCE Linux - General 1 05-17-2006 07:37 AM
Creating Partitions adamb10 Slackware - Installation 4 03-30-2005 02:36 PM
Partitions on my HDD. k-mart Slackware - Installation 3 07-21-2004 02:27 AM

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

All times are GMT -5. The time now is 03:27 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
Open Source Consulting | Domain Registration