Re: raid1 and swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux