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

Re: Partitioning a Web Server



On Wed, Apr 02, 2003 at 09:58:03PM -0600, junkyjunk.com wrote:
> 50 domains on a 60gig disk should be NO problem. There should not even 
> be a need to partition the disk, except for / and swap. Why are you 
> trying to use partitions?
> 
> 50 domains with web and mail should run you probably around 500 megs on 
> a busy mail day. You are wasting your time worrying about partitions. If 
> you use proftpd and qmail, each of those programs support their own 
> quota systems, and manipulating that should be enough to keep a single 
> person from using up all of your space.

I'd consider it to be generally a bad idea to have user writable
directories on the same partition as /.  Therefore I always make sure
that I at least have partitions for:
/
/tmp
/home
/var

That way, nothing that a user does can fill up /, whether it be logged 
in through the system or through something like Apache.  If / fills up
it can obviously cause problems.  It can also help to keep /var/log
separate from the rest of /var for various reasons.

If you'd not likely to see more than 500mb of data used each day by
users, then this small amount of partitioning is not likely to get in 
the way at all.

-- 
Jeremy Lunn
Melbourne, Australia
"Just don't create a file called -rf. :-)"  -- Larry Wall



Reply to: