From owner-freebsd-fs@FreeBSD.ORG Mon Jan 31 14:36:02 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C081065670 for ; Mon, 31 Jan 2011 14:36:02 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A2FC98FC0C for ; Mon, 31 Jan 2011 14:36:02 +0000 (UTC) Received: by iwn39 with SMTP id 39so5545228iwn.13 for ; Mon, 31 Jan 2011 06:36:02 -0800 (PST) Received: by 10.42.170.1 with SMTP id d1mr7922854icz.227.1296483207601; Mon, 31 Jan 2011 06:13:27 -0800 (PST) Received: from wawanesa.iciti.ca (CPE0080c8f208a5-CM001371173cf8.cpe.net.cable.rogers.com [99.246.61.82]) by mx.google.com with ESMTPS id f7sm16198183icq.17.2011.01.31.06.13.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Jan 2011 06:13:26 -0800 (PST) Message-ID: <4D46C2E9.8000603@bellanet.org> Date: Mon, 31 Jan 2011 09:10:49 -0500 From: Graham Todd User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110118 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <20110131095752.00001957@unknown> In-Reply-To: <20110131095752.00001957@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Configuring which pool to load zfsloader from X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 14:36:02 -0000 On 01/31/11 04:57, Bruce Cran wrote: > Hi, > > I recently reinstalled my system and after the initial installation > created a second pool, zhome. After rebooting, the loader is > trying to load zhome:/boot/zfsloader by default instead of the previous > zroot:/boot/zfsloader. Is there a way to reconfigure it to use zroot > instead of zhome? Hmm I assumed setting the root for the loader in /boot/loader.conf would work. eg: vfs.root.mountfrom="zfs:zroot" but I have never created a second pool during installation (I plan to when 9.0-RELEASE comes out, so I hope it's not too tricky). Perhaps the installation process defaulted to telling the loader to use the new pool somehow?