[OpenIndiana-discuss] new be doesn't keep zfs settings

Marcel Telka marcel at telka.sk
Thu Jan 18 21:45:36 UTC 2024


On Thu, Jan 18, 2024 at 01:22:42AM +0100, Goetz T. Fischer wrote:
> On Wed, 17 Jan 2024 14:34:59 +0100, Marcel Telka wrote:
> > On Wed, Jan 17, 2024 at 08:01:22AM +0100, Goetz T. Fischer wrote:
> >> however, the catch was that the new be, that's created during a "pkg update", doesn't keep the
> >> compression setting. after the reboot i noticed that the new /var had compression set to off again and
> >> therefore was big again. is there something specific i have to do to make the new be keep the zfs
> >> settings?
> > 
> > I'd expect this to work out of the box. Could you please share how
> > exaclty this could be reproduced?
> 
> sure, this is the pool of my test installation:
> 
> rpool                                  5.63G  5.51G      124K  /rpool
> rpool/ROOT                             5.03G  5.51G       96K  legacy
> rpool/ROOT/openindiana-2024:01:15      5.03G  5.51G     4.15G  /
> rpool/ROOT/openindiana-2024:01:15/var   905M  5.51G      905M  /var
> rpool/dump                             64.1M  5.51G     64.1M  -
> rpool/export                            192K  5.51G       96K  /export
> rpool/export/home                        96K  5.51G       96K  /export/home
> rpool/swap                              546M  6.03G     13.9M  -
> 
> then i run:
> root at openindiana:~# zfs set compression=on rpool/ROOT/openindiana-2024:01:15/var
> root at openindiana:~# zfs get compression rpool/ROOT/openindiana-2024:01:15/var
> NAME                                   PROPERTY     VALUE     SOURCE
> rpool/ROOT/openindiana-2024:01:15/var  compression  on        local

Even 'beadm create NEWBE' is enough to reproduce the issue (just tried).
Feel free to file a bug report here:

https://www.illumos.org/projects/illumos-gate/issues/new


Thanks.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the openindiana-discuss mailing list