Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Best RAID 5 approach?

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
overflow
LXF regular


Joined: Tue Aug 23, 2005 2:40 pm
Posts: 158
Location: London

PostPosted: Tue Oct 04, 2005 5:50 pm    Post subject: Best RAID 5 approach? Reply with quote

I am about to buy a new file server. It will be solely a file server but needs to be good at it. The primary concerns are cost, reliability and performance - probably in that order.

It will run Linux and it will sit in a rack, have RAID and a 1Gb interface. More than that, I haven't really decided yet.

The big unknown at the moment is how to implement the RAID. I want about 600GB available probably over 5 disks with a hot-spare. The options as I see it are:

* SCSI Raid controller
* ATA Raid controller
* Regular SCSI - software RAID
* Regular ATA (Serial/Parallel?) - software RAID

That's for the data. I'm also expecting to mirror the system disk as a separate measure.

Does anyone have any real experience with this who can recommend an approach? I really like the idea of keeping the hardware side simple and doing the RAID in software. Can I mirror the system drive in software?

All advice gratefully received.
_________________
overflow
Back to top
View user's profile Send private message
linuxgirlie
LXF regular


Joined: Sat Apr 09, 2005 7:34 pm
Posts: 787
Location: Kent...UK

PostPosted: Tue Oct 04, 2005 6:28 pm    Post subject: RE: Best RAID 5 approach? Reply with quote

The problem with software raid at the moment is that you will need a spare hard drive just for the OS. I use software raid for my file servers which have two 300gb hard drives for storage and a 80gb for the os.
_________________
My knowledge comes with no warranty...........

Server operating system designed for schools:www.linuxschools.com
Back to top
View user's profile Send private message Send e-mail
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3452
Location: Birmingham, UK

PostPosted: Tue Oct 04, 2005 9:29 pm    Post subject: RE: Best RAID 5 approach? Reply with quote

Actually, you can run raid mirroring with 2 disks, md devices will function on partitions, so we have set up storage servers with :
disk1: small root partition and large data partition
disk2: (unmounted) copy of root partition on disk1 and data partition equal in size to the data partition on disk 1

the 2 secondary partitions are set up as a raid mirror.

The beauty of this is if the primary disk fails, you can boot from a floppy and restore using the secondary root partition.
This sort of configuration is easy to set up when installing Suse, and I assume, Redhat or Mandriva.

There are several howtos on the net, but if you want to run striping with a hot spare, you are best using a dedicated controller card.
We have used an Adaptec PATA Raid card for that setup (4+1) on our redhat 7.3 server, and it performs pretty well, and the linux support is OK, although SATA might be the way to go.

Other than software raid, be aware that some Motherboards have SATA or IDE raid controllers which are really software based, and will often only work with windows.
_________________
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
Back to top
View user's profile Send private message
CJLL
LXF regular


Joined: Sat Jul 09, 2005 10:22 pm
Posts: 193

PostPosted: Tue Oct 04, 2005 10:12 pm    Post subject: RE: Best RAID 5 approach? Reply with quote

I've been look at this myself, my thoughts were to build a system around http://www.adaptec.com/worldwide/product/proddetail.html?sess=no&language=English+US&prodkey=AAR-2810SA&cat=Products

Scan do a good range of hot swap drive bays, anybody know of somewhere better?

However you might find life easier just buying a prebuilt unit

http://www.adaptec.co.uk/worldwide/product/prodtechindex.html?cat=/Technology/Network+Attached+Storage+(NAS)+-+Snap+Servers&language=English%20UK

Bear in mind the doing RAID in software means you'll forfit hot swap capability.
_________________
--
The reward for self love is sticky hands
Back to top
View user's profile Send private message
drws
LXF regular


Joined: Sat Aug 06, 2005 11:39 am
Posts: 125

PostPosted: Tue Oct 04, 2005 11:31 pm    Post subject: RE: Best RAID 5 approach? Reply with quote

I've got a few servers running RAID5 on the 3Ware sata cards. (9xxx series)
Driver support has been in the kernel since about 2.6.5ish, but 3Ware have always had drivers.
They come in upto 4,8 and 12 disk versions and they've started on Sata2 cards. (not tried these yet)
As the raid is done in hardware, it makes it a lot easier to use, and you can have / on it as well.

All the other servers we use have the HP/Compaqs 5i/6i SCSI Raid controller which is also very nice to use, but means spending a lot of cash.

If you go down the software route, setup a test system and then kill a disk. Get used to the commands for replacing failed disks etc.
The last time I tried it (about 3 years ago) a slight typo lost me all the data.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Wed Oct 05, 2005 12:15 am    Post subject: Re: RE: Best RAID 5 approach? Reply with quote

wyliecoyoteuk wrote:
The beauty of this is if the primary disk fails, you can boot from a floppy and restore using the secondary root partition.


You don't need a boot floppy to do this. Add two entries to your bootloader menu, one to boot form the first disk and one from the second. If the first root partition fails, you can still boot from the backup. Also, install the bootloader to the second disk. Then, if the first disk fails completely, you can still boot from the second disk.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
wyliecoyoteuk
LXF regular


Joined: Sun Apr 10, 2005 11:41 pm
Posts: 3452
Location: Birmingham, UK

PostPosted: Wed Oct 05, 2005 9:18 pm    Post subject: RE: Re: RE: Best RAID 5 approach? Reply with quote

nice one nelz, I hadn`t thought of sdoing it that way,. it was just the best mirror solution we could come up with at short notice.
we also set up a udev rsync script to back up to an USB hard disk, for offsite backup the customer loves it, and following a severe weekend power spike, we could recover his file server in less than 30 minutes.
_________________
The sig between the asterisks is so cool that only REALLY COOL people can even see it!

*************** ************
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast