From owner-freebsd-stable@freebsd.org Tue Jan 31 14:00:09 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 14305CCAC57 for ; Tue, 31 Jan 2017 14:00:09 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com [IPv6:2607:f8b0:400c:c05::234]) (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 83F181484 for ; Tue, 31 Jan 2017 14:00:08 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: by mail-vk0-x234.google.com with SMTP id k127so236914995vke.0 for ; Tue, 31 Jan 2017 06:00:08 -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=rBzJSkOhrLRfdUcE+pASX6s1YbNddxDMZ53mlPzg7XA=; b=YzqsPvA0RmxGOFJWXHfIrwg4GifC8zbpt0gxq9oOtMCS3uHOlgijZvGx5ICPCis86D l23ozY0xwiOWFOGLKgTXeFCa8U5y9kKz0GJjHPzuqANFb5IeZR1d4lDG/c0HnDYGmL9N HBUOOdPa+Lu+u/y+ZY9mb63JrXg+KQAV5IqejCa4Zu2AZfkdJSk06mAxhY9CONbgIjKZ WV0u4P2MAQe2WDJdpOcVb4E/7/bFFlMcvmSLeTPyYeCgnPcQOgOpG9oFzhiqdq0Z5Z2s ayG5Omtn/UD66zUWWnB9oEZCubDBA6ZzZq+6Pjz4P86VvYGsxMzQjz4vcUTk7jkr9MvF vQEw== 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=rBzJSkOhrLRfdUcE+pASX6s1YbNddxDMZ53mlPzg7XA=; b=EaSnxUlAcP5k1wyC4hl/F9ZGqenqxA0ptn96RmBxAbxIH1tM06yBN8JSXtTo59ePPJ WbYJ+OUuqaXus/wtGqaX5D9+qjZaYRqAXVSs8gWq+lWS0bywxjXQtY93z3pnqbcy1KG4 sjdHKuJ1GnBgvf+a4xnI9EbpDI4mjF5tfr/zbzs2W8ljOYwLgGIPRB6xEjZo7nwiB4qZ Vb0DCRqJdqzNfjK54wDwy46PELU0vsfCBuuQsNA1dCZeUG8kkmvFaJgTcBVUvp/GnYAP 3eLDKHt/8kqA+cfh3qGwTPX1PLs/8GC15hlfaxh7bX8zrE4IYZHOf+SUdtu00yYILUwb W8LQ== X-Gm-Message-State: AIkVDXJkBzzwvt3/3EyhYRGoD0lVRqH/ONCRi7X1QQyEQqkdqqKXq65qXc+SHDlu1HR9dUtXdf5WUuqxlNMxJA== X-Received: by 10.31.107.210 with SMTP id k79mr10318273vki.99.1485871202207; Tue, 31 Jan 2017 06:00:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.48.201 with HTTP; Tue, 31 Jan 2017 06:00:01 -0800 (PST) In-Reply-To: References: <20170129141244.GA63867@in-addr.com> <851efa44-0607-231f-0905-8f9c96a36237@ish.com.au> From: Andreas Nilsson Date: Tue, 31 Jan 2017 15:00:01 +0100 Message-ID: Subject: Re: Boot partition size To: krad Cc: Aristedes Maniatis , FreeBSD Stable 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: Tue, 31 Jan 2017 14:00:09 -0000 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" >