From owner-freebsd-stable@freebsd.org Wed Feb 1 08:38:16 2017 Return-Path: Delivered-To: freebsd-stable@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 A935ACCBB01 for ; Wed, 1 Feb 2017 08:38:16 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (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 612BDB9E for ; Wed, 1 Feb 2017 08:38:16 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-qt0-x235.google.com with SMTP id k15so258352810qtg.3 for ; Wed, 01 Feb 2017 00:38:16 -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=Lms31UINfaC5vKwWfUYxu9EbvYJXEADgvV7hYJNJ+nY=; b=YHx7tEdA9AzVZK5yPj9Ciwg7K+pAwKfFGPQ9l1G3oh1zJ1QgR6dRYmH2ndexuidRoi oI+cYTbWGqTjHGl9b6qxPfUI6H8qfaG8hweFzhbv8WRSRchzm3UY4hLNs4DO2fnDztzQ +x7PFs77Hbkbhds1mM+uvrHcnCWzcZjBF9bLx7tikbtcBGTe2VALPd4jByX/kjf8NGhI xchvXvR0x9x8RDh1PmJpdQj7EJKilvMaEZXq62Kp+BjWQThzRzUBD8G+tgUit0ABz0P4 sywgdaU/8QWb1+N/PYBrJxmh3/0rh2YypmZlvg1p4CMHodLMnTrB0XlTjMMFb6mr9mjs v75g== 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=Lms31UINfaC5vKwWfUYxu9EbvYJXEADgvV7hYJNJ+nY=; b=MAo8vpF/o28BqHRC+cX5CJJQTjRBL9IVEDxYAkxHywE9bLt+6HopZcCn6zBsZyhNFR XGt/wwV5sjEgvg3SDA10/BUvjtyatENNdp5dJudI+DTlj6lhzmaf0L0ity65uCaMcJkR sfPgRMwkzzJFU3DDsrXZ6NLpik+iV650HEL6I+gQudzHqlQQ552FQjKf6DgFKHg2ReDd UeVP2EZ5r7FD9jDjezbgvG1iObIRt/KgRiqhYVwjVPvRrHt+G7/xzdq+IXEZu+0yYpwO UtX90Pp1s1mf8H0wt59H2/QESeEPqxK8N8474yKxeNfh2ZtGr55oyGtl1X+mxBuQfhil rgAg== X-Gm-Message-State: AIkVDXLBrPD9BynjpdHmEBhVivhSCoiffcYUVfE7pzEuzjz8IksC59/DV5d2Zu8uIzJkBw3YZBGMIrX2nCpiqA== X-Received: by 10.200.43.201 with SMTP id n9mr1603152qtn.243.1485938295382; Wed, 01 Feb 2017 00:38:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.173.40 with HTTP; Wed, 1 Feb 2017 00:38:15 -0800 (PST) In-Reply-To: References: <20170129141244.GA63867@in-addr.com> <851efa44-0607-231f-0905-8f9c96a36237@ish.com.au> From: krad Date: Wed, 1 Feb 2017 08:38:15 +0000 Message-ID: Subject: Re: Boot partition size To: Warner Losh Cc: Andreas Nilsson , FreeBSD Stable , Aristedes Maniatis Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 08:38:16 -0000 Are we really that worried about 90-99 MB when we are talking about many TB drives? Even the entry-mid range SSD are in the region of 256-512 GB these days? On 31 January 2017 at 14:35, Warner Losh wrote: > The UEFI standard suggests something large like 100MB. There are a > number of firmware updating programs that run as .efi images. It > would be prudent to allow more than the bare minimum in case you wind > up needing them down the line. boot1.efi is likely to grow > significantly in the future. Maybe not 100x, a 1MB is likely once it > has all the features it needs. 10MB might be a safe upper bound. > > Warner > > On Tue, Jan 31, 2017 at 7:00 AM, Andreas Nilsson > wrote: > > Well, 100mb might be relevant if you ever want to dual-boot. The > relevant > > efi file seems to be < 100k > > > > It may go up in size, but I doubt we will see a 100x increase. > > > > /A > > > > On Tue, Jan 31, 2017 at 1:03 PM, krad wrote: > > > >> Its worth noting you should also go for GPT layout and have a 100meg or > so > >> partition provisioned as well so you can do a uefi boot. Even if you > arent > >> going to use it right now. > >> > >> > >> On 30 January 2017 at 03:41, Aristedes Maniatis wrote: > >> > >> > On 30/1/17 2:20pm, Freddie Cash wrote: > >> > > And, you may be able to do that on the existing disks, as ZFS now > >> leaves > >> > a MB or two of "slack space" at the end of the device used in the > vdev. > >> > This allows for using drives/partitions that are the same size in MB > but > >> > have different numbers of sectors. This was an issue on the early ZFS > >> days. > >> > > > >> > > So, you may be able to resize the freebsd-zfs partition by a > handful of > >> > KB without actually changing the size of the vdev. > >> > > >> > > >> > Brilliant, thank you. That worked a treat with a new boot size of > 256k. > >> > > >> > > >> > Note that this page: https://wiki.freebsd.org/ > >> RootOnZFS/GPTZFSBoot/Mirror > >> > needs to be adjusted. This line: > >> > > >> > gpart add -b 34 -s 128k -t freebsd-boot ad0 > >> > > >> > needs to instead be > >> > > >> > gpart add -a 4k -s 512k -t freebsd-boot ad0 > >> > > >> > > >> > I don't have edit rights. Probably someone needs to clean up and merge > >> > many of these pages: https://wiki.freebsd.org/RootOnZFS/ > >> > > >> > > >> > Ari > >> > > >> > > >> > > >> > -- > >> > --------------------------> > >> > Aristedes Maniatis > >> > CEO, ish > >> > https://www.ish.com.au > >> > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A > >> > > >> > > >> _______________________________________________ > >> freebsd-stable@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable > >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@ > freebsd.org" > >> > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " >