From owner-freebsd-current@FreeBSD.ORG Thu Jul 23 16:40:36 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA9B106566B for ; Thu, 23 Jul 2009 16:40:36 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id B2B4D8FC17 for ; Thu, 23 Jul 2009 16:40:36 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 7179733C6C; Thu, 23 Jul 2009 09:40:36 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 2F75C33C64; Thu, 23 Jul 2009 09:40:36 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19048.37509.297550.851269@already.local> Date: Thu, 23 Jul 2009 09:40:37 -0700 To: Paul Wootton In-Reply-To: <4A68898C.8070701@fletchermoorland.co.uk> References: <19047.52443.164412.363239@already.local> <1E3C4A20-1B89-4C8C-912E-3CA99A427452@lassitu.de> <4A68898C.8070701@fletchermoorland.co.uk> X-Mailer: VM 8.0.12 under 22.3.1 (i386-apple-darwin9.6.0) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Thu, 23 Jul 2009 17:37:11 +0000 Cc: freebsd-current@freebsd.org, hartzell@alerce.com, Stefan Bethke Subject: Re: gptzfsboot doesn't like change (failure after swapping drives) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 16:40:37 -0000 Paul Wootton writes: > Stefan Bethke wrote: > > Am 23.07.2009 um 04:37 schrieb George Hartzell: > > > >> I've been playing around with building an 8.0BETA2 system with > >> everything on a single zfs filesystem (I'll get fancier later) on a > >> zpool that is a 4 disk raidz. > > > > Quite a few people had no luck with booting from RAIDZ volumes at > > all. (Single disks and mirrors seem to work fine.) See this thread: > > http://lists.freebsd.org/pipermail/freebsd-fs/2009-July/006466.html > > > > > > Stefan > > > I've been trying on and off for a few months now to get a raidz pack to > boot and a few days ago finally got a working setup. > > I have a 3 disk raidz pack. I've only set zfs_load="YES" in > /boot/loader.conf. All the mountpoints are set to none and I am using > /etc/fstab instead. I have the root of the working filing system as a > zfs volume, and not in the base of the pool > > zboot 7.31G 201G 18K none (this never gets mounted) > zboot/root 65.4M 201G 65.4M none (this gets mounted as /) > zboot/tmp 27K 201G 27K none (this gets mounted as /tmp) > zboot/usr 7.21G 201G 7.21G none (this gets mounted as /usr) > zboot/var 35.4M 201G 35.4M none (this gets mounted as /var) If you don't have any important data on it, and don't mind having to recreate it, it'd be interesting to try to boot it with one drive pulled. I'll bet that you can't, even though you'll be able to see the pool if you boot from some fixit media. I'll also bet that you still won't be able to boot once you reinsert the drive. g.