1829103 Members
2424 Online
109986 Solutions
New Discussion

swap mirror

 
Stefano_1
Frequent Advisor

swap mirror

which is the sense of mirror the swap?
And which is the right configuration for the Mirror Write Cache and the Consistency Recovery mechanism??
2 REPLIES 2
Eric Ladner
Trusted Contributor

Re: swap mirror

My understanding is that you can't mirror swap on Linux.

You can stripe swap for increased swap performance, however. Create multpile swap areas on multiple disks and set them all at the same priority in the /etc/fstab and the OS will stripe the information.
Eric Ladner
Trusted Contributor

Re: swap mirror

Whoops.. I retract that. Seems that you can with kernel levels in the upper 2.3s or any 2.4.

See http://www.linux.com/howto/Software-RAID-HOWTO-2.html#ss2.4

Although it's noted that this is not for performance reasons, only high availbility, and there is a caveat or two.