From owner-freebsd-stable@freebsd.org Fri Aug 17 00:57:44 2018 Return-Path: Delivered-To: freebsd-stable@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 AC7D8107C769 for ; Fri, 17 Aug 2018 00:57:44 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:8006::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5792A829C1 for ; Fri, 17 Aug 2018 00:57:44 +0000 (UTC) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ryuu.rg.net) by ran.psg.com with esmtp (Exim 4.86_2) (envelope-from ) id 1fqT5C-0003VB-Hb; Fri, 17 Aug 2018 00:57:42 +0000 Date: Thu, 16 Aug 2018 17:57:42 -0700 Message-ID: From: Randy Bush To: Steven Hartland Cc: freebsd-stable@freebsd.org Subject: Re: zfs boot size In-Reply-To: <469d704c-3635-2da9-39b6-1f25eae384d7@multiplay.co.uk> References: <469d704c-3635-2da9-39b6-1f25eae384d7@multiplay.co.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/25.3 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Aug 2018 00:57:44 -0000 > We always put swap directly after it so if a resize is needed its easy > without and resilvering . i am an idiot raid0.dfw.rg.net:/root# gpart backup da0 GPT 128 1 freebsd-boot 34 128 2 freebsd-swap 162 33554432 3 freebsd-zfs 33554594 3873308477 so something such as # swapoff # gpart delete -i 1 # gpart delete -i 2 # gpart add -t freebsd-boot -i 1 -b 40 -s 256 # gpart add -t freebsd-swap -i 2 # some incantation to install zfs boot blocks # swapon thanks for clue bat