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

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

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--

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

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

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

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

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?

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

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

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

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

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 >

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

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

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

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

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 >>

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

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

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)

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:

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 >>>

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: > >

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) >

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, >

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

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

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, >>

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