From: raz ben jehuda <razb@bitband.com>
To: Frank Wittig <fw@weisshuhn.de>
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 19:12:56 +0300 [thread overview]
Message-ID: <1120407176.4647.14.camel@raz-laptop> (raw)
In-Reply-To: <42C807B4.4080701@weisshuhn.de>
it means that your system will not crash. no data loss would happen
The problem i had was that the system kept on bouncing io to the
defected disk and since both the root file system and the swap were on
raid1 the system hanged after a short while.
I added a line that removed the defected ata port ( the disk ) from the
disks array in the kernel and by doing that i had prevented this io
bouncing.
On Sun, 2005-07-03 at 18:43, Frank Wittig wrote:
> 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.
--
Raz
Long Live The Penguin
next prev parent reply other threads:[~2005-07-03 16:12 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
2005-07-03 16:12 ` raz ben jehuda [this message]
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=1120407176.4647.14.camel@raz-laptop \
--to=razb@bitband.com \
--cc=fw@weisshuhn.de \
--cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).