public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: jarry@gmx.net
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Software RAID Advice Needed
Date: Fri, 16 Dec 2005 11:06:23 +0100 (MET)	[thread overview]
Message-ID: <19511.1134727583@www18.gmx.net> (raw)
In-Reply-To: 20051216094942.71b3faa2@krikkit.digimed.co.uk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1238 bytes --]

>> If a disk fails,
>> your system would likely crash (due to the swap device), but would
>> reboot in a degraded mode (no swap, slow performance, etc).
> 
> You could avoid that by not using RAID for swap. Instead, use four
> separate swap partitions, one on each drive. As long as they all have
> the same priority, the kernel will share swap duties between them
> equally.
 
If you make more swap partitions on more physical drives with the same
priority, it is the same as swap on raid0: system strips swap across
drives. And if some drive crashes and swap partition on that drive has
been used, very probably system crashes too. But then reboots at least
with remaining swap partitions...

> There's no real benefit to using RAID for swap, unless you are
> limited on RAM and use swap a lot, when RAID0 may help.

There is some benefit, if you use raid1 for swap. In such a case
even drive failure does not cause system crash, because swap space
is mirrored too. But raid1 slightly degrades swap performance...

Jarry

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-12-16 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-15 21:55 [gentoo-user] Software RAID Advice Needed Doug Brown
2005-12-15 22:29 ` Mike Williams
2005-12-15 22:33 ` kashani
2005-12-16  0:49   ` Ognjen Bezanov
2005-12-16  1:25     ` Richard Fish
2005-12-16  2:38       ` Jim Burwell
2005-12-16  1:21   ` Richard Fish
2005-12-16  9:49     ` Neil Bothwick
2005-12-16 10:06       ` jarry [this message]
2005-12-16 12:05         ` Jim Burwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19511.1134727583@www18.gmx.net \
    --to=jarry@gmx.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox