RE: [SLUG] Is RAID worth doing?

From: Ken Elliott (kelliott11@cfl.rr.com)
Date: Sun Jul 16 2006 - 15:41:42 EDT


 
>> You most certainly can mirror swap. I'm doing it right now.

Cool. I had tried to do that on a SUSE 9 system, and couldn't do it. I
assumed that it was impossible in software RAID. That started me toward
using 3Ware.

I've been using software RAID for years on NT servers, and had better luck
than using the earlier hardware designs. I'd rather buy a second CPU than
put the money into a RAID card.

Thanks for the education.

Has anyone else tried this? I don't have a free machine to test this on
right now.

Ken Elliott

=====================
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Jason Boxman
Sent: Sunday, July 16, 2006 1:37 PM
To: slug@nks.net
Subject: Re: [SLUG] Is RAID worth doing?

On Sunday 16 July 2006 12:01, Ken Elliott wrote:
<snip>
> 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?

You most certainly can mirror swap. I'm doing it right now. Just `mkswap`
on one of your software RAID mdX partitions where X is some integer.

faith:~# cat /proc/swaps
Filename Type Size Used Priority
/dev/md1 partition 1049208 712700 -1

> 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?

I don't know that you can. Fortunately you can mirror swap.

-- 

Jason Boxman http://edseek.com/ - Linux and FOSS stuff

----------------------------------------------------------------------- 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:41:51 EDT