Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2011 08:06:38 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting up ZFS - Filesystem Properties and Installing on Root
Message-ID:  <4ECB580E.20203@infracaninophile.co.uk>
In-Reply-To: <CAKOHg=N4yt0vdac8aZMUTK%2B8EnoSwxhK%2ByWmy7MsOXvKrWEmyw@mail.gmail.com>
References:  <CAKOHg=PEqeMPN_2dfQ%2B4msi1j7CMUu=iO%2BpSuezRoa_CELzQtw@mail.gmail.com> <88f3d8e819b3420f8e61723bee90ba5e.squirrel@www.magehandbook.com> <CAKOHg=N4yt0vdac8aZMUTK%2B8EnoSwxhK%2ByWmy7MsOXvKrWEmyw@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)
--------------enig3C342C355BE6B1AE500B784A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 22/11/2011 02:09, APseudoUtopia wrote:
> Another quick question about swap: If I have 4 drives, with 512MB
> swap, the system uses all 4 swap partitions, correct? So it's not like
> it'd be going to waste? I'd have a total of 2 GB swap?

Well, yes.  If you just declare those raw partitions to be swap areas,
that will be the case.  However, doing this is asking for trouble: you
subvert any resilience features obtained by using ZFS with raidz1.  If
any one of the drives fails, your swap area will break and your system
will probably crash.

Better to set up two pairs of gmirrors for swap -- the procedure is
described here: http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
in section3 "Finish Install."  This will effectively give you a raid10
for your swap, with a total size of 1GB.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7LWBYACgkQ8Mjk52CukIxqKACfZaIQofP607cf2KI6wYWO4MwT
62QAnjk7FSNNbbUbavxPDvFuP0vAqsK6
=+dCQ
-----END PGP SIGNATURE-----

--------------enig3C342C355BE6B1AE500B784A--



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