Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debian 12 kernel NFS server doesn't listen on port 2049 UDP

403 views
Skip to first unread message

Matthias Scheler

unread,
Jul 29, 2023, 11:10:05 AM7/29/23
to

Hello,

after upgrading one of my systems from Debian 11 to 12 the kernel NFS server
doesn't seem to accept NFS requests over UDP on port 2049 anymore:

>rpcinfo -p | grep nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl

This causes problems for a non-Linux NFS client whose automounter
tries to perform the mount over UDP. Is there a way to re-enable
the UDP port?

Kind regards

--
Matthias Scheler http://zhadum.org.uk/

piorunz

unread,
Jul 29, 2023, 12:50:07 PM7/29/23
to
Edit /etc/nfs.conf file:
[nfsd]
udp=y

then:
sudo systemctl restart nfs-server

Result:
$ rpcinfo -p | grep nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100003 3 udp 2049 nfs
100227 3 udp 2049 nfs_acl

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀

Matthias Scheler

unread,
Jul 29, 2023, 1:00:06 PM7/29/23
to
On Sat, Jul 29, 2023 at 05:44:59PM +0100, piorunz wrote:
> Edit /etc/nfs.conf file:
> [nfsd]
> udp=y
>
> then:
> sudo systemctl restart nfs-server

Yes, that fixed my NFS problem.

Thank you very much
0 new messages