From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-121521-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Q8v3u-0002jH-Cj
	for garchives@archives.gentoo.org; Sun, 10 Apr 2011 13:52:28 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F1B071C05F;
	Sun, 10 Apr 2011 13:50:59 +0000 (UTC)
Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id C4EDD1C05F
	for <gentoo-user@lists.gentoo.org>; Sun, 10 Apr 2011 13:50:59 +0000 (UTC)
Received: by iyb26 with SMTP id 26so6512421iyb.40
        for <gentoo-user@lists.gentoo.org>; Sun, 10 Apr 2011 06:50:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type;
        bh=hqb60SmsYJhZpgfrInjzxxLbAs6F7GGZ+zoW0LFf5cs=;
        b=HbReH2PyfUY9KsGzJcEv2Rp+Kclc4umJGIUs6t/uNq7SO8XF2upX19EnrZF30HmlSg
         n54hnRHL0s96a9KywBGbAmZMwOFVs5T/nKNPcKFYMhFGX0tZSCCJpWkvtCiFsSXJVmd5
         LW9lhYHjeFrCG3mkwku0Xk0Nt3HEMV+cnzARQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=ugeILj27B0GtMWVvLakm7vOGDJiG2SwJ+xNpuPE/ySeG1j8Em7d7Vcm0YBBkNSAS10
         akqsF0yGgKHNniBagBK5Ova97U1Vg8576oYZLQQ7vk4WBUoD357P/IJOp3RCDwBhU/kJ
         0l7P5Nx6mBasabxRqfaQOZwlD7+aaX7dd8Fh4=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.42.108.137 with SMTP id h9mr6492041icp.112.1302443459050; Sun,
 10 Apr 2011 06:50:59 -0700 (PDT)
Received: by 10.42.167.74 with HTTP; Sun, 10 Apr 2011 06:50:59 -0700 (PDT)
In-Reply-To: <201104100850.41768.peter@humphrey.ukfsn.org>
References: <201104092100.19783.peter@humphrey.ukfsn.org>
	<BANLkTinM7P8148iKoVDSr1SzpsaYUHkqtQ@mail.gmail.com>
	<201104100850.41768.peter@humphrey.ukfsn.org>
Date: Sun, 10 Apr 2011 06:50:59 -0700
Message-ID: <BANLkTikZRZCsPD84mgpoNOMFirE_osFJ9Q@mail.gmail.com>
Subject: Re: [gentoo-user] [OT] Disk recommendations?
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 
X-Archives-Hash: 5382bccc1e8774f36681962024d0607c

On Sun, Apr 10, 2011 at 12:50 AM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
> On Saturday 09 April 2011 22:01:18 Mark Knecht wrote:
>
>> Are you running a RAID?
>
> Yes; mdadm RAID-1, with LVM on top, as in the Gentoo how-to:
> http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
>
>> Are you looking for a little redundancy or a lot of redundancy?
>
> I'm just speculating at the moment, from a dabbler's point of view; what benefits
> would accrue from switching from RAID-1 to RAID-5 or above? And, in particular,
> what are the comparative virtues of the Samsung disks?
>

My understanding is there's nothing more reliable than RAID1. mdadm
allows N-wide RAID1. My RAID1's are currently 3-drive.

Typically the higher RAID numbers are for trading off storage space,
redundancy and in some cases throughput. My 5-drive RAID6 gives me
(again, my understanding) equivalent redundancy to a 3-drive RAID1. I
can lose 2 drives in either RAID before I risk losing everything with
a 3rd drive failure, but I only get the storage of 3-drives. A 5-drive
RAID5 would lose everything with 2 drive failures but gets  4 drives
of storage.


As for Samsung drives I have no experience. However one common problem
I read about again and again is a RAID user who loses 1 drive and
then, while in the process of fixing the RAID, loses a second drive.
Most of us (myself included) buy identical drives all at the same time
from the same vendor. This means all the drives were likely from the
same manufacturing batch and, if they are drives that will fail at all
then the group will likely experience multiple drive failures. The
underlying idea of RAID is that the drives are not likely to fail at
the same time giving us time to fix the array. However, if /dev/sda
fails the chances of /dev/sdb failing is higher if they were built at
the same time in the same plant.

Reading the mdadm list for the last couple of years it seems that many
folks running data centers intentionally buy drives from multiple
manufactures, or drives of different sizes from the same manufacturer,
hoping to lower the chances of multiple failures at the same time.
What I did myself was buy 5 drives initially, 3 from Amazon, 2 from
NewEgg. For spares I then waited 2 months, bought one more drive, and
waited another 2 months and got one more. In my case all my drives are
WD RAID Edition drives which have higher reliability specs than the
commercial drives. (And are more expensive and smaller)

As for hardware RAID the risk I hear about there is that if the
controller itself fails then you need an identical backup controller
or you risk the possibility that you won't be able to recover
anything. I don't know how true that is or whether it's just FUD.

Cheers,
Mark