From owner-freebsd-questions@FreeBSD.ORG Sun Aug 30 01:16:59 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94658106566B for ; Sun, 30 Aug 2009 01:16:59 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 578BE8FC13 for ; Sun, 30 Aug 2009 01:16:59 +0000 (UTC) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20090830011658393.YPOU21949@hrndva-omta04.mail.rr.com> for ; Sun, 30 Aug 2009 01:16:58 +0000 Received: from [172.16.1.37] (sichem-wifi.polands.org [172.16.1.37]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n7U1GufD019973 for ; Sat, 29 Aug 2009 20:16:57 -0500 (CDT) (envelope-from doug@polands.org) Message-ID: <4A99D308.6000806@polands.org> Date: Sat, 29 Aug 2009 20:16:56 -0500 From: Doug Poland User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Boot from RAIDZ in 8.0-BETA3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 01:16:59 -0000 Hello, I'm experimenting with trying to boot from a RAIDZ on 8.0-BETA3 (amd64). The environment is VMware. I've been googling and reading what I can on this procedure, which sounds possible, but I have been unable to successfully get a system up and running with my technique. So far, this is what I've done... Installed 8.0-BETA3 on virtual machine's /dev/ad0 Shutdown, added three, 8GB SCSI disks to the VM, Power on VM: gpart create -s GPT da0 gpart add -b 34 -s 128 -t freebsd-boot da0 gpart add -b 162 -s 16777021 -t freebsd-zfs da0 gpart create -s GPT da1 gpart add -b 34 -s 128 -t freebsd-boot da1 gpart add -b 162 -s 16777021 -t freebsd-zfs da1 gpart create -s GPT da2 gpart add -b 34 -s 128 -t freebsd-boot da2 gpart add -b 162 -s 16777021 -t freebsd-zfs da2 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da2 zpool create bethesda raidz /dev/da[0-2]p2 cd /bethesda/ && dump -0aLC16 -f- / | restore -rf- echo 'zfs_load="YES"' > /bethesda/boot/loader.conf echo 'vfs.root.mountfrom="zfs:bethesda"' >> /bethesda/boot/loader.conf echo 'zfs_enable="YES"' >> /bethesda/etc/rc.conf mkdir /boot/zfs zpool export bethesda && zpool import bethesda Shutdown, remove ad0 from the virtual machine, Power on and it see... error 4 lba 4292979877 error 4 lba 4292979883 error 4 lba 4292979883 error 4 lba 4292979882 ZFS: i/o error - all block copies unavailable Invalid format FreeBSD/i386 boot Default: bethesda:/boot/kernel/kernel boot: error 4 lba 4293052915 error 4 lba 4293052914 error 4 lba 4293052915 error 4 lba 4292979494 error 4 lba 4292979493 error 4 lba 4292979493 error 4 lba 4292980438 error 4 lba 4292980437 error 4 lba 4292980437 ZFS: i/o error - all block copies unavailable Invalid format FreeBSD/i386 boot Default: bethesda:/boot/kernel/kernel boot: And this is far as I have been able to get. Can anyone identify what I'm doing wrong, or overlooking? Pointers to docs, man pages, URLs appreciated. -- Regards, Doug