From owner-freebsd-fs@FreeBSD.ORG Wed Aug 22 10:24:42 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C651C106564A; Wed, 22 Aug 2012 10:24:42 +0000 (UTC) (envelope-from zeus@ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3ECD88FC16; Wed, 22 Aug 2012 10:24:41 +0000 (UTC) Received: from ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by relay.ibs.dn.ua with ESMTP id q7MAOewi024866; Wed, 22 Aug 2012 13:24:40 +0300 (EEST) Message-ID: <20120822132440.24864@relay.ibs.dn.ua> Date: Wed, 22 Aug 2012 13:24:40 +0300 From: Zeus Panchenko To: In-reply-to: Your message of Tue, 21 Aug 2012 20:28:22 +0300 References: <20120821190742.54449@relay.ibs.dn.ua> Organization: I.B.S. LLC X-Mailer: MH-E 8.2; GNU Mailutils 2.99.97; GNU Emacs 23.4.1 X-Face: &sReWXo3Iwtqql1[My(t1Gkx; y?KF@KF`4X+'9Cs@PtK^y%}^.>Mtbpyz6U=,Op:KPOT.uG )Nvx`=er!l?WASh7KeaGhga"1[&yz$_7ir'cVp7o%CGbJ/V)j/=]vzvvcqcZkf; JDurQG6wTg+?/xA go`}1.Ze//K; Fk&/&OoHd'[b7iGt2UO>o(YskCT[_D)kh4!yY'<&:yt+zM=A`@`~9U+P[qS:f; #9z~ Or/Bo#N-'S'!'[3Wog'ADkyMqmGDvga?WW)qd=?)`Y&k=o}>!ST\ Cc: freebsd-fs@freebsd.org Subject: Re: `zpool create' fails on geli ... X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Zeus Panchenko List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 10:24:42 -0000 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)