Re: Booting from ZFS RaidZ

From: Doug Rabson <dfr_at_rabson.org>
Date: Wed, 27 May 2009 19:41:02 +0100
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.
> http://www.fletchermoorland.co.uk
Received on Wed May 27 2009 - 16:41:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC