Posted by wolfdog, 04-18-2009, 02:07 PM | Hi,
I just completed building a server and before sending to the co-lo company I realized that I have to advise them on HD partitioning and I am clueless concerning that.
Would you please share your suggestions on setup?
Hardware:
TYAN S7010 Dual processor Nehalem 5520
12 GB RAM Kingston ECC
4 X 1 TB WD RE3 Hard Drives
Seasonic 520 Watt PS
Chenbro RM 11704 1U Case
Control Pancel - CPanel
Applications - Mostly Blog Type Membership Sites (Joomla & Wordpress). I dont allow upload of photos or video, so its the MYSQL database that will continue to grow because of the article volume.
I am clueless on Linux performance.
Do I turn the 4 Hard Drives into one RAID array?
Or do I create 2 X 1TB Mirror sets?
And what do you recommend for the partitioning?
Please help
Sincerely
Wolfdog
|
Posted by AstroNyu, 04-18-2009, 02:41 PM | That seems a monster server you got there. I admit that I'm not expert in this but if this was my server, I'm certainly want that hdd in raid 10 or raid 5 at least. Or maybe 2x32GB SCSI for OS, 2x500GB raid 1 for files and 2x1.5TB raid 1 for database. Oh, sorry, I just noticed you said you alread setup the server. So, I would advise 4x1TB in raid10 array.
|
Posted by PCS-Chris, 04-18-2009, 03:05 PM | With the CPU/RAM youve got there I would add a decent Adaptec/3Ware RAID card into the system and run the disks in a RAID10 setup for performance + resilience.
If you have no specific needs then you can go for something like
100MB /boot/
1GB /tmp
2GB swap
All remaining space /
|
Posted by UNIXy, 04-18-2009, 03:20 PM | Just a comment, but it looks like you don't have a redundant PS. That can be deadly especially if the colo provider doesn't have a PS replacement handy. I recommend buying one today and ship it off.
You didn't mention what kind of RAID controller you have. Anyway, if I were you, I would build two RAID-1 volumes each 2x1TB (1TB usable). Once you boot the system, partition one the raid volumes (/dev/sda) into two partition, one is /dev/sda1 as /boot of size 200MB and the other /dev/sda2 as LVM PV. The remaining volume would be as one partition /dev/sdb1 as LVM PV. The 200MB will be your /boot (don't recommend putting LVM on it) and put LVM on top of the other two (/dev/sda2 and /dev/sdb1 are part of the same volume group). Then create five LVs with ext3, one for /, one for /home, one for /var, one for swap, and last /tmp. Give / about 20GB, /home 100GB, and /var 100GB, and swap 16GB. You can always resize and add more space later on without having to reboot or unmount (online resizing).
So to recap:
The good thing is if you need to add say 100GB more space on /home, it's a simple matter of running:
lvresize -L+100GB /dev/one_lvm_group/home
resize2fs /dev/one_lvm_group/home
And done. Same procedure for /var/, /, and swap
Best
|
Posted by wolfdog, 04-19-2009, 08:28 AM | Thank You for your help.
I have a recommend for RAID 10
and I have a recommend for 2 RAID 1 Mirrors
Which is it?
Do I do it as a Software RAID or Hardware RAID?
Please advise
Wolfdog
|
Posted by Syslint, 04-19-2009, 09:43 AM | I recommend RAID 10 hardware raid
|
Posted by Gladson morris, 04-19-2009, 11:10 AM | Hardware raid is always better and reliable.
|
|
Add to Favourites
Print this Article |