Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2007 19:07:59 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-geom@freebsd.org
Subject:   Re: Recommended gmirror solution with swap?
Message-ID:  <enbim8$d91$1@sea.gmane.org>
In-Reply-To: <975053160612310913t3dadcc02yfac58f6fbf0a49df@mail.gmail.com>
References:  <975053160612310913t3dadcc02yfac58f6fbf0a49df@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig65FDBB6085CFF7DAC921DCD2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Michael Knoll wrote:
> I am planning on converting my FreeBSD machine to use gmirror on two
> 40gig drives.  Reading the handbook and other sites with instructions
> on configuring gmirror, I notice they all disable swap.  Is this
> acceptable?  Is it expected swap be on another drive?  If so, is there
> a solution which I can keep the swap on the mirror. as I don't have
> another drive?

There's no technical problem with it, it's more a matter of organization
and convenience. For example: you don't really need the swap to survive
a crash, so there's no need to introduce the overhead of mirroring it -
better to leave 2x the space configured as swap area. If you have more
than one area, the system should take advantage of it and use both to
maximize speed (in theory this should work as an implicit RAID0 across
the swap areas).


--------------enig65FDBB6085CFF7DAC921DCD2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFmU4GldnAQVacBcgRAixsAKCQHtk9a80B6i7q9sjZMyH+EwhZqgCgjWkv
mHrVTJ5zg1CVjtQ8N+QISa8=
=BVHJ
-----END PGP SIGNATURE-----

--------------enig65FDBB6085CFF7DAC921DCD2--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?enbim8$d91$1>