From owner-freebsd-questions@freebsd.org Tue Dec 15 12:40:01 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2015A44AB7 for ; Tue, 15 Dec 2015 12:40:01 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83A0C1049; Tue, 15 Dec 2015 12:40:01 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id p66so107969879wmp.1; Tue, 15 Dec 2015 04:40:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7a/5nweEXRp3qa6+/ZCsH4hNbPVpd2MAseUSDPn93ZM=; b=DN5y5NktsYuMzpze32xCXEwHCX/6YJ1jRoCM9CtAxfkS+ag0PoovF04Fx32BoIn3rX +q8HsOqVZZ92dPuxS8+kLWwKNo2CL4ytd6y6MMlF5oeYDw3OoEDVz9K+uaKcVdRoatn9 xP2ctwwrgu7xnkd+SAKVz1jBxr/ilG0TfMDYzcZU6D5FXQFzzCYC2rQvNV/hu3OEbln4 p7GVAfRxyBWmQ1ucLGh7SG6mnaprst4hzEL/5gk6qlLcmnsxUgFJhZcC2iCnxEFosq3d mKTVxpE5EwW2TMRIGmK7b/rTsWRQIq/BHXSbXhMUL5vH87Wk5YNuIBvWj37QnEq2ev80 9QXg== MIME-Version: 1.0 X-Received: by 10.195.13.137 with SMTP id ey9mr50056883wjd.81.1450183200091; Tue, 15 Dec 2015 04:40:00 -0800 (PST) Received: by 10.28.181.213 with HTTP; Tue, 15 Dec 2015 04:40:00 -0800 (PST) In-Reply-To: <566FD253.5090906@FreeBSD.org> References: <20151214194012.M53329@brightstar.bomgardner.net> <566FD253.5090906@FreeBSD.org> Date: Tue, 15 Dec 2015 12:40:00 +0000 Message-ID: Subject: Re: freebsd-update, ZFS, and ver 8.2 From: krad To: Matthew Seaman Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 12:40:01 -0000 True I missed that part, however you only need to to the pool/dataset upgrade if you want to use all the new features eg lz4 compression. It will still work fine without upgrading the pools/datasets and you will still get all the benefits of the bug fixes and performance boosts done to the kernel code without doing any pool updates. I'm not aware of any feature flags that are needed to make boot environments work, but I may be wrong, but remember BE's were in solaris using pool versions from around version6, and certainly be v28 which is what was originally imported to freebsd before openzfs forked. On 15 December 2015 at 08:41, Matthew Seaman wrote: > On 15/12/2015 08:10, krad wrote: > > I would use boot environments if you are zfs root so you can fail back > > easily. I would also use a src build as that will definitely work. > > > > eg > > > > beadmn create -e old_root new_root > > beadmn mount new_root /mnt > > export DESTDIR=/mnt > > cd /usr/src > > make -j 12 buildworld && > > make -j 12 buildkernel && > > make installworld && > > make installkernel && > > mergemaster && > > beadmn umount new_root && > > beadmn activate new_root > > > > later on init 6 > > There's more to do to fully update ZFS after this. ZFS has a number of > new features that are available in 10.x which you can use 'zpool > upgrade' to enable. > > When you do that, it will tell you to update the boot blocks using > 'gpart bootcode ....' It is vitally important you do that, or you can > render your system unbootable. > > Cheers, > > Matthew > > > >