RE: [SLUG] Is RAID worth doing?

From: Ken Elliott (kelliott11@cfl.rr.com)
Date: Sun Jul 16 2006 - 12:01:14 EDT


>> Our experience with 3Ware has been that failures often go unseen, write
speed
>> suffers drastically, and adding/removing drives requires extra
intervention.

Perhaps I can learn something here, Ian. I've used 3Ware hardware mirroring
so that I could mirror the swap partition. It is my understanding that
software RAID will not mirror Swap, and failure of the swap partition will
crash the system. Am I missing something?

My goal is not to crash the server, in the event of a HDD failure. I don't
mind a scheduled shutdown to replace a drive and rebuild the system. How do
you avoid crashing the system if your swap partition fails?

Ken Elliott

=====================
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Ian C. Blenke
Sent: Thursday, July 13, 2006 2:07 PM
To: slug@nks.net
Subject: Re: [SLUG] Is RAID worth doing?

steve szmidt wrote:

>On Thursday 13 July 2006 13:14, Ian C. Blenke wrote:
>
>
>H/W RAID has always been my preference (except for some smaller places)
>with next to no fuss. For years I've now relied on 3Ware and had very
>good statistics. S/W RAID is pretty interesting and obviously cheaper.
>On heavy load it does have a problem keeping up with writes and of
>course you cannot do hot swap last time I checked.
>
>

Our experience with 3Ware has been that failures often go unseen, write
speed suffers drastically, and adding/removing drives requires extra
intervention.

In the NKS farm, we simply pop in a blank drive and restore the
partitioning:

    sfdisk -d /dev/hda | sfdisk -f /dev/hdc

Then reboot. Viola, the system comes back up and starts resyncing.

If a drive is hot swapped, even a boot can be avoided. Just re-read the
partitioning and mdadd back the new partitions (partprobe is from the parted
package, you just need something that can do a BLKRRPART ioctl()):

    partprobe /dev/hdc
    mdadm --manage /dev/md0 --add /dev/hdc1
    ...

and so on.

 - Ian C. Blenke <ian@blenke.com> http://ian.blenke.com
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages posted
are those of the author and do not necessarily reflect the official policy
or position of NKS or any of its employees.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:40:34 EDT