From owner-freebsd-questions@FreeBSD.ORG Wed Dec 9 07:53:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04BD7106566B for ; Wed, 9 Dec 2009 07:53:34 +0000 (UTC) (envelope-from 232747@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 83B958FC12 for ; Wed, 9 Dec 2009 07:53:33 +0000 (UTC) Received: by yxe1 with SMTP id 1so5796804yxe.3 for ; Tue, 08 Dec 2009 23:53:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=MPgF3UJKEU0+hfz7jVHYuAlbZAX+EOM12AaNO9k94SA=; b=SUfG+ZC/zjI0AzOm9dQN2S3+b3OnM54xi3ks81fMujOpYnVghr8WL79rCs6NKWkiWo Or5Css9Ug3ZY9WNFEgaFAg4JW0euK6wbOeOkKw5g+426uEWn7YO5qHzR6CmZMNUSClnx 08DTSEPBfQMNUAjA3QIemPoE9mKu248riOZlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=v5olC7SnK1W2NW3oL3utaN4sbcJiik6QntPguBF0L+AmrKwMqQWs0Zfl4uKnYK8NJm tkhTT2p3FyvqJTUbqpd/MMj206hMTaFBGknHGl70sA7sk7sdNLB/xjQ4XCRziRq+Gt7k PXWCVarI9csjnSmOUZdVhj7p/EJrQ28sWEgnA= Received: by 10.90.17.29 with SMTP id 29mr14670161agq.79.1260343890567; Tue, 08 Dec 2009 23:31:30 -0800 (PST) Received: from ?192.168.0.250? (173-16-22-10.client.mchsi.com [173.16.22.10]) by mx.google.com with ESMTPS id 22sm4684902iwn.0.2009.12.08.23.31.27 (version=SSLv3 cipher=RC4-MD5); Tue, 08 Dec 2009 23:31:27 -0800 (PST) Sender: 23 23 <232747@gmail.com> Message-ID: <4B1F5263.1060907@mail.ru> Date: Wed, 09 Dec 2009 01:31:47 -0600 From: "Corey J. Bukolt" <0.23@mail.ru> User-Agent: Thunderbird 2.0.0.23 (X11/20091024) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Temporarily halt boot process to enter encryption keys? 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, 09 Dec 2009 07:53:34 -0000 Hello list, I have a FreeNAS box with a CF card for root, and 3 drives (soon to be 4) set up with encryption and raidz on top of them. A less than excellent detailed report of what I did is here: http://bit.ly/5BeZq8 This setup is a bit hackish as after the system boots I need to attach each drive using geli, run "zpool import -f primary", and then restart all my services (nfs, samba, etc). It's become a bit of a chore (especially when doing it all from a N810), so I'm looking for a way to temporary halt the boot process so that I can ssh in, attach the drives, and then allow the system to continue to boot. A few ideas come to mind, such as meddling with rc scripts, but I'd like to get some suggestions from the more experienced FreeBSD hackers before I go off breaking my system. Thanks, ~Corey