From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 18:15:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B343AA3F for ; Mon, 17 Nov 2014 18:15:41 +0000 (UTC) Received: from icp-osb-irony-out6.external.iinet.net.au (icp-osb-irony-out6.external.iinet.net.au [203.59.1.222]) by mx1.freebsd.org (Postfix) with ESMTP id 395ECEA3 for ; Mon, 17 Nov 2014 18:15:40 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgALAAM6alR90av2/2dsb2JhbABbgw6BLoI2ticGmwoCgRkWAQEBAQF9hAMBAQMBOj8FCwsNARMlDwUYMROIOAjSQQEBAQEGAQEBAR6GPooiQgeDLYEeBZ5LgTWGN0EShwCHPIQQKTCBCIFDAQEB X-IronPort-AV: E=Sophos;i="5.07,404,1413216000"; d="scan'208";a="92247618" Received: from unknown (HELO smtp.phoenix) ([125.209.171.246]) by icp-osb-irony-out6.iinet.net.au with ESMTP; 18 Nov 2014 02:15:33 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 3EDCC987; Tue, 18 Nov 2014 05:15:27 +1100 (AEDT) Date: Tue, 18 Nov 2014 05:15:27 +1100 From: andrew clarke To: David Newman Subject: Re: upgrading 9.3 / ZFS v28 Message-ID: <20141117181527.GA62908@ozzmosis.com> References: <54697AA5.6040804@networktest.com> <20141117123929.GB60429@ozzmosis.com> <546A1538.4040801@networktest.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546A1538.4040801@networktest.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 18:15:41 -0000 On Mon 2014-11-17 07:33:12 UTC-0800, David Newman (dnewman@networktest.com) wrote: > >> Greetings. For a system running 9.3-RELEASE with ZFS v28 on the root > >> partition (I did this manually long ago), are there any gotchas for > >> upgrading to 10.1? > Hmmm...this could have gone better for me: > > To install the downloaded upgrades, run "/usr/sbin/freebsd-update install". > root@boonen:~ # freebsd-update install > Installing updates...chflags: ///var/empty: Read-only file system > > Normally, freebsd-update returns a reboot-and-proceed message at this > point. Also, this system has no /var/empty partition. > > How to proceed? > > Thanks! Ah yes, I encountered that error too. I think you'll find you do have a /var/empty judging from the above error. On my system: $ zfs list | grep empty zroot/var/empty 14K 239G 14K /var/empty $ zfs get readonly zroot/var/empty NAME PROPERTY VALUE SOURCE zroot/var/empty readonly on local So this is necessary before you run freebsd-update: # zfs set readonly=off zroot/var/empty Obviously, set readonly=on after freebsd-update has finished: # zfs set readonly=on zroot/var/empty Regards Andrew