`zpool create' fails on geli ...

Zeus Panchenko zeus at ibs.dn.ua
Wed Aug 22 10:24:42 UTC 2012


thanks much to all for help

now everything is clear to me and works fine!

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
geli attach -k /path/key /dev/adaX
zpool create geliz /dev/adaX.eli

since `geli -a ...' in this case, is a waste of CPU cycles and disk
space.

-- 
Zeus V. Panchenko				jid:zeus at im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)


More information about the freebsd-fs mailing list