Re: ZFS property inheritance broken for `readonly`?
- Reply: Garrett Wollman : "Re: ZFS property inheritance broken for `readonly`?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 May 2024 21:55:35 UTC
Van: Garrett Wollman <wollman@bimajority.org> Datum: 3 mei 2024 23:39 Aan: freebsd-stable@freebsd.org Onderwerp: ZFS property inheritance broken for `readonly`? > > > I've noticed recently (not sure when this started, maybe on the 12->13 > transition, which would be the same as the old ZFS to OpenZFS > transition for us) that inheritance for the `readonly` property is > broken. > > Here is an example: > > [root@nfs-prod-11 /home/wollman]# zfs set readonly=on export/cl > [root@nfs-prod-11 /home/wollman]# zfs get readonly export/cl/u > NAME PROPERTY VALUE SOURCE > export/cl/u readonly off temporary > > The child filesystem `export/cl/u` should have inherited the readonly > setting from `export/cl` but instead it (and all other children) have > overridden it, and I have to manually `zfs inherit readonly` on all of > the children to get the proper behavior. This is quite surprising, > and the first time it happened I was sure that something had gone > wrong. > > -GAWollman > > > > > > How did you mount the fs? Could it be that the “temporary” source of the setting had to do with it? See man zfs. Regards,Ronald