From owner-freebsd-current@freebsd.org Sat Jan 28 19:22:44 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 B237BCC64CD for ; Sat, 28 Jan 2017 19:22:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 898F810F0 for ; Sat, 28 Jan 2017 19:22:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 88E4DCC64CC; Sat, 28 Jan 2017 19:22:44 +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 88860CC64CB for ; Sat, 28 Jan 2017 19:22:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 40FDD10EC; Sat, 28 Jan 2017 19:22:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qk0-x232.google.com with SMTP id j126so75083625qkf.1; Sat, 28 Jan 2017 11:22:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ggb0uGsn+3zyI1ZJWvzsvcFBO4Atp8fKCPNPPUhR9OI=; b=PjOg+DmtVtnHFrwym3qm0kXPxY5p01LGoUm0L8qBDjU9FxwhJxIgZV+rftynxnlI/9 smMaRtU7HgNZ3jkHmFPqQPp9Hg/Rh60wnso4PSiJrClogtfpGcvO02xpwzWzox60GXIS 1qL4sXhXH+z/VFCJJrVVtt7v8tSAUNzCW0OUMJc9Z0v9RAdmlQbrR3OA/Ga0BMZ/cDrw bGk4dsF6Sm4OEXpVg4J9iExLffkP4ps4EuI9FY227yrnFn/TG81oPpbbSbX1DrjtRjhl Ven7ArOheLn24aC2VoooPrjn0+pGMQBhGObi4dD+0Ii4mW0j9pj41+I2BsSsnzeTOV1V 1r1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ggb0uGsn+3zyI1ZJWvzsvcFBO4Atp8fKCPNPPUhR9OI=; b=KlzfFGA+AnRPC6/4t5i/b2nBlnGNmym/GD423BybFQQO/8mQRPUw9KApjeL/0D6A5d F/p9Wb+rTiFIGe9HrvIKzkgQoefkC4lsrCbM73wmqS2fVUp9S8GfJyzbbgLrsReeX2pf 4q81ySBReQ7fKsdjBhhOSS2Z46HjZE74ew/29uRe9cfK5xyB9YvtpRou/LZqjrh7XJ1T AHyQj1GscddfCVHO3td2BXJxqDA+5nQeE9Vj5aovqSiST2TX22EeXi4qBeXa5k9Hebx/ cezJ5zL5kgNJVyU3XvG1yYgTpnw9hzLDH1BRDhk/TZh3v/UXmaOU9CQT3gY5Eec/w+WA qG2g== X-Gm-Message-State: AIkVDXIXrR7ftsUHNWyzk7Edtu1Okc+eY4uYUpputWZT653cOIOIHostrgoBiI1UQb2eKKOSjfra4JUmmpAuOg== X-Received: by 10.55.25.42 with SMTP id k42mr15634529qkh.297.1485631363458; Sat, 28 Jan 2017 11:22:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.84.230 with HTTP; Sat, 28 Jan 2017 11:22:42 -0800 (PST) In-Reply-To: <373376e9-2a30-3cb4-ec60-b5b5f27de596@freebsd.org> References: <373376e9-2a30-3cb4-ec60-b5b5f27de596@freebsd.org> From: Ngie Cooper Date: Sat, 28 Jan 2017 11:22:42 -0800 Message-ID: Subject: Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat To: Allan Jude Cc: Warner Losh , Julian Elischer , Toomas Soome , 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 19:22:44 -0000 > What created a partition that small? Me. gpart up until last summer said that users should create 44kB freebsd-boot partitions -- des@ corrected that in r303289: -This example uses 88 blocks (44 kB) so the next partition will be -aligned on a 64 kB boundary without the need to specify an explicit -offset or alignment. -The boot partition itself is aligned on a 4 kB boundary. +We create a 472-block (236 kB) boot partition at offset 40, which is +the size of the partition table (34 blocks or 17 kB) rounded up to the +nearest 4 kB boundary. .Bd -literal -offset indent -/sbin/gpart add -b 40 -s 88 -t freebsd-boot ada0 +/sbin/gpart add -b 40 -s 472 -t freebsd-boot ada0 Thanks, -Ngie