Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #79624

Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts
Date 2023-07-16 20:20 +0200
Message-ID <GSevD-GCQ-3@gated-at.bofh.it> (permalink)
References <GNRnX-2WoE-3@gated-at.bofh.it> <GO63D-35SR-3@gated-at.bofh.it> <GOaTE-38MB-7@gated-at.bofh.it> <GNRnX-2WoE-3@gated-at.bofh.it> <GOaTE-38MB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 2023-07-05 at 15:18 +0200, Hauke Fath wrote:
> On 7/5/23 10:20, Bastian Blank wrote:
> > On Tue, Jul 04, 2023 at 06:35:44PM +0200, Hauke Fath wrote:
> > > /misc	/etc/auto.misc		-nfsvers=3,proto=udp,resvport,retrans=5,rsize=16384,wsize=16384,rw,hard
> > And if you set it to TCP (the default) or better directly switch to
> > NFSv4?
> 
> nfsv3 over tcp works, but is subobtimal , as described - when the router 
> goes down, the tcp mounts will hang, and the machine will have to be 
> rebooted.
[...]

Does this mean you are using the "soft" mount option?  Without that, I
would expect access to the mount to hang until the network connection
is restored, regardless of whether the TCP or UDP transport is used.

The default retry and timeout behaviour *is* different between
transports, though.  See the "timeo" and "retrans" options in nfs(5). 
You may wish to override the defaults in your environment.

Ben.

-- 
Ben Hutchings
Theory and practice are closer in theory than in practice - John Levine

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Hauke Fath <hf@spg.tu-darmstadt.de> - 2023-07-04 18:50 +0200
  Processed: Re: Bug#1040343: linux-image-5.10.0-9-amd64: Kernel  silenty de-supported nfsv3 UDP mounts "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-07-05 10:30 +0200
  Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Bastian Blank <waldi@debian.org> - 2023-07-05 10:30 +0200
    Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Hauke Fath <hf@spg.tu-darmstadt.de> - 2023-07-05 15:40 +0200
      Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Ben Hutchings <ben@decadent.org.uk> - 2023-07-16 20:20 +0200
        Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Hauke Fath <hf@spg.tu-darmstadt.de> - 2023-07-17 09:20 +0200
          Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Ben Hutchings <ben@decadent.org.uk> - 2023-07-17 20:40 +0200
            Bug#1040343: linux-image-5.10.0-9-amd64: Kernel silenty de-supported nfsv3 UDP mounts Hauke Fath <hf@spg.tu-darmstadt.de> - 2023-07-18 12:40 +0200
  Bug#1040343: marked as done (linux-image-5.10.0-9-amd64: Kernel  silenty de-supported nfsv3 UDP mounts) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-07-05 14:40 +0200

csiph-web