Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2011 11:32:02 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        wolfgang@riegler.homeip.net
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Cannot boot from ZFS raidz1
Message-ID:  <alpine.BSF.2.00.1104221121440.2015@mail.fig.ol.no>

Next in thread | Raw E-Mail | Index | Archive | Help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-800059435-1303464728=:2015
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu Apr 21 10:52:49 UTC 2011, Wolfgang Riegler wrote:

> I have used this setup guide 
> (http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ1) line by line 
> with the 8.2-RELEASE DVD for amd64 to install a VirtualBox guest for 
> testing.
> The only difference to the setup guide: I use a SAS controler, so 
> devicename is da0, da1, da2 instead of ad0, etc. I tried it with a 
> SATA controler as well, but no differences.
> 
> After reboot, I get the following error from the loader:
> ZFS: i/o error - all block copies unavailable
> ZFS: can't read MOS object directory
> Can't find root filesystem - giving up
> ZFS: unexpected object set type 0
> ZFS: unexpected object set type 0
> 
> FreeBSD/x86 boot
> Default: zroot:/boot/kernel/kernel
> boot:
> ZFS: unexpected object set type 0
> 
> FreeBSD/x86 boot
> Default: zroot:/boot/kernel/kernel
> boot:

I managed to delete your message before I got a chance to send a reply 
to the list. Against better judgement I'm going to send this reply to 
the list, knowing that I might create a new thread with the same 
subject as your OP.

A VirtualBox guest will only see one hard drive at the BIOS level 
during boot.

Thus, you should recreate your system using mirrored drives for 
booting the OS. Once the OS has gained control over the system, ZFS is 
able to see all the attached disks.

Maybe it's not so bad to separate the OS and your data, with the OS 
stored on a couple of mirrored disks and your precious data stored on 
three disks in raidz1 formation.

This recipe is a good starting point for setting up the OS: 

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

I prefer using the remaining disk space for the freebsd-zfs partitions 
and not limiting them to only 60 GiB.


HTH,
Trond.

- -- 
- ----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |    FreeBSD 8.2-STABLE & Alpine 2.00

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk2xSxcACgkQbYWZalUoElve+wCfefbLOdr3xY7YyzbiuMfn4SVT
cYIAn1tpdOh921kjkThYVwq83sGYHwEG
=N8Ei
-----END PGP SIGNATURE-----
--2055831798-800059435-1303464728=:2015--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1104221121440.2015>