From owner-freebsd-questions@freebsd.org Thu Feb 15 09:48:30 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 345B6F0D7FB for ; Thu, 15 Feb 2018 09:48:30 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C53216DE9A for ; Thu, 15 Feb 2018 09:48:29 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from leaf.local (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 2722814DF8 for ; Thu, 15 Feb 2018 09:48:28 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/2722814DF8; dkim=none; dkim-atps=neutral Subject: Re: any problem going from 9.x (don't laugh) to 11 directly? To: freebsd-questions@freebsd.org References: <86lgfvjk6c.fsf@red.stonehenge.com> From: Matthew Seaman Message-ID: <8ba7354b-9191-b287-e552-ace9d1e163e0@FreeBSD.org> Date: Thu, 15 Feb 2018 09:48:27 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <86lgfvjk6c.fsf@red.stonehenge.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2018 09:48:30 -0000 On 14/02/2018 22:11, Randal L. Schwartz wrote: > Never got a chance to move to 10 in time. Should I just skip 10 and go > to 11? What will that break? And keep in mind I'm ZFS-on-Root, > although I haven't upgraded my bootloader or ZFS version yet. Given you're on ZFS then you should have boot environments available to you. BEs work great for major version upgrades -- and you can revert as needed if it doesn't work right the first time. You are correct that you should not update the boot blocks or the ZFS feature set until after you're sure you will never need to revert to 9.x again. ZFS is always backwards compatible, so your shiny new 11.x installation will work fine with the 9.x zpool and bootblocks. As for how you do the upgrade -- once you've created your 11.x boot environment, you can mount it by eg. beadm mount 11_1-RELEASE /mnt Then mount an instance of devfs: mount -t devfs devfs /mnt/dev and then you can chroot into the boot environment: chroot /mnt and from there you can apply your favourite method for upgrading. Remember to unmount /mnt/dev once you're done before you try and activate the new BE: exit (from the chroot) umount /mnt/dev beadm umount 11_1-RELEASE beadm activate 11_1-RELEASE shutdown -r now Cheers, Matthew