1) RAID 1 is good for reading while writing is a overhead for the disk and may hit the performance <div>2) Dont create RAID for swap and / root partition (Not Advisable)</div><div>3) Swap Size size should be 2X the size of the Physical memory</div>
<div>4) Always partition which uses high read/write to the disk  eg /var/log /var/www/html  and /home etc</div><div>5) Use LVM for partitions and swap where your Video files resides and make it minimum as of now and Learn the growth of the partition and increase as per requirement</div>
<div>6) My experience had always shown if your apps had memory leak , expect Swapping to happen for sure,  where reboot of the apps or the system is needed</div><div><br></div><div><br></div><div>Thanks</div><div>Philix<br>
<br><div class="gmail_quote">On Wed, Dec 15, 2010 at 12:07 AM, Jason T. Slack-Moehrle <span dir="ltr"><<a href="mailto:slackmoehrle@me.com">slackmoehrle@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<br>
<br>
I have a new system with 2 Seagate 1TB SATA Enterprise level drives in it.<br>
<br>
I want to RAID1 (mirror) these drives.<br>
<br>
This machine will be a web-server in my apartment hosting an HTML video fan site I am creating. Apache, MySQL, PHP etc. This site will easily be 300+ gigs with all the versions of each video, the MySQL won't be huge, but will grow as data for each video is added (i.e location on the server, keyframe name, etc)<br>

<br>
I am a bit confused by: <a href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html" target="_blank">http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html</a><br>
<br>
So if I simplify, I must:<br>
1. Create a software raid partition on each drive<br>
2. Create a RAID 1 out of that partition and use a mount point of /boot<br>
<br>
3. Create other mount points I might want i.e swap, /home, etc<br>
4. Create RAID1 out of these partitions<br>
<br>
5. rinse and repeat this for each mount point I want<br>
<br>
A few questions:<br>
<br>
1. This system support 16gb of RAM. I have 9gb in it, but I will max it out over the next few months as I find great deals on RAM, what should my SWAP space be? I recall a long while ago that SWAP should match physical RAM.<br>

<br>
2. Any reason I can't just create a single mount point taking up the entire drive and RAID1 the entire thing? Can anyone recommend some ideal mount points and sizes?<br>
<br>
3. What should I account for if my /var/www/html will be very large?<br>
<br>
Best,<br>
-Jason<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br></div>