Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Insight on partitioning a LAMP Server design issue



I have no issues with your partitioning scheme, but a few questions. Why
have /dev/sda RAID 1 and /dev/sdb RAID 5? I thought that a single RAID
volume required 2 separate physical volumes volumes.
Secondly, I would probably want to use LVM to give you greater
flexibility so you can resize and move things around.



On 10/31/2009 07:01 AM, Stephen Goldman wrote:
> Hello Blu,
>     Request insight on partitioning a new "LAMP" server with two partit=
ions.=20
>     Seeking input from others more experienced than me.. thanks,  =20
>     Are there any posted guidlines for best performance. Wish to provid=
e best product
>   =20
>     The device is a brand new Dell server with:=20
>     /dev/sda    raid one 160 G
>     /dev/sdb    raid five 270G=20
>
>     32 G phyiscal ram
>     RHEL 5.3
>
>     My plan was to partition /dev/sda as follows:
>
>     /            25  G
>     /            20  G swap
>     / var       25 G
>     /tmp      20  G
>     /home   remainer
>
>     /dev/sdb
>
>     /data    =3D  270 G
>
>     I am provisioning the machine for others who will configure ,Apache=
 and Mysql
>
>
>     I suggested they redirect the Apache root folders and Mysql db to r=
un on /dev/sdb.
>     The researcher who is creating the site states he has only worked w=
ith both services when configured inside /var.
>     Linmited experience.
>
>     I know the Apache can be redirected .. but no sure of how the redir=
ect Mysql   to live on       /dev/sdb --
>    =20
>     Questions:=20
>     Does the partitioning scheme make sense ..=20
>     Is there performance gains running the services on the partitiion /=
dev/sdb
>     Is it difficult to redirect the services on /dev/sdb ?
>     Is it easier to place /var  on  /dev/sdb  size it to the whole part=
ition?=20
>    =20
>     /home does not need to be  70 G .. but the space  is there //
>
>     Thanks for you input,
>
>  =20

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org