Hard drives-Partitioning for performance-Web server
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A lot of people do not know that RAID-1 (mirroring) is better for a web server. Also RAID-1 is better for serving an OS and a file server.
I suggest putting four 72 GB hard drives in RAID-1 to minimize the time to find four files. Set this for the web server files. Then for your two 36 GB hard drives, put them in RAID-1 as well. Use the 36 GB hard drive for the OS.
[36 GB RAID-1 array]
16MB-128MB /boot
1GB swap
2GB /var/log
1 GB or more /var/mysql
4 GB /
all unused space /home
[72 GB RAID-1 array]
all /var/www
I know I suggest a different RAID setup than yours but RAID-5 is better for in a NAS backup or on a 1 gigabit network. I suggest using either EXT3 with b-tree or XFS.
Distribution: RHEL 3/4 Servers - FC 5 x64 on the desktop - Edubuntu for the kiddies
Posts: 53
Original Poster
Rep:
Thanks for the reply Electro. RAID 1 only uses two drives, you wouldn't use the other two drives at all? I will be using more then the 72 GB the 2nd array will provide. What of them?
You can place four drives in RAID-1, but it is up to the software if it can accept four queues. You can try set up multiple RAID-1 arrays and then add them to either LVM2 or EVMS, but the system will not be able to access more than one file. You can setup two LVM2 or EVMS and put them in a RAID-1 array. Two files can be read at once and the capacity can grow when needed. With any LVM2 or EVMS setups, it will try to do RAID-0 when possible. If the server is going to have a 50/50 read and write queues, two RAID-5 hardware arrays and Linux software RAID set in RAID-1. This will provide multiple write and read queues. Also it has higher reduntancy rating than RAID-5.
I never seen a site that is taking up more than 72 GB. If you are setting up a file download site, than maybe. I think this site is taking up a few gigabytes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.