Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2011 09:15:28 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        krad <kraduk@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS: root pool considerations, multiple pools on the same disk
Message-ID:  <20111221221527.GA83643@server.vk2pj.dyndns.org>
In-Reply-To: <CALfReycwKv2=t0y7k-DJSa7O_cou6zaoH4J3RQH_6mYkG4FR=g@mail.gmail.com>
References:  <4EEF321E.5090806@barafranca.com> <20111220075714.GA35787@server.vk2pj.dyndns.org> <CALfReycwKv2=t0y7k-DJSa7O_cou6zaoH4J3RQH_6mYkG4FR=g@mail.gmail.com>

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

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?

--=20
Peter Jeremy

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature

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

iEYEARECAAYFAk7yWn8ACgkQ/opHv/APuIea5QCfesCVsVgTbEM4DGIlaE1KtDXF
H/UAoJOzxMhPWB801DxPLo1/iNzh1mtG
=tnOi
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



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