Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 13:26:13 -0400
From:      Greg Veldman <>
To:        Norman Gray <>
Cc:        FreeBSD Questions <>
Subject:   Re: Documentation and debugging for NFSv4
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, May 22, 2020 at 07:43:02PM +0100, Norman Gray wrote:
> I now go to another CentOS 7.8 machine
>      client3# mount -tnfs server:/astro/norman /mnt
>      client3# mount|grep /mnt
>      server:/astro/norman on /mnt type nfs4 
> (rw,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=,local_lock=none,addr=
>      client3# ls /mnt
>      ls: reading directory /mnt: Input/output error
> Nothing!  The same thing -- an apparently successful mount, and then
> an I/O error -- happens when I let the automounter do the work.

Based on this and your subsequent response to Doug/Remy, I
think the next thing I'd check would be the idmap settings.
It sounds like you may have a domain mismatch.  All the idmap
daemons on both client and server must be running and must agree
on the domain name (doesn't really matter what it is, they just
have to agree).  On FreeBSD this is specified with the -domain
arg to nfsuserd (which looks like it can also be put in rc.conf).
On Linux it's set with the Domain keyword in /etc/idmapd.conf.
Various implementations of the software attempt to calculate a
default domain if none is given, using different methods to do
so.  It's much safer to pick something yourself and explicitly
set it everywhere.

Greg Veldman

Want to link to this message? Use this URL: <>