gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-26 Thread Ngie Cooper (yaneurabeya)
Hi, I tried upgrading one of my workstations and unfortunately the freebsd-boot partition is too small (I follow manpage directions, exactly, and those seem to be too small as of 10.3-RELEASE timeframe), and I don’t have enough space or ability to resize the partition and make it bigger.

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-26 Thread Alan Somers
On Thu, Jan 26, 2017 at 4:40 PM, Ngie Cooper (yaneurabeya) wrote: > Hi, > I tried upgrading one of my workstations and unfortunately the > freebsd-boot partition is too small (I follow manpage directions, exactly, > and those seem to be too small as of 10.3-RELEASE timeframe), and I don’

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-26 Thread Allan Jude
On 2017-01-26 18:50, Alan Somers wrote: > On Thu, Jan 26, 2017 at 4:40 PM, Ngie Cooper (yaneurabeya) > wrote: >> Hi, >> I tried upgrading one of my workstations and unfortunately the >> freebsd-boot partition is too small (I follow manpage directions, exactly, >> and those seem to be too

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Toomas Soome
> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) > wrote: > > Hi, > I tried upgrading one of my workstations and unfortunately the > freebsd-boot partition is too small (I follow manpage directions, exactly, > and those seem to be too small as of 10.3-RELEASE timeframe), and I don

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Warner Losh
On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > >> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) >> wrote: >> >> Hi, >> I tried upgrading one of my workstations and unfortunately the >> freebsd-boot partition is too small (I follow manpage directions, exactly, >> and those

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Shawn Webb
On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: > On 2017-01-27 12:05, Warner Losh wrote: > > On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > >> > >>> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) > >>> wrote: > >>> > >>> Hi, > >>> I tried upgrading one of my wor

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Allan Jude
On 2017-01-27 12:33, Shawn Webb wrote: > On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: >> On 2017-01-27 12:05, Warner Losh wrote: >>> On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) > wrote: > > Hi, >

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Shawn Webb
On Fri, Jan 27, 2017 at 12:35:21PM -0500, Allan Jude wrote: > On 2017-01-27 12:33, Shawn Webb wrote: > > On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: > >> On 2017-01-27 12:05, Warner Losh wrote: > >>> On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > > > On 27. jaan 2

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Allan Jude
On 2017-01-27 12:05, Warner Losh wrote: > On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: >> >>> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) >>> wrote: >>> >>> Hi, >>> I tried upgrading one of my workstations and unfortunately the >>> freebsd-boot partition is too small (I

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Warner Losh
On Fri, Jan 27, 2017 at 10:35 AM, Allan Jude wrote: > On 2017-01-27 12:33, Shawn Webb wrote: >> On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: >>> On 2017-01-27 12:05, Warner Losh wrote: On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: > >> On 27. jaan 2017, at 1:40

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Toomas Soome
> On 27. jaan 2017, at 19:30, Allan Jude wrote: > > On 2017-01-27 12:05, Warner Losh wrote: >> On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome > > wrote: >>> On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) wrote: Hi, I tried upgrading o

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Ngie Cooper
> 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

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Ngie Cooper
> On Jan 27, 2017, at 12:23, Toomas Soome wrote: ... >> Unfortunately, in my infinite wisdom (IIRC) I put the zfs partition before >> the swap partition. >> >> We have a similar problem at work with sys/boot unfortunately, but that's a >> side discussion for another time/place. >> >> Thank

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-27 Thread Toomas Soome
> On 27. jaan 2017, at 22:16, 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 m

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Julian Elischer
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.

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Julian Elischer
On 28/1/17 1:35 am, Allan Jude wrote: On 2017-01-27 12:33, Shawn Webb wrote: On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: On 2017-01-27 12:05, Warner Losh wrote: On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) wrote:

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Warner Losh
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 w

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Toomas Soome
> On 28. jaan 2017, at 18:56, Warner Losh wrote: > >> >> >> 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. >>

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 8:56 AM, Warner Losh wrote: ... > 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 g

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Allan Jude
On 2017-01-28 13:56, Ngie Cooper wrote: > On Sat, Jan 28, 2017 at 8:56 AM, Warner Losh wrote: > > ... > >> 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

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 10:57 AM, Allan Jude wrote: > On 2017-01-28 13:56, Ngie Cooper wrote: >> On Sat, Jan 28, 2017 at 8:56 AM, Warner Losh wrote: >> >> ... >> >>> 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

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Allan Jude
On 2017-01-28 14:04, Ngie Cooper wrote: > On Sat, Jan 28, 2017 at 10:57 AM, Allan Jude wrote: >> On 2017-01-28 13:56, Ngie Cooper wrote: >>> On Sat, Jan 28, 2017 at 8:56 AM, Warner Losh wrote: >>> >>> ... >>> So? It literally doesn't matter where the freebsd-boot partition lives, or wha

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
> 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 expli

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Warner Losh
On Sat, Jan 28, 2017 at 12:04 PM, Ngie Cooper wrote: > On Sat, Jan 28, 2017 at 10:57 AM, Allan Jude wrote: >> On 2017-01-28 13:56, Ngie Cooper wrote: >>> On Sat, Jan 28, 2017 at 8:56 AM, Warner Losh wrote: >>> >>> ... >>> So? It literally doesn't matter where the freebsd-boot partition

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 11:22 AM, Ngie Cooper wrote: >> 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

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Allan Jude
On 2017-01-28 15:17, Ngie Cooper wrote: > On Sat, Jan 28, 2017 at 11:22 AM, Ngie Cooper wrote: >>> 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 us

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 12:21 PM, Allan Jude wrote: ... > The 'zfsboot' version, is dd's into the zfs boot code area. It is read > by the assembly code there. It is important the file be the size that > will be read, so it is padded out. That file is currently only used for > MBR booting from ZF

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 12:17 PM, Ngie Cooper wrote: ... > After some creative hacking... tada! > > # find /usr/obj/usr/src/sys/boot/ -type f -name \*zfsboot -exec ls -l {} \; > -rw-r--r-- 1 root wheel 131584 Jan 28 12:07 > /usr/obj/usr/src/sys/boot/i386/zfsboot/zfsboot > -rw-r--r-- 1 root w

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-28 Thread Ngie Cooper
On Sat, Jan 28, 2017 at 1:03 PM, Ngie Cooper wrote: > On Sat, Jan 28, 2017 at 12:17 PM, Ngie Cooper wrote: > ... > >> After some creative hacking... tada! >> >> # find /usr/obj/usr/src/sys/boot/ -type f -name \*zfsboot -exec ls -l {} \; >> -rw-r--r-- 1 root wheel 131584 Jan 28 12:07 >> /usr/ob

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-31 Thread Mark Martinec
2017-01-27 01:09, Allan Jude wrote: Yeah, most of the size is from the GELI support, not Skein, so that is your best starting place. On a tangential ... does the gptzfsboot really support skein checksums in 11.0? If so, then why does zfs not allow setting skein on a root pool? # zfs set c

Re: gptzfsboot grew a lot after skein support was added; need knob to control bloat

2017-01-31 Thread Volodymyr Kostyrko
Shawn Webb wrote: On Fri, Jan 27, 2017 at 12:30:17PM -0500, Allan Jude wrote: On 2017-01-27 12:05, Warner Losh wrote: On Fri, Jan 27, 2017 at 12:34 AM, Toomas Soome wrote: On 27. jaan 2017, at 1:40, Ngie Cooper (yaneurabeya) wrote: Hi, I tried upgrading one of my workstations and u