From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 02:43:53 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC9441065679 for ; Wed, 24 Sep 2008 02:43:53 +0000 (UTC) (envelope-from vinny-mail-01+f.questions20080919@palaceofretention.ca) Received: from www.giovannetti.ca (www.giovannetti.ca [206.248.136.48]) by mx1.freebsd.org (Postfix) with ESMTP id 8248F8FC0A for ; Wed, 24 Sep 2008 02:43:53 +0000 (UTC) (envelope-from vinny-mail-01+f.questions20080919@palaceofretention.ca) Received: from the.palaceofretention.ca (intgateway.palaceofretention.ca [10.10.10.42]) by www.giovannetti.ca (Postfix) with ESMTP id 4BCB211438 for ; Tue, 23 Sep 2008 22:47:03 -0400 (EDT) Message-ID: <48D9A935.70601@palaceofretention.ca> Date: Tue, 23 Sep 2008 22:43:01 -0400 From: Vinny User-Agent: Thunderbird 2.0.0.14 (X11/20080513) MIME-Version: 1.0 To: Questions References: <48D448A6.2080103@palaceofretention.ca> <20080920081539.L8554@wojtek.tensor.gdynia.pl> <48D5A739.4030505@palaceofretention.ca> <20080922100544.GA10184@nemesis.frida.mouhaha.de> <20080922200239.27da4175@fabiankeil.de> In-Reply-To: <20080922200239.27da4175@fabiankeil.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: geli and soft-updates X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 02:43:53 -0000 Fabian Keil wrote: > Oliver Peter wrote: > >> On Sat, Sep 20, 2008 at 09:45:29PM -0400, Vinny wrote: >>> ... [...] >> I'm using ZFS on geli on my production server with 2 SATA2 disks. >> Just create and attach the geli devices in /dev and then create >> a zpool i.e. with >> >> # zpool create crypt /dev/ad3.eli /dev/ad6.eli >> >> Works splendid. > > I'm using ZFS on three geli encrypted slices, > the only problem I ran into was: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/117158 > "zpool scrub causes panic if geli vdevs detach on last close" > Thanks for your feedback. I'm going to give it another try. I used to run ZFS on top of geli but I had kernel panics. I changed the providers to normal non-geli disks but still had panics. I found out later that the panics were kernel memory related (kmem_malloc) since ZFS wants a lot. I increased two of the kernel memory parameters and haven't seen a panic again. vm.kmem_size: 512M vm.kmem_size_max: 512M I guess I'll have to try the geli disks again now that the memory has been increased. Vinny