`zpool create' fails on geli ...
Fabian Keil
freebsd-listen at fabiankeil.de
Wed Aug 22 10:37:25 UTC 2012
Zeus Panchenko <zeus at ibs.dn.ua> wrote:
> resume:
>
> 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 ...'
>
> something like this:
>
> geli init -K /path/key -s 4096 -a hmac/sha256 -e aes-xts /dev/adaX
> geli attach -k /path/key /dev/adaX
> dd if=/dev/zero of=/dev/adaX.eli bs=10m
> zpool create geliz /dev/adaX.eli
>
> but it's better to
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120822/6566b4c7/signature.pgp
More information about the freebsd-fs
mailing list