Gentoo Archives: gentoo-server

From: Ramon van Alteren <ramon@××××××××××.nl>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] RAID
Date: Wed, 01 Feb 2006 08:49:49
Message-Id: D176BA3A-766C-46BD-817B-DCA28996FD17@vanalteren.nl
In Reply to: [gentoo-server] RAID by JD Gray
1 Hi JD,
2
3 They are all different questions:
4
5 * Hardware RAID vs Software RAID
6 Hardware RAID offers more performance and often more sophisticated
7 RAID features.
8 Basically you're offloading the work for the RAID setup to an
9 external piece of hardware (the controller) instead of your own
10 server. Depending on how much performance you need it's well worth
11 the money. Another advantage is that Hardware RAID controllers often
12 offer you the opportunity to extend your RAID array beyond the usual
13 4 SATA interfaces. Depends on the card though.
14
15 * RAID levels and redundancy
16 RAID comes in different levels which offer different levels of
17 redundancy, RAID0, RAID1, RAID5, RAID6, RAID05 & RAID50. RAID0 offers
18 NO redundancy. If one of your drives fails you lose all your data on
19 that RAID. Excellent performance though. RAID1 does mirroring, cuts
20 your storage capacity in half but the redundancy is good. RAID5 is a
21 combination of both.
22
23 I'm currently building a 24 disk RAID array. If neccesary I could set
24 it up to allow for 8 disk-failures without losing any data and
25 without sacrificing half my storage capacity.
26 In this case I'm optimizing for performance and storage with some
27 redundancy, giving me a 9Tb storage capacity with a 4 drive failure
28 redundancy.
29 It largely depends on what you want/need and how you configure it.
30 Make sure you understand the options otherwise the redundancy you
31 thought you had will come around and bite you :-)
32
33 Keep in mind in building your array that the capacity is usually
34 determined by the smallest disk in the array. Buy equal size disks as
35 large as you can afford.
36 Also the performance is determined by the paths to your disks, if all
37 data has to flow through a single path (your 1 channel SATA
38 controller) you might find the controller limiting your performance
39 instead of your disks. When going for software raid get a more
40 expensive motherboard with two SATA channels to your disks.
41
42 * Resizing partitions & moving arrays
43
44 In either case you can move your array from one server to another, as
45 long as you move the entire array including the controller / software
46 raid setup.
47 Resizing partitions is a different question that has fairly little to
48 do with RAID. Higher end controllers allow you to expand arrays by
49 adding disks. If you're looking for resizable partitions over
50 multiple disks you want to have a look at LVM2. You can (and I have)
51 combine LVM with RAID but it's not strictly necessary.
52
53 As soon as I reach my work-laptop I can drop some links to raid array
54 configuration choices & LVM setups if you'd like.
55
56 Regards,
57
58 Ramon
59 --
60 If to err is human, I'm most certainly human.
61
62
63
64 --
65 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] RAID Sean Cook <scook@×××××.net>
Re: [gentoo-server] RAID Francisco Olarte Sanz <folarte@××××××××××.com>