Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 10:17:47 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        peterjeremy@acm.org, kraduk@gmail.com
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS: root pool considerations, multiple pools on the same disk
Message-ID:  <xut2lg0etw06xhuaeacbuaqy.1324545467798@email.android.com>

next in thread | raw e-mail | index | archive | help

Hi,

there is a script which helps to manage different BEs. http://anonsvn.h3q.com/projects/freebsd-patches/manageBE

There is also a little bit of documentation.

Bye,
Alexander.

-- 
Send via an Android device, please forgive brevity and typographic and spelling errors. 

Peter Jeremy <peterjeremy@acm.org> hat geschrieben:On 2011-Dec-20 12:53:59 +0000, krad <kraduk@gmail.com> wrote:
>even easier option might just be to boot off a flash drive with a minimal
>installation on. then mount all the writable parts of the system off the
>pool (/tmp. var. home etc.) along with any meatier bits if the installation
>etc databases.

If you have the flash drive and spare ports, this may be an option but
I would not recommend relying on USB.  And note that, unless you use
noatime or explicitly mount R/O, just accessing files will trigger
writes.

>As you can see I create a new root fs every time I make world so rolling
>back is fairly easy

Until you get the dreaded "ZFS: i/o error - all block copies unavailable"
error from the bootloader.  That appears to occur at the pool level so
multiple BEs within the pool may not help.

That said, your approach looks interesting - have you written up what
you do and have tried booting from different roots?

-- 
Peter Jeremy


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xut2lg0etw06xhuaeacbuaqy.1324545467798>