LAMP Production Server - Dell 2850

Bill Asher bill.asher at
Sat Sep 9 20:48:45 UTC 2006

In your recommendation, would there be any need for LVM then?  I'm doing a Ubuntu LAMP install, after install how would you handle all the smylinks you are talking about?  I agree with your thoughts but am unsure how this effects your other partitions needed.

This is what I have now using LVM for the RAID5 drives:
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              62G  227M   59G   1% /
varrun               1014M   48K 1014M   1% /var/run
varlock              1014M  4.0K 1014M   1% /var/lock
udev                 1014M   96K 1014M   1% /dev
devshm               1014M     0 1014M   0% /dev/shm
                       34G  129M   32G   1% /home
/dev/mapper/data-usr   31G  364M   29G   2% /usr
/dev/mapper/data-var  138G  227M  131G   1% /var

The application we are producing is internal only via web browser.  Using Apache2, PHP5 and MySQL5.  My thoughts were to build 2 servers with Apache2 & any web services and 2 servers with MySQL for database services. One of each being production and development servers. This app will be used for about 300 users.  In your opinions is this over kill?  Or just do 4 servers each having Apache2 and MySQL on them, 2 production and 2 development?


-----Original Message-----
From: David Kempe [mailto:dave at] 
Sent: Friday, September 08, 2006 4:56 PM
To: Alejandro Sanchez Marín
Cc: Bill Asher; ubuntu-server at
Subject: Re: LAMP Production Server - Dell 2850

I am over having separate partitions for the sake of it. You just end up 
running out of space when you least need it.
I would suggest you just use the raid1 drives for the system, and 
allocate the whole raid5 to /home and redirect things like /var/www to 
I imagine the users are going to be users of the web application not 
system users.
oh and btw, grsecurity doesn't work with dapper's libc very nicely.
We have actually repatched it and are testing a very of dapper's libc 
that does work with grsec, but I doubt it will be widely available very 

Partitioning is a very application specific choice, but I would warn 
against too fine grained partitioning.


Alejandro Sanchez Marín wrote:
> Hi Bill, i have a similar configuration and best practice is:
> Logical drive 0: Put here / and swap partition if you need it.
> Logical drive 1: Use LVM to split RAID5 hardware into 3 partitions and
> put here /var, /usr and /home partitions. About partition distribution....

More information about the ubuntu-server mailing list