Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2024 21:31:29 -0400
From:      Garrett Wollman <wollman@bimajority.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ZFS property inheritance broken for `readonly`?
Message-ID:  <26165.36849.451200.198723@hergotha.csail.mit.edu>
In-Reply-To: <ZjV8yNCWBxVrQENI@spindle.one-eyed-alien.net>
References:  <26165.22926.598276.904906@hergotha.csail.mit.edu> <ZjV8yNCWBxVrQENI@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 4 May 2024 00:09:44 +0000, Brooks Davis <brooks@freebsd.org> said:

>> [I wrote:]
>> 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.

> I find myself wondering if ZFS was unable to downgrade the mount and
> this is a transient state, but the fact that inherit works suggests
> otherwise.  I suppose it could be a missing case in the spl layer.

It definitely *used to* work; this has been part of our standard
migration procedure for a good decade now, and it's only since we
upgraded to 13 that it stopped working.

-GAWollman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26165.36849.451200.198723>