Re: NFS exports of ZFS snapshots broken

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sat, 18 Nov 2023 12:14:54 UTC
Am 2023-11-18 04:30, schrieb Rick Macklem:
> On Fri, Nov 17, 2023 at 7:10 PM Garrett Wollman 
> <wollman@bimajority.org> wrote:
>> 
>> <<On Fri, 17 Nov 2023 18:19:05 -0600, Mike Karels <mike@karels.net> 
>> said:
>> 
>> > Looks like main still has this problem.  I exported a ZFS file system from
>> > a 15-current system to the same 13.2 client, and it exhibits the problem
>> > (EIO from NFSv3).  So the problem is most likely in 14.0 as well.
>> 
>> Glad someone was able to reproduce.  I don't have any systems I can
>> easily pave over to try to bisect.  I spent an hour looking at git
>> and I really don't see any obvious culprits.
> Just fyi for everyone, I've sent a simple patch that I think disables 
> the jail
> checking stuff to Mike and hopefully he can try it. I now see that all 
> the
> "run nfsd(8) in vnet jails" is not in releng/13.2, but is in stable/13.
> 
> If it does fix the problem, then I'll have to dig into the ZFS code to 
> try and
> figure out how to fix this, yuck!
> 
> Hopefully Mike can determine if this is the problem, rick

If this doesn't fix the issue, the relevant people could check "zfs get 
snapdir pool" between a working and a non-working setup as a next 
trial&error step.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF