Booting from ZFS RaidZ

Doug Rabson dfr at
Wed May 27 18:41:35 UTC 2009

On 27 May 2009, at 16:38, Paul Wootton wrote:

> Hi,
> With the recent changes allowing RaidZ boot, I thought I would  
> finally drop my mirror pack and go RaidZ.
> The only problem I now have is
> demophon# zpool set bootfs=DemoPool/root DemoPool
> cannot set property for 'DemoPool': operation not supported on this  
> type of pool
> Is this still a work in progress, or do I have something a-miss?
> I am using current as of today
> "demophon# uname -a
> FreeBSD demophon 8.0-CURRENT FreeBSD 8.0-CURRENT #17: Wed May 27  
> 13:18:06 BST 2009     paul at demophon:/usr/obj/usr/src/sys/DEMOPHON   
> amd64"

This is a limitation which I will remove as soon as I have a little  
time to work on it. Basically, Solaris can only boot from simple  
structures such as mirrors and collections of mirrors. The code  
enforces this by stopping you from setting the bootfs property if the  
pool configuration is too complex for the Solaris boot code. I will  
simply remove this limitation for FreeBSD since we can now boot from  
any pool configuration.

In the meantime, you can still boot if you put your root filesystem  
files in the root of the pool. Not ideal I know but I'll try to fix it  
properly soon.

More information about the freebsd-current mailing list