From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 20:26:03 2011 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 4B3591065670; Mon, 11 Jul 2011 20:26:03 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E54518FC0A; Mon, 11 Jul 2011 20:26:02 +0000 (UTC) Received: by vws18 with SMTP id 18so4126073vws.13 for ; Mon, 11 Jul 2011 13:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=5qLLH/Rm1o9HStENz63mjEvCQMBRKbVtJK82xhX3dGY=; b=KLKhUDsMkNhEkhvyGsOO66Eni6x1ILQS3cKbK2UOa8uLG/OeY80gJCClgGJv1fykmB vmwtG6j+bTBNEcMRoxS9whCHYc3VQ9zb5KuMnj4z6MP4xJ69PA/v7fr8etzpHvp13hBx rIdsjBJckdA6IpQy5+CaoDVsS/l8Hcb4TCprY= Received: by 10.52.88.76 with SMTP id be12mr2870606vdb.366.1310415961948; Mon, 11 Jul 2011 13:26:01 -0700 (PDT) Received: from localhost (gpftor6.privacyfoundation.de [62.212.67.209]) by mx.google.com with ESMTPS id bh17sm4683381vdc.3.2011.07.11.13.25.54 (version=SSLv3 cipher=OTHER); Mon, 11 Jul 2011 13:25:57 -0700 (PDT) From: Pan Tsu To: "Christopher J. Ruwe" References: <20110710142617.1d80289b@dijkstra> <86mxgmjooc.fsf@gmail.com> <20110710160504.0d4bf4c0@dijkstra> <20110710145044.GA94832@icarus.home.lan> <20110710172012.51fce47c@dijkstra> <86tyauc7vb.fsf@gmail.com> <20110711194707.48812c43@dijkstra> Date: Tue, 12 Jul 2011 00:25:38 +0400 In-Reply-To: <20110711194707.48812c43@dijkstra> (Christopher J. Ruwe's message of "Mon, 11 Jul 2011 19:47:07 +0200") Message-ID: <86r55wd0ot.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org Subject: Re: zpool-zfs'es on a GELI-encrypted volume are not mounted at boot [patch included] 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: Mon, 11 Jul 2011 20:26:03 -0000 "Christopher J. Ruwe" writes: [...] > In this setup, I should not have any problems. However, I do not > realize (and very much doubt) that I changed anything in the order of > the services (lacking the capability to deterministically do so, > anyway). > > From rcorder I understand that all that is required to set rcorder > right would be to change /etc/rc.d/zfs to include a REQUIRE: geli, so > that my geli-encrypted volume would be unlocked before all > zfs-datasets are mounted? Yep, or revert to default where rc.d/zfs depends on rc.d/mountcritlocal. $ svn co -qr223699 svn://svn.freebsd.org/base/stable/8/etc/rc.d $ rcorder rc.d/* | nl | sed /zfs/q 1 rc.d/hostid 2 rc.d/zvol 3 rc.d/dumpon 4 rc.d/ddb 5 rc.d/initrandom 6 rc.d/geli 7 rc.d/gbde 8 rc.d/encswap 9 rc.d/ccd 10 rc.d/swap1 11 rc.d/fsck 12 rc.d/root 13 rc.d/hostid_save 14 rc.d/mdconfig 15 rc.d/mountcritlocal 16 rc.d/zfs > > If so, what could be the reason that my rcorder-setup deviates from > the standard and how could I coerce it back to standard? No idea. Try basic check with $ diff -ur /usr/src/etc/rc.d /etc/rc.d $ mergemaster $ mergemaster -s unless someone else can reproduce your issue.