From owner-freebsd-current@FreeBSD.ORG Thu Aug 30 07:48:40 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E63C16A418 for ; Thu, 30 Aug 2007 07:48:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E1C9213C474 for ; Thu, 30 Aug 2007 07:48:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 52C392095; Thu, 30 Aug 2007 09:47:59 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C5BAE2094; Thu, 30 Aug 2007 09:47:58 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 7F22184483; Thu, 30 Aug 2007 09:47:58 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Craig Boston References: <46D54E3E.2040803@gmail.com> <86642y3a2t.fsf@ds4.des.no> <20070829200751.GA896@nowhere> Date: Thu, 30 Aug 2007 09:47:58 +0200 In-Reply-To: <20070829200751.GA896@nowhere> (Craig Boston's message of "Wed\, 29 Aug 2007 15\:08\:05 -0500") Message-ID: <863ay11n0x.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Christian Walther , current@freebsd.org Subject: Re: Problems moving existing pool to encrypted devices X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 07:48:40 -0000 Craig Boston writes: > Dag-Erling Sm=C3=B8rgrav writes: > > # zpool offline pool01 /dev/ad2 > > # geli init [...] /dev/ad2 > > # zpool replace pool01 /dev/ad2 /dev/ad2.eli > This actually may not work either, because the encrypted device is 1 > sector smaller than the original... Ah, you're right. There is no other option than to either replace all disks, one by one, with larger ones, or to dump the data, rebuild the array from scratch and restore the data. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no