kern/160706: [zfs] zfs bootloader fails when a non-root vdev exists on a slice before the root slice

Andriy Gapon avg at FreeBSD.org
Mon Sep 19 08:10:11 UTC 2011


The following reply was made to PR kern/160706; it has been noted by GNATS.

From: Andriy Gapon <avg at FreeBSD.org>
To: bug-followup at FreeBSD.org, peter.maloney at brockmann-consult.de
Cc:  
Subject: Re: kern/160706: [zfs] zfs bootloader fails when a non-root vdev
 exists on a slice before the root slice
Date: Mon, 19 Sep 2011 11:05:53 +0300

 I think that this is a WONTFIX bug.
 
 It is well know, if less documented, that FreeBSD (gpt)zfsboot boot program
 tries to use a pool that contains a very first vdev seen by (gpt)zfsboot to load
 zfsloader or kernel.  You just have to take this into account.
 This behavior makes sense.  Trying to boot all pools may create more problems
 than it solves, e.g. if you have more than one pool that can be booted.
 
 You may try to work-around your problem using boot.config file.
 Place it in a root dataset of a pool that gets used by (gpt)zfsboo (tank, I
 presume) with the following contents:
 zroot:/boot/zfsloader
 
 P.S. Your example is incomplete, it doesn't show where root1, cache1, log1 come
 from :-)
 -- 
 Andriy Gapon


More information about the freebsd-fs mailing list