From owner-freebsd-fs@FreeBSD.ORG Mon Jan 12 10:36:00 2009 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 B41AF1065676 for ; Mon, 12 Jan 2009 10:36:00 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 389B48FC14 for ; Mon, 12 Jan 2009 10:35:59 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so3640248fgb.35 for ; Mon, 12 Jan 2009 02:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=tPetkz+33T/DrlHbehrccWareSOwGmg8Yjmbc2trQkE=; b=u8NuAd7diifrybiQjBHm+XT6JdDFVTEF8HeiwZef0e7R722fATlZrTydsZe3aAoRvD hF65LH97RpZqF6HR0hIFvg+MmERfpg1yG1iCMY7E5C04KzFjfC86R+1rGAUjGFZJBdXf XC/702HPaxf2Kb1hHL/fPzeqXXmDlifkSd1rg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=OtrqGivP6NS2Tx/gzlPdK8u3IfC1lszWYLkB/kEaK9EsYHcZg2swxQCO9LPV1GTuD+ gEaV4GFSwltq1o1BOgvRAWxy9YIREdnhw97aGnTsa7NiCoo9/AMhdf+l85ndH9X9MCwo METU1tNUwml5G79IybducB+dNodbn9AcTY3Ns= Received: by 10.86.53.8 with SMTP id b8mr16596103fga.58.1231756558784; Mon, 12 Jan 2009 02:35:58 -0800 (PST) Received: from ndenev.cmotd.com (blah.sun-fish.com [217.18.249.150]) by mx.google.com with ESMTPS id l19sm11538008fgb.29.2009.01.12.02.35.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 02:35:55 -0800 (PST) Message-Id: From: Nikolay Denev To: Doug Rabson In-Reply-To: <12C6C9A1-D4F0-442A-A92C-1B4565AEEAF8@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 12 Jan 2009 12:35:51 +0200 References: <9461581F-F354-486D-961D-3FD5B1EF007C@rabson.org> <2F0DF92C-4240-48D4-9A5F-8B826D6D6E95@rabson.org> <87E89284-D3BF-4A5A-B6F7-C30709A3F2D9@lassitu.de> <4AC3BEB2-B47E-4280-85E1-C72891412D09@rabson.org> <494F6C21.2000801@tzim.net> <459358DB-15A6-4E27-A99E-D76A2A7DC73F@rabson.org> <12C6C9A1-D4F0-442A-A92C-1B4565AEEAF8@gmail.com> X-Pgp-Agent: GPGMail d55 (v55, Leopard) X-Mailer: Apple Mail (2.930.3) Cc: freebsd-fs@freebsd.org Subject: Re: Booting from ZFS raidz 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, 12 Jan 2009 10:36:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10 Jan, 2009, at 13:56 , Nikolay Denev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On 2 Jan, 2009, at 15:17 , Doug Rabson wrote: > >> >> On 22 Dec 2008, at 10:29, Arnaud Houdelette wrote: >> >>> As I'm fairly interrested in this kind of setup, I set up a =20 >>> virtual machine (VirtualBox) with 3 HD. >>> Sources are from a fresh current (csup yesterday). Applied your =20 >>> patch successfully. >>> >>> Done a make installworld / installkernel to the zfs root. >>> Applied the bootcode as Stephan. >>> >>> The seem's the loader gets loaded, but it cant proceed further. >>> I got those kind of errors : >> >> I'm going to have to try and reproduce this but it looks as if you =20= >> make have installed a gptzfsboot which doesn't include the raidz =20 >> support. >> > > > I have just tried installing the new gptzfsboot with a 7.1-STABLE =20 > install, but all i got is a : > "No ZFS pools located, can't boot" message. > > I used 7.1-STABLE DVD, but I have copied and installed /boot/pmbr /=20 > boot/gptzfsboot and /boot/loader from a > - -CURRENT system built with your patch and LOADER_ZFS_SUPPORT > > All my disks have valid guid partition tables with p1 of type =20 > freebsd-boot with installed pmbr and gptzfsboot from -CURRENT, > and p2 partition of type freebsd-zfs with a valid pool that i can =20 > mount using LiveFS. > > Any suggestions? > > - -- > Regards, > Nikolay Denev > > I was able to boot from the raidz pool, and now I have working 7.1-=20 STABLE install booting off raidz pool. Sweet! The problem was that I had "export"ed the pool, and gptzfsboot was not =20= able to find it. I had to boot from the LiveFS CD, zpool import it, reboot and everything worked. Now I can only wait for ZFS v13 to hit -STABLE :) Thanks! - -- Regards, Nikolay Denev -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (Darwin) iEYEARECAAYFAklrHQcACgkQHNAJ/fLbfrnEnACgrwgaBvMXpd+Iqu0jRSTy6XsS TlsAoJ7rWe+b7iEedphf8wqTOpuRpwfg =3DJ7ZE -----END PGP SIGNATURE-----