Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 19:26:55 +0000
From:      Matthew Seaman <>
To:        APseudoUtopia <>
Subject:   Re: Setting up ZFS - Filesystem Properties and Installing on Root
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 24/11/2011 19:19, APseudoUtopia wrote:
> On Tue, Nov 22, 2011 at 3:06 AM, Matthew Seaman
> <> wrote:
>> 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 lik=
>>> 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:
>> in section3 "Finish Install."  This will effectively give you a raid10=

>> for your swap, with a total size of 1GB.
> I'm not sure I understand this. How would that negatively affect the
> raidz1? The swap isn't in the zpool. I understand the system may crash
> if the OS was using the swap space and the drive failed. But would you
> not be able to reboot into a degraded zpool state and still have a
> usable system?

No -- it means a failed disk can cause your system to crash.  That's not
resilient behaviour.  Yes, the data on the ZFS raidz1 should survive the
crash and the reboot, but the point is ZFS raidz1 should be able to
survive a disk failure like that /without/ a system crash.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID:               Kent, CT11 9PW

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

Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>