From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 09:06:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 859C010657F9; Fri, 27 Apr 2012 09:06:36 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.208]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4AE8FC15; Fri, 27 Apr 2012 09:06:36 +0000 (UTC) From: vermaden To: Alexander Leidinger X-Mailer: interia.pl/pf09 In-Reply-To: References: Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1335517594; bh=rU2KbEtKk80OFlXGvv3raUz+xGBa3w926WBeNbkAYPE=; h=From:Subject:To:Cc:X-Mailer:In-Reply-To:References:Message-Id: MIME-Version:Content-Type:Content-Transfer-Encoding; b=M+qN7Xr4pyx3mbXUbuMtkoJRCju6S9BH5zayXoZ9sbpKDHIuG/fRzGg2GGRXmk5A5 WtMzA8LAKU4/RyBG68hN4vy0FUdMYlCxmMNYHrxSwJvQ7XeGeC+0oVtQXxg1Dh7274 7hdVvcXQPIt8W/G+QXgoMgyJiAQZCsjyBFBePxP0= Date: Fri, 27 Apr 2012 11:06:35 +0200 (CEST) Cc: freebsd-fs@freebsd.org, freebsd-questions@freebsd.org, bryan@shatow.net Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 09:06:36 -0000 > Hi, >=20 > do you know manageBE? Google for it, it is the first > hit. This works for me like a charm since about a year. >=20 > Bye, > Alexander. Hi, yes I know and used manageBE for a while, I even mentioned it in the HOWTO (quote below) but thought that making *beadm* that is compatible with Illumos/Solaris version would be nice idea, *beadm* is also more comfortable to use, at least for me. Mine *beadm* has also a feature to activate BE's from other machines. =20 > Illumos/Solaris has the beadm(1M) [4] utility and while > Philipp Wuensche wrote the manageBE script as > replacement [5], it uses older style used at times when > OpenSolaris (and SUN) were still having a great time. > I last couple of days writing an up-to-date replacement for > FreeBSD compatible beadm utility, and with some tweaks > from today I just made it available at SourceForge [6] if You > wish to test it. Currently its about 200 lines long, so it should > be pretty simple to take a look at it. I tried to make it as > compatible as possible with the 'upstream' version, along > with some small improvements, it currently supports basic > functions like list, create, destroy and activate. (...) > There are several subtle differences between mine > implementation and Philipp's one, he defines and then relies > upon ZFS property called freebsd:boot-environment=3D1 for > each boot environment, I do not set any other additional > ZFS properties. There is already org.freebsd:swap property > used for SWAP on FreeBSD, so we may use org.freebsd:be in > the future, but is just a thought, right now its not used. My > version also supports activating boot environments received > with zfs recv command from other systems (it just updates > appreciate /boot/zfs/zpool.cache file). Regards, vermaden ...