Re: Software RAID

From: Damien Hull <dhull@digitaloverload.net>
Date: Tue Sep 26 2006 - 15:40:03 AKDT

What happens when drive /dev/sda goes bad?

Everything in swap on /dev/sda is gone. Will the system crash?

Adam Bultman wrote:
> NOOO!!!
>
> Swap goes on Swap. You do NOT set up swap on software RAID.
>
> You take say, hda1 and make it type fd, and you make hda2 type swap.
> You take say, hdb1 and make it type fd, and you make hdb2 type swap.
>
> Then, in /etc/fstab, you specify the swap partitions on both.
>
> If you put swap on a RAID1 setup, you'll nuke performance and that's what
> you need with swap.- it'll be syncing every single write to swap, and swap
> isn't somethingyou need to make redundant. Just make enough swap on each
> drive and mount 'em anyway. If it dies, it dies.
>
>
> Adam
>
> On Tue, 26 Sep 2006, Damien Hull wrote:
>
>
>> Does swap need to be on a RAID partition?
>>
>> I'm doing software RAID 1 on Ubuntu Dapper. I couldn't get it to work
>> the first time. The screen says I need to reboot :-) . Maybe it's
>> working now.
>> ---------
>> To unsubscribe, send email to <aklug-request@aklug.org>
>> with 'unsubscribe' in the message body.
>>
>>
>>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Sep 26 15:38:05 2006

This archive was generated by hypermail 2.1.8 : Tue Sep 26 2006 - 15:38:05 AKDT