Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 12:21:25 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Peter Steele <psteele@maxiscale.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Should swap space be mirrored via geom?
Message-ID:  <7C98E2D0-D084-4B6D-9133-F518D5DFF4E5@mac.com>
In-Reply-To: <2ACA3DE8F9758A48B8BE2C7A847F91F247A1E1@polaris.maxiscale.com>
References:  <2ACA3DE8F9758A48B8BE2C7A847F91F247A1E1@polaris.maxiscale.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Jan 14, 2009, at 8:04 AM, Peter Steele wrote:
> We have been debating whether or we should mirror the swap  
> partitions as
> well. I set it up not mirrored based on some articles I read on the  
> net,
> but we're concerned what might happen to a system if a drive died at a
> time when the its swap partition contained active pages. My first
> reaction would be that the applications bound to these pages would
> crash, something that would not happen if we used swap mirroring.

If you don't mirror swap space, and a drive goes out, you're almost  
certain to experience a kernel panic and not just application failures  
in userland.  Unless you have an urgent need for lots of swap space  
available, it's much better from the standpoint of system reliability  
to mirror swap also.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?7C98E2D0-D084-4B6D-9133-F518D5DFF4E5>