Re: Kernel 2.4.x / RAID1 / RAID5 and swap partition?

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

 



Martin Köhling <mk423@xxxxxxxxxxxxxxxxxx> wrote:

> Now I want to convert the rest of the system to RAID1, which should be no
> problem either, except perhaps swap space?
> 
> I found several RAID docs/HowTos that warn of possible problems, in
> particular this German page:
> 
> http://www.resultings.de/linux/de-software-raid-howto/de-software-raid-howto.html
> 
> which claims that resync/hotadd on an active swap device can cause
> an internally inconsistent array (because the resync process uses the
> buffer cache, and the swap code doesn't).
> Bad news if, e.g., an automatic resync happens after a power failure.
> 
> However, that HowTo is over two years old.
> 
> Perhaps this problem has long been fixed?

It was true for 2.2 kernels but was resolved with the 2.4 series. I'm
running three systems with swap on RAID1 and never experienced any
problem.

Cheers,
Juri

-- 
Juri Haberland  <juri@xxxxxxxxxxxxxx> 

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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