linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Wittig <fw@weisshuhn.de>
To: raz ben jehuda <razb@bitband.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: RAID1: What happens when one half of a mirror fails?
Date: Sun, 03 Jul 2005 17:43:48 +0200	[thread overview]
Message-ID: <42C807B4.4080701@weisshuhn.de> (raw)
In-Reply-To: <1120372864.3368.1.camel@raz-laptop>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

with current version 2.6 kernels there are no problems known to me not
to have swap and system raid partitions built out of partitions of the
same physical disks.
i didn't catch what you mean by "the kernel that removes the bad disk
from the operating system". if it means that it will trigger a swapoff
for the partition on the failed disk it is near to useless since at that
time already a irreversible data loss has happened which causes the
system to crash.
the only possibility to prevent a system crash during failure of a
harddisk is swapping to raid partitions.

raz ben jehuda wrote:
> i had a "system hanging" when both swap and root file system were on the
> raid. for that i added line in the kernel that removes the bad disk from
> the operating system. 
> On Thu, 2005-06-30 at 22:53, Frank Wittig wrote:
> 
>>Eric Pretorious wrote:
>>
>>>On Thursday 30 June 2005 12:03 pm, Laurent CARON wrote:
>>>
>>>
>>>>is the swap partition on raid?
>>>
>>>
>>>No. swap both swap partitions are formatted as standard swap partitions and mounted via /etc/fstab.
>>>
>>
>>That's no good idea. If a disk fails which contains a swap partition to
>>which data has been swapped the system will crash.
>>Therefor it is important to use mirrored partitions for swap.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

  reply	other threads:[~2005-07-03 15:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 17:24 RAID1: What happens when one half of a mirror fails? Eric Pretorious
2005-06-30 18:20 ` Frank Wittig
2005-06-30 19:03 ` Laurent CARON
2005-06-30 19:15   ` Eric Pretorious
2005-06-30 19:53     ` Frank Wittig
2005-07-03  6:41       ` raz ben jehuda
2005-07-03 15:43         ` Frank Wittig [this message]
2005-07-03 16:12           ` raz ben jehuda
2005-07-27  4:30       ` Dan Stromberg
2005-07-27 10:07         ` Andy Smith

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=42C807B4.4080701@weisshuhn.de \
    --to=fw@weisshuhn.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=razb@bitband.com \
    /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;
as well as URLs for NNTP newsgroup(s).