Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Disk recommendations?
Date: Sun, 10 Apr 2011 13:52:28
Message-Id: BANLkTikZRZCsPD84mgpoNOMFirE_osFJ9Q@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] Disk recommendations? by Peter Humphrey
1 On Sun, Apr 10, 2011 at 12:50 AM, Peter Humphrey
2 <peter@××××××××××××××.org> wrote:
3 > On Saturday 09 April 2011 22:01:18 Mark Knecht wrote:
4 >
5 >> Are you running a RAID?
6 >
7 > Yes; mdadm RAID-1, with LVM on top, as in the Gentoo how-to:
8 > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
9 >
10 >> Are you looking for a little redundancy or a lot of redundancy?
11 >
12 > I'm just speculating at the moment, from a dabbler's point of view; what benefits
13 > would accrue from switching from RAID-1 to RAID-5 or above? And, in particular,
14 > what are the comparative virtues of the Samsung disks?
15 >
16
17 My understanding is there's nothing more reliable than RAID1. mdadm
18 allows N-wide RAID1. My RAID1's are currently 3-drive.
19
20 Typically the higher RAID numbers are for trading off storage space,
21 redundancy and in some cases throughput. My 5-drive RAID6 gives me
22 (again, my understanding) equivalent redundancy to a 3-drive RAID1. I
23 can lose 2 drives in either RAID before I risk losing everything with
24 a 3rd drive failure, but I only get the storage of 3-drives. A 5-drive
25 RAID5 would lose everything with 2 drive failures but gets 4 drives
26 of storage.
27
28
29 As for Samsung drives I have no experience. However one common problem
30 I read about again and again is a RAID user who loses 1 drive and
31 then, while in the process of fixing the RAID, loses a second drive.
32 Most of us (myself included) buy identical drives all at the same time
33 from the same vendor. This means all the drives were likely from the
34 same manufacturing batch and, if they are drives that will fail at all
35 then the group will likely experience multiple drive failures. The
36 underlying idea of RAID is that the drives are not likely to fail at
37 the same time giving us time to fix the array. However, if /dev/sda
38 fails the chances of /dev/sdb failing is higher if they were built at
39 the same time in the same plant.
40
41 Reading the mdadm list for the last couple of years it seems that many
42 folks running data centers intentionally buy drives from multiple
43 manufactures, or drives of different sizes from the same manufacturer,
44 hoping to lower the chances of multiple failures at the same time.
45 What I did myself was buy 5 drives initially, 3 from Amazon, 2 from
46 NewEgg. For spares I then waited 2 months, bought one more drive, and
47 waited another 2 months and got one more. In my case all my drives are
48 WD RAID Edition drives which have higher reliability specs than the
49 commercial drives. (And are more expensive and smaller)
50
51 As for hardware RAID the risk I hear about there is that if the
52 controller itself fails then you need an identical backup controller
53 or you risk the possibility that you won't be able to recover
54 anything. I don't know how true that is or whether it's just FUD.
55
56 Cheers,
57 Mark

Replies

Subject Author
Re: [gentoo-user] [OT] Disk recommendations? Peter Humphrey <peter@××××××××××××××.org>
Re: [gentoo-user] [OT] Disk recommendations? Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] [OT] Disk recommendations? Helmut Jarausch <jarausch@××××××××××××××××.de>