Date: Tue, 26 May 2020 19:07:37 +0100 From: "Norman Gray" <norman.gray@glasgow.ac.uk> To: Greg Veldman <freebsd@gregv.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Documentation and debugging for NFSv4 Message-ID: <6FE7F8A1-F296-4B85-A7C8-E360F8D559B6@glasgow.ac.uk> In-Reply-To: <20200526172613.GN1068@aurora.gregv.net> References: <20200526172613.GN1068@aurora.gregv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Greg, hello. 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. Solaris appears <https://docs.oracle.com/cd/E19120-01/open.solaris/819-1634/epubp/index.html> 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. Best wishes, Norman -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FE7F8A1-F296-4B85-A7C8-E360F8D559B6>