Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Need a new server
Date: Fri, 13 Sep 2013 23:17:31
Message-Id: 52339D03.1000105@orlitzky.com
In Reply to: Re: [gentoo-user] {OT} Need a new server by Grant
1 On 09/13/2013 05:47 PM, Grant wrote:
2 >
3 > I had no idea. How awesome. So the entire array shows up as /dev/sda
4 > when using a real hardware controller? Just enable an extra kernel
5 > config option or two and it works?
6 >
7
8 Yep.
9
10
11 >> Yes. RAID10 both stripes and mirrors. So you can lose one, and it's
12 >> definitely mirrored on another drive. Now you have three drives. If you
13 >> lose another one, is it mirrored? Well, maybe, if you're lucky. There's
14 >> a 2/3 chance that the second drive you lose will be one of the remaining
15 >> mirror pair.
16 >>
17 >> Recommendation: add a hot spare to the system.
18 >
19 > Would the hot spare be in case I lose 2 drives at once?
20
21 It's just to minimize the amount of time that you're running with a
22 busted drive. The RAID controller will switch to the hot spare
23 automatically without any human intervention, so you only have to keep
24 your fingers crossed for e.g. 3 hours while the array rebuilds. This is
25 as opposed to 3 hours + (however long it took the admin to notice that a
26 drive has failed).
27
28
29 > Isn't that extraordinarily unlikely?
30
31 If the failures were random, yes, but they aren't -- they just seem that
32 way. The drives that you use in a hardware RAID array should ideally be
33 exactly the same size and have the same firmware. It's therefore not
34 uncommon to wind up with a set of drives that all came off the same
35 manufacturing line at around the same time.
36
37 If there's a minor defect in a component, like say a solder joint that
38 melts at too low of a temperature, then they're all much more likely to
39 fail at around the same time as the first one.
40
41
42 > Are modern SSDs reliable enough to negate the need for mirroring or do
43 > they still crap out?
44
45 I don't have any experience with SSDs, but a general principle: ignore
46 what anyone says, mirror them anyway, and make lots of backups.

Replies

Subject Author
Re: [gentoo-user] {OT} Need a new server Grant <emailgrant@×××××.com>