From owner-freebsd-current@freebsd.org Sat Jan 28 16:56:49 2017 Return-Path: Delivered-To: freebsd-current@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 3403CCC4019 for ; Sat, 28 Jan 2017 16:56:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1099B90 for ; Sat, 28 Jan 2017 16:56:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0D3E0CC4018; Sat, 28 Jan 2017 16:56:49 +0000 (UTC) Delivered-To: current@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 0B454CC4016 for ; Sat, 28 Jan 2017 16:56:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (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 BC1698E for ; Sat, 28 Jan 2017 16:56:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x241.google.com with SMTP id 101so10791241iom.0 for ; Sat, 28 Jan 2017 08:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=lH8FYzeZJ47DWhAyloMSVSBIz2JE48/5/b2/iofmA4I=; b=lloE4LbQp23VQyTOTD+j9J8WxT5sTekUrElIDfIUA/+6UXckI8JjHdWQeZgRWZrFUS 24fza1DrdwRfDkwyqVUVqzBlV0ObSg8Mh75/OLHGTUG8DokGjfTmtgtOlBWJjbjN790h 5zjDummhcaj109AmSS4x346AIJxAmzDSke4hQIcA3owFb/73weR3kmtqpHqAfyogHMjB OKnjiJPT90xyHzdwBEEk1Vi+7NHw9Roy/UZ0GHRt/ODQ0GK1PsDMu5sNWQKJKjzBm9QG hshC9oKQSyepFC/QN4RsEdibEgjgpuxcZR6LiuYStE6RO1OBTvy1mg5dfLD991EKf5Nh PBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=lH8FYzeZJ47DWhAyloMSVSBIz2JE48/5/b2/iofmA4I=; b=lRUX6JvGSAbGzVc/63aTrdDg5O8V+LUso3CjdMfIuT0qQdSFYfijjHI1JJpmy1Tzpw 1Lvy+03m7Q7FgwyTFoTpvti/6yJU4TUCZn4sPVe+e2tuEYFmWjhLP68JYIdQpwnLyb8N qoQuIOJ31belsF5SBOAcU0nAtCWbl746MjndSiX9dDzRrB0OaqBpWv8zTY8QglL8zh4Y sSexbtnScTipeVDc19Chpcq/tb+YnTFa142Er53wWzAMJZZOBbfSXEczE/r0icxaJ3Ai MVtpJl96ROcl47WN1Fjlx5Son6HLlQ4w0k3MzvizQeFTcESDbb7o4v7u2JBIkAVh1SqQ X9kQ== X-Gm-Message-State: AIkVDXKSxBRe+DXrMRXVkdhBqYucKGR+eJDSxnd0zLDtKlkhgLTlH77sh1lD31cGeVRzpGEj+wKAvfMB55cV9Q== X-Received: by 10.107.198.195 with SMTP id w186mr12621094iof.19.1485622607979; Sat, 28 Jan 2017 08:56:47 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.217 with HTTP; Sat, 28 Jan 2017 08:56:47 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: References: From: Warner Losh Date: Sat, 28 Jan 2017 09:56:47 -0700 X-Google-Sender-Auth: lPtzbYUQef3jGP7lGA25NhGnUlk Message-ID: Subject: Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat To: Julian Elischer Cc: Ngie Cooper , Toomas Soome , Allan Jude , FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2017 16:56:49 -0000 On Sat, Jan 28, 2017 at 6:43 AM, Julian Elischer wrote: > On 28/1/17 4:16 am, Ngie Cooper wrote: >>> >>> On Jan 27, 2017, at 09:05, Warner Losh wrote: >> >> ... >> >>> I'm curious why you can't find the space for a bigger partition? >>> Almost all drives these days are partitioned with a little wasted >>> space, and that wasted space should be more than enough to cover us >>> here. Also, most drives have a swap partition that can be shrunk a >>> trivial amount to get space for this... >> >> Unfortunately, in my infinite wisdom (IIRC) I put the zfs partition before >> the swap partition. So? It literally doesn't matter where the freebsd-boot partition lives, or what it's number is. You can put it at the start or end of the swap partition after adjusting its size. I've done this on several systems... NanoBSD plays games with this stuff as well to be bootable on old / new systems. >> We have a similar problem at work with sys/boot unfortunately, but that's >> a side discussion for another time/place. >> >> Thank you for the idea though -- I'll check when I get back to work. > > > at $JOB we are just testing a script that expands the root zfs partition on > in-field appliances by shaving a bit off swap and cannibalising a small data > partition we don't really use. I see we only left 64K for the boot part. > It's big enough for us for now, but possibly we should fix that as well. > We have a mirror setup for system disks so we have the ability to take each > system drive offline one at a time and rearrange it and then re-add the root > partition to the mirror. > What are the chances a regular gpt+ZFS (no encrypt) bootblock will grow over > 64K? Hard to say. Given boot1/boot2 growth over time, I'd peg that close to 100%. Warner >> -Ngie >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> > >