Date: Sat, 29 Aug 2009 20:16:56 -0500 From: Doug Poland <doug@polands.org> To: questions@freebsd.org Subject: Boot from RAIDZ in 8.0-BETA3? Message-ID: <4A99D308.6000806@polands.org>
next in thread | raw e-mail | index | archive | help
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... <scrolls off screen> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A99D308.6000806>