LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Partitions - are these ok? (https://www.linuxquestions.org/questions/linux-newbie-8/partitions-are-these-ok-260150/)

The_JinJ 11-28-2004 09:42 AM

Partitions - are these ok?
 
Building a general purpose server - web, MySQL and a few other services.
I was going to partition like this -

HDA1 - /Boot - 100mb
HDA2 - /SWAP - 512mb
HDA3 - / - 3900mb

Ext
HDA5 - /DATA1 - 4000mb -- will be mostly www
HDA6 - /DATA2 - 900mb -- Databases
HDA7 - /TMP - 100mb

That fills the disk roughly - is this a sensible layout?

Any recommendations?

bigrigdriver 11-28-2004 10:10 AM

Since the size of /boot seldom changes (unless you plan to add a few versions of the kernel), you shouldn't need 100MB for /boot. You could trim that down and give the free space to another partition.

The_JinJ 11-28-2004 10:16 AM

Quote:

Originally posted by bigrigdriver
Since the size of /boot seldom changes (unless you plan to add a few versions of the kernel), you shouldn't need 100MB for /boot. You could trim that down and give the free space to another partition.
ok thanks - should I have /var and /usr on seperate partitions?

Optimistic 11-28-2004 11:11 AM

For a server it might be a good idea to put /var on a seperate partition. I would also put /tmp on a seperate partion for security reasons.

I'm not sure about for a server, but on desktops I always put /home on its own partition.


All times are GMT -5. The time now is 11:27 PM.