Mailinglist Archive: opensuse (3182 mails)

< Previous Next >
[opensuse] Re: setting up a raid (Suse 10.0)
  • From: Joachim Schrod <jschrod@xxxxxxx>
  • Date: Fri, 16 Mar 2007 14:58:36 +0100
  • Message-id: <ete7qd$fjo$1@xxxxxxxxxxxxx>
Jerome R. Westrick wrote:
On Thursday 15 March 2007 20:12, David Mayr wrote:
Am Donnerstag, 15. März 2007 19:47 schrieb John Andersen:
> On Thursday 15 March 2007, James D. Parra wrote:
> > Isn't mirroring a swap partition a bad idea, or at the least wasteful?
>
> Mirroring is not too bad for swap.  When the system needs to read
> swap the raid drivers will read from which ever disk is not busy, so
> it might be faster than non-raid, but only slightly so.

Mirroring swap isn't a bad idea also because your running system would
break if a disk crashes with swapped data on it.

I put seperate swaps one on each disk,
and raid the rest.

This means that the machine crashes when a disk breaks.
The system then works after  a reboot.

In this form I Immedeatetly know when a disk breaks at one
of my SOHO clients.  I find that to be a major plus.

SUSE normally starts mdadm and notifies you about disk breakage. For extended supervision Nagios is even better.

That's the whole reason for a RAID system, to be able to repair disk failures in a scheduled and organized way without crashing a running system. Not mirroring the swap partition counters that advantage and is bad advice, IMNSHO.

        Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod                          Email: jschrod@xxxxxxx
Roedermark, Germany

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups