Documentation and debugging for NFSv4
norman.gray at glasgow.ac.uk
Tue May 26 18:07:44 UTC 2020
On 26 May 2020, at 18:26, Greg Veldman wrote:
> 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).
I staggered to this conclusion today, but haven't had the chance to
think through the consequences.
> 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.
I'm currently trying to work out if there's a way of doing that that
doesn't involve making config edits to a lot of machines. I think the
answer is 'no', and that this is going to be painful whichever decision
I make about the domain name.
to support a rather nice client-side search for a magic DNS TXT record.
Cute, but as far as I can see that's a Solaris-only thing.
Oh well. Thanks, Greg and all.
Norman Gray : http://www.astro.gla.ac.uk/users/norman/it/
Research IT Coordinator : School of Physics and Astronomy
// My current template week for IT tasks is: Monday, Tuesday, and Friday
More information about the freebsd-questions