Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 12:35:35 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Zeus Panchenko <zeus@ibs.dn.ua>
Cc:        freebsd-fs@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: `zpool create' fails on geli ...
Message-ID:  <20120822123535.0385f118@fabiankeil.de>
In-Reply-To: <20120822132440.24864@relay.ibs.dn.ua>
References:  <20120821190742.54449@relay.ibs.dn.ua> <CAHsZcQHgjFGCo8cTUvGMQzP2a0kiYKyP3vORVrqs9GrYbBikXg@mail.gmail.com> <20120822132440.24864@relay.ibs.dn.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/kJkciffGM_NNTo9UO5IPhjx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Zeus Panchenko <zeus@ibs.dn.ua> wrote:

> resume:
>=20
> if geli was initialized with `-a' than we need to fill whole of it to
> initialize checksums what will make it possible to `zpool create ...'
>=20
> something like this:
>=20
> geli init -K /path/key -s 4096 -a hmac/sha256 -e aes-xts /dev/adaX
> geli attach -k /path/key /dev/adaX
> dd if=3D/dev/zero of=3D/dev/adaX.eli bs=3D10m
> zpool create geliz /dev/adaX.eli
>=20
> but it's better to
>=20
> geli init -K /path/key -s 4096 -e aes-xts /dev/adaX

Does your disk actually use 4k sectors? Otherwise it's not clear
to me that "-s 4096" makes sense when using ZFS.

I'm not claiming that it's obviously wrong, but I'm not aware of
any benchmarks that show that it's better than the default in
any way.

Fabian

--Sig_/kJkciffGM_NNTo9UO5IPhjx
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlA0tfwACgkQBYqIVf93VJ3mVQCfQfr3BFdUnZMasKy9sKm/P8+z
m2gAn34Gf4XRNA81kDj5cWGRBeFefwbS
=w8A5
-----END PGP SIGNATURE-----

--Sig_/kJkciffGM_NNTo9UO5IPhjx--



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