1 |
On Fri, Apr 2, 2010 at 5:02 AM, Dan Cowsill <danthehat@×××××.com> wrote: |
2 |
> On Thu, Apr 1, 2010 at 10:09 PM, Mark Knecht <markknecht@×××××.com> wrote: |
3 |
>> |
4 |
>> With only 2 disks I personally think you're on the right path. With 3 |
5 |
>> disks I'm personally planning on RAID1 using 3 copies. |
6 |
>> ... |
7 |
>> My comment about RAID was that I am learning the hard (alas expensive) |
8 |
>> way that not all disks can actually do RAID, at least not Linux |
9 |
>> software RAID, and really be usable. |
10 |
>> |
11 |
>> |
12 |
> |
13 |
> From what I understand of software RAID in linux, it works on block |
14 |
> devices, not disks. This means if some endeavoring soul was brave |
15 |
> enough to RAID even partitions on a device, it would work as normal. |
16 |
> Perhaps you mean that not all properly functioning disks can do RAID? |
17 |
> What sort of trouble are you running into? |
18 |
> |
19 |
> I've successfully deployed both RAID1 and RAID5 on my home media |
20 |
> server for quite some time now. While the initial time investment in |
21 |
> reading documentation was considerable, since that time I've had no |
22 |
> cause for trouble. I keep smartmontools looking at the array member |
23 |
> disks and regularly read through monthly smart reports of my drives. |
24 |
> |
25 |
> Also, if you have three disks, why not go for RAID5? It is much |
26 |
> quicker and I believe you'll end up with more space. It is a bit of a |
27 |
> pain to get mdadm to convert your RAID1 to a RAID5, but it is doable. |
28 |
> |
29 |
> DC |
30 |
|
31 |
Good questions: |
32 |
|
33 |
1) Yes, you can RAID partitions of drives. That's what I'm doing. You |
34 |
can look at the Gentoo RAID/LVM Install guide to see an example of |
35 |
using RAID0 and RAID1 on a single drive. |
36 |
|
37 |
http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml |
38 |
|
39 |
2) I'm certainly not suggesting RAID doesn't work. It's just not |
40 |
working for me, either due to new motherboard hardware or due to the |
41 |
drives themselves. I'm currently betting it's the drives. The |
42 |
background info, without getting too deeply into it, is that if the |
43 |
drive supports SMART and SMART is enabled, then when doing RAID you |
44 |
need guaranteed Time Limited Error Recovery (TLER) to ensure (I think) |
45 |
that SMART works doesn't get in the way of the drive responding in the |
46 |
appropriate amount of time or else the drive will fall out of the RAID |
47 |
array. Turns out the WD (according to different mailing list and |
48 |
forums I've been looking at) has removed TLER on almost all of their |
49 |
Green drive and some/many/most of the Blue and Black series. They are |
50 |
supporting this in the RE drives though of which I've obtained two. |
51 |
They are smaller and more expensive, but built for RAID, so I'm going |
52 |
to try them out next. |
53 |
|
54 |
http://en.wikipedia.org/wiki/Time-Limited_Error_Recovery |
55 |
|
56 |
3) As I understand the subject you are correct about size and speed, |
57 |
but a 3-disk RAID5 array can stand 1 disk failing whereas a 3-disk |
58 |
RAID1 array can stand 2 disks failing. For this app (MythTV and seldom |
59 |
used backup server) I don't need speed and size isn't a huge issue so |
60 |
I chose 3-disk RAID1. (Note that the HTPC case I'm using supports up |
61 |
to 3 drives only.) Because multiple drives purchased at the same time |
62 |
generally come from the same production lot there's an additional |
63 |
danger that if one drive fails then one more (or all) could fail at |
64 |
the same time so I'm protecting myself against that. Again, this is |
65 |
very specific to my current needs which is really to back up another |
66 |
machine which will be RAID0 as it needs more disk I/O speed to support |
67 |
12 processor cores. |
68 |
|
69 |
As always, I'm certainly interested in info and ideas on this subject, |
70 |
most especially now when I'm buying and building. |
71 |
|
72 |
Cheers, |
73 |
Mark |