From owner-svn-src-head@FreeBSD.ORG Sat May 16 18:35:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7CBE106566C; Sat, 16 May 2009 18:35:29 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7848C8FC2B; Sat, 16 May 2009 18:35:29 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from feathers.peganest.com (feathers.peganest.com [78.33.110.3]) (authenticated bits=0) by hercules.mthelicon.com (8.14.3/8.14.3) with ESMTP id n4GIZRpg090702 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 16 May 2009 18:35:28 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: svn-src-all@freebsd.org Date: Sat, 16 May 2009 18:35:25 +0000 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.3; amd64; ; ) References: <200905161048.n4GAmKRh057122@svn.freebsd.org> In-Reply-To: <200905161048.n4GAmKRh057122@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905161835.26281.ken@mthelicon.com> Cc: svn-src-head@freebsd.org, Doug Rabson , src-committers@freebsd.org Subject: Re: svn commit: r192194 - in head/sys: boot/i386/zfsboot boot/zfs cddl/boot/zfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 18:35:30 -0000 On Saturday 16 May 2009 10:48:20 Doug Rabson wrote: > Author: dfr > Date: Sat May 16 10:48:20 2009 > New Revision: 192194 > URL: http://svn.freebsd.org/changeset/base/192194 > > Log: > Add support for booting from raidz1 and raidz2 pools. > > Modified: > head/sys/boot/i386/zfsboot/zfsboot.c > head/sys/boot/zfs/zfsimpl.c > head/sys/cddl/boot/zfs/README > head/sys/cddl/boot/zfs/zfsimpl.h > head/sys/cddl/boot/zfs/zfssubr.c > I think there may be a bug when you boot the machine from a drive that is a member of a zfs-mirror and you have raidz pools elsewhere. On reboot, I would get message saying there was no bootable kernel and dropped me down to the "OK" prompt. At that point, lsdev would show all the pools (both zfs-mirror and zraid's) and "ls" would return an error saying there were to many open files. I was able to work around the problem by pulling all the drives in the zraid pool into single user, attach all the drives and use atacontrol attach to bring them online before going to multi-user and hitting /etc/rc.d/zfs start. The only thing I haven't tried, and may be the key to the problem is reloading the boot-strap on the bootable drives. Would that make any difference? Peg