From owner-freebsd-fs@FreeBSD.ORG Fri Jan 14 13:57:55 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 6386A106566C for ; Fri, 14 Jan 2011 13:57:55 +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 953408FC12 for ; Fri, 14 Jan 2011 13:57:54 +0000 (UTC) Received: (qmail 40453 invoked from network); 14 Jan 2011 13:31:12 -0000 Received: from unknown (HELO zoidberg.z.net) (znek@78.94.79.22) by mail.mulle-kybernetik.com with AES128-SHA encrypted SMTP; 14 Jan 2011 13:31:12 -0000 From: =?iso-8859-1?Q?Marcus_M=FCller?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Jan 2011 14:31:11 +0100 Message-Id: <37C1E643-C7A9-4061-8316-281819AC947E@mulle-kybernetik.com> To: freebsd-fs@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: 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: Fri, 14 Jan 2011 13:57:55 -0000 Hi all, I have a single harddrive with GPT partitioning: root@muller:(~)# gpart show =3D> 34 234441581 ad10 GPT (112G) 34 128 1 freebsd-boot (64K) 162 8388608 2 freebsd-swap (4.0G) 8388770 10485760 3 freebsd-zfs (5.0G) 18874530 10485760 4 freebsd-zfs (5.0G) 29360290 102540662 5 freebsd-zfs (49G) 131900952 102540662 6 freebsd-zfs (49G) 234441614 1 - free - (512B) ad10p3/ad10p4 (tank) and ad10p5/ad10p6 (muller) are two mirror zpools. = The root filesystem currently resides on tank. I wanted to migrate the root filesystem from tank to muller by changing = the mountpoints accordingly and resetting the bootfs zpool propery on = tank like this: root@muller:(~)# zpool get bootfs muller NAME PROPERTY VALUE SOURCE muller bootfs muller/roots/8-current local root@muller:(~)# zpool set bootfs=3D tank root@muller:(~)# zpool get bootfs tank NAME PROPERTY VALUE SOURCE tank bootfs - default But when I reboot, BTX loader tries to access tank:/boot/kernel/kernel. Why does the loader care about tank at all, after I "removed" the bootfs = property? Do I have to export tank before I reboot? How do I tell the loader to just care about muller for booting? Thanks for any help in advance, Marcus --=20 Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/