LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-06-2003, 05:13 AM   #1
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Rep: Reputation: 15
Question How many RAIDs should i use!?


I posted this in the newbie form but got no answers. I no its not good reposting things, but its maybe to much for a newbie form, just wont your opinions guys...

Hi guys...

I have a system that i am setting up that will be a file server and a Internet gateway.

Specs...

P 400MHz
128 MB Ram (will be 512)
Two 3 GB HDD in RAID 1
Redhat 9


The first time i set up the RAID i made one RAID set up that mirrored everything from /. there was no separate boot or swap partitions.

The second time i set up 3 different RAIDs one for /, boot, and swap.

All of the RAIDs are RAID -1



The first setup is the easiest for me to maintain as there is only one partition. But the second way i guess is how i should do it. The final system will have 512 MB Ram when finished so do i need to worry about a swap partition and just stick with a swap file, i have no idea about the boot.

What do you guys think? What set up shall i use? (i would like to use the first one )

Im using lilo as the boot loader as GRUB has problems with RAID 1 - is there any fixes yet?

Thanks Tim


-----------------------------------------------------------------------------
You where all a once!
 
Old 11-07-2003, 04:49 PM   #2
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Come on guys, some help please
 
Old 11-07-2003, 05:48 PM   #3
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
I'd probably go with the second setup, with separate partitions. I know a little about RAID, but haven't actually tried setting one up, but separate partitions are usually a good idea in any situation. Maybe it's different for RAID, though. Have you checked out the ATA RAID Howto? There are a bunch of other related RAID howtos at tldp.org.
 
Old 11-08-2003, 05:45 AM   #4
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Smile

Thank you for your reply. I had a look at that how to, but i still cant see anything that say's you must have three different partitions. If anyone else has a opinion please let me no!

Thanks again
 
Old 11-08-2003, 04:49 PM   #5
frogman
Member
 
Registered: Sep 2003
Distribution: Mandrake, Slack, Debian and PicoBSD
Posts: 181

Rep: Reputation: 30
re: partitions

making each part of the system - i.e /boot /usr /var /tmp / etc - live on a seperate partition makes fixing things (and restoring files from backups) easier.

Put /var on a seperate partition, that way if your logs pile up, they can only max the space on one partition, rather than the whole disk (s).

I assume the fileserver will only be accessed from the LAN?

re: RAID

depends...(crap answer, I know)

What are your aims for RAID? Backup purposes or speed of access?

If you want speed, I'd use disk striping. RAID 0. The data to be saved is broken into small portions and is written sequentially to all disks simultaneously in small areas called stripes. Because all the read/write heads are working constantly performance is increased. (and when reading data the same performance gain is noticed). You also get to use all your space for data.

If you just want stability / backup - stick with mirroring.

If you can afford / find another 2Gb disk use RAID 5 (stripes with parity), it's fast and provides decent backup against disk failure. Providing only one disk breaks, the data can be restored from the parity information on the other two disks.

Last edited by frogman; 11-08-2003 at 04:55 PM.
 
Old 11-09-2003, 05:44 AM   #6
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Thank you for your reply. if i do do different partitions i will stick to 3 (boot, / and swap) i find it hard holding on to 3!. i will be using raid 1 as backup support (i no I no! its not my only backup donít worry ) its not a crap answer, thank you for your help . Any other ideas anyone !!??
 
Old 11-09-2003, 04:07 PM   #7
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
RAID 0 and RAID 5 does not improve accessing times. It improves data throughput. Instead sending and writing 20 megabytes per second with one drive. Two drives will read and write 40 megabytes per second. Both RAID 0 and RAID 5 should be used for video, graphics, sound, or be use a file storage for all the computers on a network.

I would go with partitioning the hard drive. Plan your partitions well so you don't have to resize. Use a journalizing filesytem like ext3 or ReiserFS.

You should not use your OS drive to be used to store files for your users. You should use another drive for this so that LINUX can do other work on its own drive while the other drive is serving people their files.

Keep in mind that 100 Mb ethernet can output ~10 megabytes per second, so RAID 0, RAID 5, or RAID 10 will not help much. One drive can easily output more than 10 megabytes per second.
 
Old 11-10-2003, 03:55 AM   #8
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Thank you for your reply. I do agree that the OS should be on a diffrent drive, but i wont the OS to be apart of the RAID mirror. How about if i make four partitions boot, /, swap and data?? also do i need to worry about a swap partition and have a file as i will be using 512MB ram on the file server? Thank you for your answers, if you could just help me a bit more
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat 9 and sata raids jleavitt Red Hat 5 10-23-2004 02:53 PM
SATA Raids jleavitt Linux - Hardware 4 09-21-2004 09:38 AM
Need to use Yast to partition my disk into three seperate RAIDS yzrider210 Linux - General 0 12-28-2003 05:36 PM
How many RAIDs should i use!? timmywo Linux - Newbie 1 11-05-2003 06:07 AM
Hardware Raids :( steve65 Linux - Hardware 0 10-14-2002 05:59 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration