Best partitioning scheme for 2 x 160GB drives?

Inquisitor

Verified User
Joined
Nov 24, 2006
Messages
8
Location
UK
(I hope this is in the right forum... it seemed "installation"-related.)

Hi, first let me say that while I'd like to think I'm somewhat technically competent, I have absolutely no experience of partitioning on Linux, so any and all insight is greatly appreciated.

I'm hopefully going to be the proud new lessee of a server with two 160GB hard drives soon, and have come up with the following as a rough idea of how to have them partitioned:
Code:
Primary drive:
/boot - 100MB
/ - 10GB
/var - 15GB
/usr - 15GB
/home - rest of drive

Secondary drive:
(swap) - 2GB
/tmp - 2GB
/backup - rest of drive
The OS will likely be either CentOS 4.x or Debian Sarge, if it makes any practical difference.

The main thing I'm wondering, apart from "Do those values look okay for DA?", is this: will I be likely to encounter problems/incompatibilities/errors by having the swap partition and /tmp on the secondary drive? Is this even a good idea? It seemed so to my simple logic that the OS could read/write to swap/temp and user/system data at the same time... Feel free to enlighten me if I'm way off!

If you can think of a better way to make use of 2 x 160, don't be afraid to (constructively) ridicule my draft. :D

As a side note, is using Dovecot recommended, and/or should I take a possible future move to it into account when deciding on partitioning? (...How?)

I guess that's it for this post. Thanks in advance. :)
 
Looks okay to me ...

swap can be on any drive, as can /tmp, and in fact things can even run a bit faster if they are.

However, your OS distribution may not automatically mount /tmp on the second drive so be sure to look at df -h after you install your OS and before you do anything else.

Jeff
 
Back
Top