<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:navy;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Hi Edgar, no such thing as ‘too noob’.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Depending on what your server will be doing you may want the swap
partition on a separate physical drive from your OS and data partitions.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>You probably don’t want your boot partition on a RAID volume
for performance reasons. I would think that having your swap on a RAID
partition would be doubly deadly.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I usually create a RAID1 for my boot partition, then take one of
the drives offline. That way you can bring it back online to sync after
an OS update and have a ‘hot spare’ laying around if the server OS
gets compromised or corrupted.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Best of luck, this sounds like a fun project!<br>
<br>
Matt<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=2 width="100%" align=center>
</div>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
sgvlug-bounces@sgvlug.net [mailto:sgvlug-bounces@sgvlug.net] <b>On Behalf Of </b>Edgar
Garrobo<br>
<b>Sent:</b> Monday, April 06, 2009 1:05 PM<br>
<b>To:</b> sgvlug@sgvlug.net<br>
<b>Subject:</b> [SGVLUG] Linux Partitioning for Server</span><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p>Hey guys. I hope this isn't too much of a noob question but I'm
working on building a CentOS 5 server and I'm at the partitioning phase.
I've pretty much always gone with the defualt partition setup that CentOS
proposes when you tell it to use the entire drive but I'm wondering if anyone
can suggest a better(optimal) partitioning setup. The server will be used
to host an internal Joomla site and will also be "joined" to my
windows AD domain with the hopes of being able to integrate AD authentication
with Joomla users. The Joomla content will be hosted on this same server
which will also host the Joomla site. It has a RAID 5 array of SATA
drives with 1TB of space. By default the partition manager wants to
create a SWAP file of 16GB which is double the RAM the server has. It
also wants to assign a /boot partition of 101 MB. The rest of the space
it's assigning to the root directory "/"<o:p></o:p></p>
<p>The breakdown it shows is as follows:<o:p></o:p></p>
<p>LVM Groups<o:p></o:p></p>
<p>- VolGroup00 992368<o:p></o:p></p>
<p> --LogVol01 swap 16213<o:p></o:p></p>
<p> --LogVol00 / ext3 976155<o:p></o:p></p>
<p>Hard Drives<o:p></o:p></p>
<p>- /dev/hda<o:p></o:p></p>
<p> --/dev/hda1 /boot ext3 101<o:p></o:p></p>
<p> --/dev/hda2 VolGroup00 LVM PV 992368<o:p></o:p></p>
<p> Can anyone suggest a better partitioning method or just point out any
caveats that one should know when partitioning a new server?<o:p></o:p></p>
<p>Thanks,<o:p></o:p></p>
<p>Edgar<o:p></o:p></p>
</div>
</body>
</html>