[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new server set up with two IDE disks



On Mon, 28 Feb 2005, Kevin Coyner wrote:

> I'll soon be setting up a new server and plan on installing debian on
> it.  The server will have two 80 GB IDE hard drives with NO raid.

good :-)
 
> I'm trying to figure out how to best partition these two disks and would
> appreciate any advice.  

partition scheme ...
	- pick your poison ... ask 10 people... you get 10 different
	answers

	- ask um "why" one way is better than the other ... some 
	will explain "why" and that its better for xxx and yyy reasons
 	which may be non-sense reason from another view/purpose

> The server will run Apache, Postfix and MySql.

you forgot the "L"  for the "LAMP" .... and you changed "P" around a
little instead of PHP/Perl

> MySql DB's will of course reside in /var.

move it to /home/msql

> Virtual domains for Apache will reside in /home.

good 

and backuyp only /etc and /home to the other disk
 
> So with that info in mind, does it make sense to have /var on one HD,

both disks should be a standalone system ... but itself

> and /home on the other HD so that the load from web activity and DB
> activity is split between them?

keep a master disks .... where everything is working/running

use the 2nd disk as the backup of the "master disk"
	- do not bother with raid if "raid" doesnt help keeping
	the server up for what you need and that it doesnt hurt
	if the machine goes down for 2 minutes while you 
	move /dev/hdc to /dev/hda and vice versa for a disk failure..
 
c ya
alvin



Reply to: