GNU bug report logs - #39770
mount-file-system fails to mount NFS file system

Previous Next

Package: guix;

Reported by: maxim.cournoyer <at> gmail.com

Date: Mon, 24 Feb 2020 19:40:01 UTC

Severity: normal

Tags: patch

Merged with 47706

Full log


Message #8 received at 39770 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: 39770 <at> debbugs.gnu.org
Subject: Re: bug#39770: mount-file-system fails to mount NFS file system
Date: Mon, 24 Feb 2020 16:21:21 -0500
[Message part 1 (text/plain, inline)]
Hi,

maxim.cournoyer <at> gmail.com writes:

[...]

> It seems we're missing either a "vers" (doubtful) or more likely the
> "clientaddr" option.

It turns out that the "vers" (or more specifically, "nfsvers") option
was mandatory to resolve this error.  What "mount.nfs" from
nfs-utils seems to do is start with "4.2", then retry upon errors lesser
versions.

The attached patch adds the required "nfsvers=4.2" option by default, or
honors a user specified one.  No retry is done.  Note that it currently
uses file system options represented as an alist, but this is likely to
change as the code review on "allow booting from a Btrfs subvolume"
progresses (the current patch is based atop of
<https://bugs.gnu.org/37305>).

Maxim

[0001-build-file-systems-Specify-a-nfsvers-option-by-defau.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.