From owner-freebsd-questions@freebsd.org Tue Jan 24 06:19:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33FB8CBC205 for ; Tue, 24 Jan 2017 06:19:33 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from voyageurs.rail.eu.org (voyageurs.rail.eu.org [IPv6:2001:bc8:30d3::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00E29869 for ; Tue, 24 Jan 2017 06:19:32 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from rail.eu.org (voyageurs.rail.eu.org [IPv6:2001:bc8:30d3::1]) by voyageurs.rail.eu.org (Postfix) with ESMTPSA id 1E9D62CC02BB for ; Tue, 24 Jan 2017 07:19:30 +0100 (CET) Date: Tue, 24 Jan 2017 07:19:26 +0100 From: Erwan David To: freebsd-questions@freebsd.org Subject: Re: Not mounting a zpool at boot Message-ID: <20170124061926.GH19230@rail.eu.org> References: <911a347a-a94c-717b-0d6c-eb9fd665e489@rail.eu.org> <7b235b14-4547-299e-0943-02037ab28630@rail.eu.org> <687791b8fb5fbe3e3da20a2e1b4e5a88@dweimer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <687791b8fb5fbe3e3da20a2e1b4e5a88@dweimer.net> X-Republicain: 27 =?utf-8?Q?niv=C3=B4se?= an CCXXV (Plomb) User-Agent: Mutt/1.5.23 (2014-03-12) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rail.eu.org; s=mail; t=1485238770; bh=AnBdu1f9b8mT2cmqGdlKA80YsFlEM0/6Py+LcN1o6CQ=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; b=GRqLCfYcPInD8RnTynYYw0k7m7Xg11flDKsqrFow6JLCR9skKotxYra2UeSlABNcuKK8LeSknEEbBE2Rl6AoYyn5aq/VkgozgqHEJKtumIuJooYNUDDkKxKJwTZdXiy3f0QDCx6J5v9W4jDyX6/6ogxUVWKcxfCaqfhH4j1CbrI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 06:19:33 -0000 On Mon, Jan 23, 2017 at 10:49:14PM CET, "Dean E. Weimer" said: > On 2017-01-23 3:23 pm, Erwan David wrote: > >Le 01/23/2017 à 22:20, Erwan David a écrit : > >>Hi, > >> > >>I have a machine (11-RELEASE) with 2 pools, one encrypted with the > > > > UNencrypted > > > >>system and one encrypted with data. I want to boot without having to > >>enter passphrase then ssh to the machine to import the encrypted pool. > >> > >>I put geli_devices="" in /etc/rc.conf in order to prevent the passphrase > >>question, but to no avail, system still asks it. How can I boot without > >>importing the encrypted pool, nor giving the passphrase (US keyboard is > >>unsuitable for this). > >> > > Do you have geom_eli_load="YES" set in your /boot/loader.conf? If you don't > want to load the GELI volumes I think you can simply remove that. Once you > login and issue the geli attach command it should auto load the kernel > modules. I have a SATA drive in a hot swapable bay encrypted with GELI for > my backups. I have no problems with the system booting and not prompting for > password. Then once its booted I login and attach the geli volume so that > backups can run. > > Without the GELI modules loaded at boot time it shouldn't be able to > determine that there are encrypted volumes and just ignore them at boot > time. Yes I load the geli module, but need it for the gmirror+geli swap... -- Erwan