From nobody Fri Nov 17 21:57:42 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SX9kY4wshz51QZM for ; Fri, 17 Nov 2023 21:57:57 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail2.karels.net (mail2.karels.net [3.19.118.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "freebsd", Issuer "freebsd" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SX9kX5ckvz3fv8 for ; Fri, 17 Nov 2023 21:57:56 +0000 (UTC) (envelope-from mike@karels.net) Authentication-Results: mx1.freebsd.org; none Received: from mail2.karels.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail2.karels.net (8.17.1/8.17.1) with ESMTP id 3AHLvhAv054644; Fri, 17 Nov 2023 15:57:43 -0600 (CST) (envelope-from mike@karels.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=karels.net; s=mail2; t=1700258263; bh=FUqZnBCIKQuhx5vScewZWxElVVr2ZgmOL34C8eed0Pk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qF1gIBzK5jLgXP4uX2Y/RmiLxL7eRY0PH6DJ5GjhxYEMU/zHu97maosukuEziNnwx wA9H1izKkcBltWBIb2HkpzNoRspTgA5YfmmPPdNNtOJWUfN0i4VkO+NWo+vEJjgLhe RiJlV16O47E9Q93kjuZkccKUyzddpraTKQfzEk8kmy1nV0MY7F+rWPOHthHNgnvhzD bzRMhTLh4/9FGWbriXC9ddaQSiGjAoHl8pz7dgMHFWnXUkuRqi8yI6Z7v/KoyQrVYd LMmATT4s9xg4lEc3zpV4ZUv8Cxa7YBuqb1gF0cFaz1X3kgZyeABBFizT2W5xf5WZm/ ek+nwpYivEpCg== Received: from [10.0.2.130] ([73.62.165.147]) by mail2.karels.net with ESMTPSA id FgNxE9fhV2Vy1QAAs/W3XQ (envelope-from ); Fri, 17 Nov 2023 15:57:43 -0600 From: Mike Karels To: Garrett Wollman Cc: freebsd-stable@freebsd.org Subject: Re: NFS exports of ZFS snapshots broken Date: Fri, 17 Nov 2023 15:57:42 -0600 X-Mailer: MailMate (1.14r5964) Message-ID: In-Reply-To: <25943.54632.572766.121032@hergotha.csail.mit.edu> References: <25943.54632.572766.121032@hergotha.csail.mit.edu> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.16.0.0/14, country:US] X-Rspamd-Queue-Id: 4SX9kX5ckvz3fv8 On 17 Nov 2023, at 15:04, Garrett Wollman wrote: > Hi, all, > > One other regression that we found after upgrading from 12.4 to 13.2 > on our NFS servers is that ZFS snapshots of exported filesystems are > no longer accessible to NFS clients. The .zfs/snapshot directory is > readable, and can stat(2) the individual snapshot directories, but > attempting to access the contents of the snapshots over NFS fails -- > clients see either [ESTALE] or [EIO] depending on whether it's an > NFSv3 or v4 mount. Has anyone else run into this? Did you find a > solution? I have not run into this, so I tried it just now. I had no problem. The server is 13.2, fully patched, the client is up-to-date -current, and the mount is v4. Mike > (I asked rmacklem@ and he said he doen't use ZFS and doesn't know the > answer.) > > -GAWollman