[brlug-general] Partitioning suggestions for the LAMP server?

Joe Fruchey ignavia at gmail.com
Thu Oct 12 21:09:06 CDT 2006


whoa. Do I really need all those?

On 10/12/06, Andrew Baudouin <andrewmb at gmail.com> wrote:
> I don't remember how much ram you said you had,  but assuming 2GB
> (double the ram as a swap partition), I'd partition as follows:
>
> Assuming the drive is called /dev/sda....
>
> /dev/sda1      100MB           ext2         /boot
> /dev/sda2      4GB              Linux swap
> /dev/sda3      5GB             reiser3    /tmp
> /dev/sda4   (Extended holder)
> /dev/sda5      20GB        xfs/jfs         /var  (I know most
> distributions place their server application binaries and data under the
> var directory)
> /dev/sda6      19GB        xfs/jfs         /usr
> /dev/sda7      20GB         xfs/jfs         /opt
> /dev/sda8      10GB         xfs/jfs         /
> /dev/sda8      1GB        xfs/jfs          /home
>
>
> Depending on the needs of your applications, you may find that 5GB as
> /tmp doesn't work well.  Really all of the above information depends on
> your applications.  If you have a need for a bunch of user specific,
> large files and less of a need for client applications, decrease /opt
> and increase /home.
>
>
> Joe Fruchey wrote:
>
> >Ok, I dusted off my Ubuntu 6.06 LTS DVD (Amazing how much dust
> >accumulates in four months...), popped two 80GB drives in the GX240,
> >and started the install.
> >
> >I want to do RAID1 for data integrity, but I have no RAID experience
> >whatsoever. I set it up with 2 active drives and 0 spare drives (is
> >that right?)
> >
> >Now how should I partition this thing? On my desktops, I like to do
> >one big partition, plus swap, but I know most servers are partitioned
> >crazily. What should I do?
> >
> >Joe
> >
> >_______________________________________________
> >General mailing list
> >General at brlug.net
> >http://brlug.net/mailman/listinfo/general_brlug.net
> >
> >
> >
>
>
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://brlug.net/mailman/listinfo/general_brlug.net
>



More information about the General mailing list