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

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: [email protected]               Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to