From owner-freebsd-current@FreeBSD.ORG Thu Jan 29 18:14:33 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D969106564A for ; Thu, 29 Jan 2009 18:14:33 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id BD7118FC1C for ; Thu, 29 Jan 2009 18:14:32 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: (qmail 60834 invoked from network); 29 Jan 2009 17:47:50 -0000 Received: from unknown (HELO goa.local) (smtpsend@85.179.6.101) by mail.h3q.com with AES256-SHA encrypted SMTP; 29 Jan 2009 17:47:50 -0000 Message-ID: <4981EBC6.1000907@h3q.com> Date: Thu, 29 Jan 2009 18:47:50 +0100 From: Philipp Wuensche User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Solaris live upgrade like FreeBSD ZFS-rootfs update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 18:14:33 -0000 Hi, I'm playing a lot with ZFS root filesystems for FreeBSD and using zfsboot with GPT. So far it works perfecly for me on three not-so production servers and I would like to thank everybody that helped make this work! With ZFS suddenly some neat stuff is easly possible with FreeBSD, like the Solaris Live Upgrade feature. The idea behinde Live Upgrade is that you have more than one bootable-environment to boot from making it very painless to upgrade to newer FreeBSD versions without loosing the possibility to boot your known-good boot-environemt. So you can't end up with a broken userland or kernel and you can even go back to your old userland and kernel if the new ones do not work for you. Particularly with tracking CURRENT this becomes very handy! I wrote a shell script to create, activate and delete boot-environments in FreeBSD. Its far from feature complete and some bits are still missing but creating and activating boot-environments should be more or less feature-complete. In case anyone is interested or maybe wants to base a FreeBSD userland-tool on it, take a look at http://outpost.h3q.com/patches/manageBE/ Bug reports and suggestions are welcome! Biggest part that is missing in the ZFSboot stuff right now is being able to choose from the available boot-environments in the loader. If that would work, updating a FreeBSD box would be down to one reboot without any risk. greetings, cryx