Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 08:04:17 -0800
From:      "Peter Steele" <psteele@maxiscale.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Should swap space be mirrored via geom?
Message-ID:  <2ACA3DE8F9758A48B8BE2C7A847F91F247A1E1@polaris.maxiscale.com>

next in thread | raw e-mail | index | archive | help
We have systems setup using geom based mirroring where the drives are
partitioned into three slices, one for the OS, one for the swap
partition, and one for our application data. We have four hot-swappable
SATA drives per system. At present we only have the OS slice mirrored
with geom, and our own data partition is definitely not a candidate for
mirroring. The swap slice is not mirrored, so we end up with 4x4GB of
space on each system (which is probably way more than we need).

=20

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.

=20

Can anyone shed some light on this?

=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2ACA3DE8F9758A48B8BE2C7A847F91F247A1E1>