* raid1 and swap
@ 2003-04-07 8:50 Alfred Isele
2003-04-07 9:41 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Alfred Isele @ 2003-04-07 8:50 UTC (permalink / raw)
To: linux-raid
Hello!
I have a question concerning the use of raid1 (md)
together with swap. I use this /etc/fstab entry:
/dev/md1 none swap pri=42 0 0
Somebody told me swap could be damaged if
one of the mirrored devices used for swap fails and
a spare disk is resynched for it because the resync would
be done using the buffer cache whereas the swapping would
be done by direct disk access.
Do you know if such a problem exists?
Thank you
Alfred
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: raid1 and swap
2003-04-07 8:50 raid1 and swap Alfred Isele
@ 2003-04-07 9:41 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2003-04-07 9:41 UTC (permalink / raw)
To: Alfred Isele; +Cc: linux-raid
On Monday April 7, Alfred.Isele@fujitsu-siemens.com wrote:
>
> Hello!
> I have a question concerning the use of raid1 (md)
> together with swap. I use this /etc/fstab entry:
>
> /dev/md1 none swap pri=42 0 0
>
> Somebody told me swap could be damaged if
> one of the mirrored devices used for swap fails and
> a spare disk is resynched for it because the resync would
> be done using the buffer cache whereas the swapping would
> be done by direct disk access.
> Do you know if such a problem exists?
In 2.2 kernels, yes.
In 2.4.0 and later, no.
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-07 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-07 8:50 raid1 and swap Alfred Isele
2003-04-07 9:41 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox