Re: 16 port useful SATA controller

From: Abdullah Ramazanoglu (abdullah_at_ramazanoglu.tr)
Date: 12/15/04


Date: Wed, 15 Dec 2004 21:41:01 +0200

begin Rex Dieter dedi ki:
> kermit wrote:
>> Rex Dieter wrote:
>>
>>>Nothing prevents a pure software RAID-5

Agreed. And that's what I would suggest to the OP.

>> except performance issues. I have never seen anybody using it in real life.
>
> Performance-wise, with a beefy CPU, software raid will oftentimes trump
> hardware raid. IMO, it's the failover/possible-hotswap support that
> makes hardware raid appealling.

There are next to no performance issues with software raid-5. I'm running
a 10 disk (9 raid + 1 hot-spare) 1 TB raid5 array with negligible CPU
overhead. See my relevant message:

Msg-Id: <2unpu1F2brrqgU1@uni-berlin.de> or,
http://groups.google.com/groups?as_umsgid=2unpu1F2brrqgU1@uni-berlin.de

BTW, the <10% CPU utilization is due to one of the disks running in
DMA disabled mode, which by itself accounts for more than 5%. This leaves
us with <5% CPU overhead on an Athlon 2400+ for a 10 disk 1TB raid-5 array.

As for the hot-spare and hot-swap issues, the former one is already being
handled by software raid on Linux. The latter is also handled, provided
that you have hardware-wise arrangements for hot-swap. E.g. if you have
SATA disks (which I believe support hotswapping hardware-wise). To hotswap
a disk you would do:

1. raidsetfaulty /dev/md0 /dev/hdc1 [*]
2. raidhotremove /dev/md0 /dev/hdc1
3. Physically detach the old disk and attach the new one (with same
geometry and partition structure) in its place.
4. raidhotadd /dev/md0 /dev/hdc1

[*] If it's not already set as faulty by md, i.e. if it is a healthy and
running disk. In this case, setting /dev/hdc1 as faulty will instantly
kick-in the hot-spare, and a resync process will automatically start to
sync the hot-spare in. This may take a while, and since you would want to
resync the hdc back after you've swapped it, you wouldn't want the
hot-spare to kick in. To prevent this behavior you should have already set
the hot spare as faulty and removed it from the array, with:

0a. raidsetfaulty /dev/md0 /dev/hdq1 (assuming hdq is the hot-spare disk)
0b. raidhotremove /dev/md0 /dev/hdq1

and after resyncing of new hdc is started at step 4 (no need to wait for
resync to complete), you can add the hot-spare back into the array:

5. raidhotadd /dev/md0 /dev/hdq1

-- 
Abdullah        | aramazan@ |
Ramazanoglu     | myrealbox |
________________| D.0.T cöm |__


Relevant Pages

  • Re: RAIDING different size drives
    ... Disk A, 750G: ... If you want to tell me it's easy, that's fine - as I've said before, I know about software raid on Linux but not on Windows. ... You'd then be saying that it's a bad idea because recovery is hard. ... I'm sure you've met plenty who think they have a good backup system until the day comes when they need to do a restore. ...
    (comp.sys.ibm.pc.hardware.storage)
  • FC5 system lockup with video display frozen
    ... I have two FC5 Dell desktop optiplex GX270 systems and both, ... I suspected the proprietary Nvidia driver, which was recently updated, ... replaced that disk and now I'm watching to see if it stays up. ... a little bit surprised that the software raid array did not detect any ...
    (Fedora)
  • Raid 1
    ... This is a small tutorial to help you getting started with Software RAID ... :-) if setting up both hard drives on the same IDE connector (1x Master, ... let?s set a partition on each disk and then set its type to Linux ...
    (Ubuntu)
  • Software raid 5 performance tuning?
    ... after a recent lossy HD crash I decided to build a software raid ... When uploading files via samba I get around 6 MB per second. ... I have one ATA disk as master on each of the two onboard IDE channels ... and the third SATA disk on one of my two SATA ports. ...
    (Debian-User)
  • Re: RAID5 fails to recognize & recreate a substituted disk.
    ... > we proceeded to shutdown the server and called the assistance. ... > instructed us to turn on the server while they came with a new disk ... For that you have to have a "hot-spare ...
    (comp.unix.aix)

Loading