Date: Fri, 22 Aug 2025 14:20:18 +0200 From: Cedric Blancher <cedric.blancher@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 15-20250822 NFSv4.1 server broken? Message-ID: <CALXu0UcLmH7CtAzEjmXYWgc7YbkEgPMaByqe70Y0nhPNA9GiPw@mail.gmail.com> In-Reply-To: <CALXu0UedA9n_CgFO56SWM4Sza2qWr9GS5v2wmsWRcq1EJQ9KFQ@mail.gmail.com> References: <CALXu0UedA9n_CgFO56SWM4Sza2qWr9GS5v2wmsWRcq1EJQ9KFQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
On Fri, 22 Aug 2025 at 12:37, Cedric Blancher <cedric.blancher@gmail.com> wrote: > > Good morning! > > FreeBSD 15-2025082, NFSv4.1 server set up like this: > # sysrc nfs_server_enable=YES > # sysrc nfsv4_server_enable=YES > # sysrc nfsuserd_enable=YES > # sysrc nfscbd_enable=YES > # sysctl vfs.nfs.enable_uidtostring=1 > # sysctl vfs.nfsd.enable_stringtouid=1 > # sysctl vfs.nfsd.issue_delegations=1 > # printf 'V4: / -sec=sys\n' >>'/etc/exports' > # service nfsd start > # cat /etc/exports > V4: / -sec=sys > > Linux 6.16 kernel, attempting to mount and use: > # mount -o vers=4.1 10.49.202.66:/nfsdata /mnt_freebsdnfs/ > # cd /mnt_freebsdnfs/ > # ls -la > ls: reading directory '.': Input/output error > total 0 > # cd all > # ls -la > ls: reading directory '.': Input/output error > total 0 I think this is caused by empty dirs: ls -l ls: reading directory '.': Invalid argument total 0 # touch x # ls -l total 1 -rw-r--r-- 1 nobody 4294967294 0 Aug 22 2025 x > > It looks that the Input/output error is caused by a NFS4ERR_NOFILEHANDLE > > Is this setup correct, or is there a bug in the FreeBSD NFSv4.1 server? Can anyone please verify whether FreeBSD NFSv4.1 nfsd works in this release: # uname -a FreeBSD freebsdparis1 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE #0 main-n279771-027be99b1f33: Thu Aug 21 20:15:59 UTC 2025 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 Ced -- Cedric Blancher <cedric.blancher@gmail.com> [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteurhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALXu0UcLmH7CtAzEjmXYWgc7YbkEgPMaByqe70Y0nhPNA9GiPw>
