Date: Thu, 6 Aug 2009 14:32:12 +0700 From: Edho P Arief <edhoprima@gmail.com> To: freebsd-current@freebsd.org Subject: Re: Problematic upgrade from 7.2 to 8.0 with ZFS file system Message-ID: <a3780c060908060032q44c2d2c0v1a5daec36df72483@mail.gmail.com> In-Reply-To: <d36406630907210131o52958a29hf9e6e0edd4eb789e@mail.gmail.com> References: <4A5D4D25.3040908@ish.com.au> <3c1674c90907201501j42f29bfbl987419edf04b1a8b@mail.gmail.com> <4A64F35E.6070501@ish.com.au> <d36406630907210131o52958a29hf9e6e0edd4eb789e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 21, 2009 at 3:31 PM, chris scott<kraduk@googlemail.com> wrote: > how about doing things the opensolaris way. I have a pure zfs system with > the root fs stored on system/root. This could cloned, to system/root-8, the > new world and kernel installed, then the relevant bits tweaked in the > loader.conf and zpool. If all goes wrong you switch the variables back and > switch to system/root. > > It would also be nice to have some option in beastie to select your root fs > for completeness how does this sound? fs structure: rpool/root/freebsd => / (bootfs) rpool/root => /rpool/root rpool/swap => swap rpool/usr => /usr rpool/usr/home => /usr/home rpool/var => /var rpool/var/empty => /var/empty upgrade steps: 1. clone rpool/root/freebsd to rpool/root/freebsd-2 2. mount rpool/root/freebsd-2 somewhere 3. mount nullfs /usr and /var to where rpool/root/freebsd-2 mounted 4. chroot to rpool/root/freebsd-2, do freebsd-update (twice - to upgrade userland too) 5. reinstall bootloader on rpool/root/freebsd-2 (to enable zfs loader) 6. set bootfs to rpool/root/freebsd-2 7. edit fstab in rpool/root/freebsd-2 to reflect change 8. reboot -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a3780c060908060032q44c2d2c0v1a5daec36df72483>