* RAID1: What happens when one half of a mirror fails?
@ 2005-06-30 17:24 Eric Pretorious
2005-06-30 18:20 ` Frank Wittig
2005-06-30 19:03 ` Laurent CARON
0 siblings, 2 replies; 10+ messages in thread
From: Eric Pretorious @ 2005-06-30 17:24 UTC (permalink / raw)
To: linux-raid
Hello, All:
I've been a bit surprised by the complete failure of our system when one half
of a mirror failed so I suppose that I should verify that I understand
RAID1's failover methodology: Is the purpose of the mirror only to preserve
the data or is it to allow the system to continue operating until a
replacement can be installed? (i.e., If one half of a mirror fails, shouldn't
the system continue operating normally?)
--
Eric P.,
Truckee, CA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
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
1 sibling, 0 replies; 10+ messages in thread
From: Frank Wittig @ 2005-06-30 18:20 UTC (permalink / raw)
To: eric; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 796 bytes --]
The RAID1 should allow the system to opperate as usual until the drive
is replaced. I replaced 2 hot-plugable disks (both part two RAID1 which
were both parts of a RAID0) on a dell poweredge server this tuestay
without even rebooting.
If your disks have EEC there should be a minimum risk for failure of a
degraded RAID1.
Eric Pretorious wrote:
> Hello, All:
>
> I've been a bit surprised by the complete failure of our system when one half
> of a mirror failed so I suppose that I should verify that I understand
> RAID1's failover methodology: Is the purpose of the mirror only to preserve
> the data or is it to allow the system to continue operating until a
> replacement can be installed? (i.e., If one half of a mirror fails, shouldn't
> the system continue operating normally?)
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
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
1 sibling, 1 reply; 10+ messages in thread
From: Laurent CARON @ 2005-06-30 19:03 UTC (permalink / raw)
To: eric; +Cc: linux-raid
Eric Pretorious a écrit :
>Hello, All:
>
>I've been a bit surprised by the complete failure of our system when one half
>of a mirror failed so I suppose that I should verify that I understand
>RAID1's failover methodology: Is the purpose of the mirror only to preserve
>the data or is it to allow the system to continue operating until a
>replacement can be installed? (i.e., If one half of a mirror fails, shouldn't
>the system continue operating normally?)
>
>
>
is the swap partition on raid?
--
Mauvaise garde permet au loup de se repaître.
-+- Le Roman de Renart -+-
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-06-30 19:03 ` Laurent CARON
@ 2005-06-30 19:15 ` Eric Pretorious
2005-06-30 19:53 ` Frank Wittig
0 siblings, 1 reply; 10+ messages in thread
From: Eric Pretorious @ 2005-06-30 19:15 UTC (permalink / raw)
To: Laurent CARON; +Cc: linux-raid
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.
--
Eric P.,
Truckee, CA
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-06-30 19:15 ` Eric Pretorious
@ 2005-06-30 19:53 ` Frank Wittig
2005-07-03 6:41 ` raz ben jehuda
2005-07-27 4:30 ` Dan Stromberg
0 siblings, 2 replies; 10+ messages in thread
From: Frank Wittig @ 2005-06-30 19:53 UTC (permalink / raw)
To: eric; +Cc: Laurent CARON, linux-raid
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
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 --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-06-30 19:53 ` Frank Wittig
@ 2005-07-03 6:41 ` raz ben jehuda
2005-07-03 15:43 ` Frank Wittig
2005-07-27 4:30 ` Dan Stromberg
1 sibling, 1 reply; 10+ messages in thread
From: raz ben jehuda @ 2005-07-03 6:41 UTC (permalink / raw)
To: linux-raid
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-07-03 6:41 ` raz ben jehuda
@ 2005-07-03 15:43 ` Frank Wittig
2005-07-03 16:12 ` raz ben jehuda
0 siblings, 1 reply; 10+ messages in thread
From: Frank Wittig @ 2005-07-03 15:43 UTC (permalink / raw)
To: raz ben jehuda; +Cc: linux-raid
[-- 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 --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-07-03 15:43 ` Frank Wittig
@ 2005-07-03 16:12 ` raz ben jehuda
0 siblings, 0 replies; 10+ messages in thread
From: raz ben jehuda @ 2005-07-03 16:12 UTC (permalink / raw)
To: Frank Wittig; +Cc: linux-raid
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-06-30 19:53 ` Frank Wittig
2005-07-03 6:41 ` raz ben jehuda
@ 2005-07-27 4:30 ` Dan Stromberg
2005-07-27 10:07 ` Andy Smith
1 sibling, 1 reply; 10+ messages in thread
From: Dan Stromberg @ 2005-07-27 4:30 UTC (permalink / raw)
To: Frank Wittig; +Cc: eric, Laurent CARON, linux-raid, strombrg
[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]
On Thu, 2005-06-30 at 21:53 +0200, 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.
This is totally specific to the usage of the machine you're doing the
mirroring on: the relative importance of loss of disk space vs downtime.
If a little downtime is no big deal, and you could use a little extra
disk space, then sure, don't mirror swap.
If downtime is more important than the loss of a little disk space, then
do mirror swap.
Before you say that disk is always cheaper than downtime, recall that
sometimes there'll be a layer of bureaucracy between you and the
purchase of a new disk.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: RAID1: What happens when one half of a mirror fails?
2005-07-27 4:30 ` Dan Stromberg
@ 2005-07-27 10:07 ` Andy Smith
0 siblings, 0 replies; 10+ messages in thread
From: Andy Smith @ 2005-07-27 10:07 UTC (permalink / raw)
To: linux-raid
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
On Tue, Jul 26, 2005 at 09:30:09PM -0700, Dan Stromberg wrote:
> If a little downtime is no big deal, and you could use a little extra
> disk space, then sure, don't mirror swap.
>
> If downtime is more important than the loss of a little disk space, then
> do mirror swap.
>
> Before you say that disk is always cheaper than downtime, recall that
> sometimes there'll be a layer of bureaucracy between you and the
> purchase of a new disk.
But in that case if you mirror swap then you can have the pleasure
of working through the bureaucracy while the server is still up. :)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-07-27 10:07 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-07-27 4:30 ` Dan Stromberg
2005-07-27 10:07 ` Andy Smith
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).