Date: Wed, 22 Aug 2012 13:24:40 +0300 From: Zeus Panchenko <zeus@ibs.dn.ua> To: <freebsd-geom@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: `zpool create' fails on geli ... Message-ID: <20120822132440.24864@relay.ibs.dn.ua> In-Reply-To: Your message of Tue, 21 Aug 2012 20:28:22 %2B0300 <CAHsZcQHgjFGCo8cTUvGMQzP2a0kiYKyP3vORVrqs9GrYbBikXg@mail.gmail.com> References: <20120821190742.54449@relay.ibs.dn.ua> <CAHsZcQHgjFGCo8cTUvGMQzP2a0kiYKyP3vORVrqs9GrYbBikXg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@im.ibs.dn.ua IT Dpt., I.B.S. LLC GMT+2 (EET)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120822132440.24864>