From owner-freebsd-fs@FreeBSD.ORG Sun Jan 16 11:00:35 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 534261065696 for ; Sun, 16 Jan 2011 11:00:35 +0000 (UTC) (envelope-from znek@mulle-kybernetik.com) Received: from muller.mulle-kybernetik.com (port-212-202-151-204.static.qsc.de [212.202.151.204]) by mx1.freebsd.org (Postfix) with ESMTP id 61F948FC12 for ; Sun, 16 Jan 2011 11:00:33 +0000 (UTC) Received: (qmail 77928 invoked from network); 16 Jan 2011 11:00:30 -0000 Received: from unknown (HELO zoidberg.air.z.net) (znek@78.94.79.22) by mail.mulle-kybernetik.com with AES128-SHA encrypted SMTP; 16 Jan 2011 11:00:30 -0000 Mime-Version: 1.0 (Apple Message framework v1082) From: =?iso-8859-1?Q?Marcus_M=FCller?= In-Reply-To: Date: Sun, 16 Jan 2011 12:00:29 +0100 Message-Id: <161324AD-8882-4858-9ABF-3677F708D00B@mulle-kybernetik.com> References: <37C1E643-C7A9-4061-8316-281819AC947E@mulle-kybernetik.com> To: "Ronald Klop" X-Mailer: Apple Mail (2.1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Multiple ZFS pools and booting 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: Sun, 16 Jan 2011 11:00:35 -0000 Hi Ronald, > Shouldn't you set the boot device in /boot/loader.conf? > I have this line: > vfs.root.mountfrom=3D"zfs:zroot" that's just about setting the root partition (what get's mounted as = "/"). Interestingly, its mountpoint property doesn't have to be "/", = thus you can have any ZFS filesystem mounted as root (given, that its = contents are suitable for this). My question was more or less from which pool /boot/loader.conf is read = from initially. I suspect that the order of pools on a single disk is = sequentially read, starting from the first partition. In the meantime I've created a virtual machine with the same setup as my = server. I can confirm that any exported or destroyed pools are not = tested, which is as I expected. The only question I have left now is if there is any option/property to = skip an imported pool from being used as a pool to boot from? Cheers, Marcus --=20 Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/