From owner-freebsd-questions@freebsd.org Tue May 26 18:07:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 907092CF473 for ; Tue, 26 May 2020 18:07:44 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from hillend.cent.gla.ac.uk (hillend.cent.gla.ac.uk [130.209.16.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Whl3544Bz4dSK for ; Tue, 26 May 2020 18:07:43 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from cas07.campus.gla.ac.uk ([130.209.14.164]) by hillend.cent.gla.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1jddzJ-0005Jl-7h; Tue, 26 May 2020 19:07:41 +0100 Received: from CAS08.campus.gla.ac.uk (130.209.14.165) by cas07.campus.gla.ac.uk (130.209.14.164) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 May 2020 19:07:40 +0100 Received: from GBR01-LO2-obe.outbound.protection.outlook.com (104.47.21.55) by CAS08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 26 May 2020 19:07:40 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VCOdnvTporh+nhfYQufUqQia89+Qm0/BSrCSXML8US9HJFxsW1zYh6VSHvetJR3q2THu7KlNr5QpWc6JNt16ouFxoLLARMN1wQj5ExOjpx39wQ9bxy5HbaQyDvVoWasnAyDYbwHk61v1wF9uo6uep2K7POE3znWBtQFtRBi+ssKHyew+MXzMxiSiEOyIxus/U2Q0qC3ht0QpMjXy0WcuR1ZsC1M53U8vkn6xi9j380pBnLIW91hSUao1KeQAwl1VyS3namRRGfdKuM+Q5VhKVCVHCg/7VsBLJIHOM6YJGScRmeipkU9f0Cfx+CIgQfgLcDnXizi4HIaD1KPRMadL0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fVH60nEgJ1/Ie64XmTV6Dm70e7ukuMCgDoKST9h44n0=; b=Pyr65ROPTYxUiKnXZbJ+BlMy13+p1sUoWLkAguanGil+Ki2Qh2smCr8g+LwcXGMxgGvoiBKg0EcmAz/rt/OI6zG3K2vn2CHl85uIx+fReXsBf+uREbs1NjSDbJV7hU/0QyfQb7MXXOtMPEDKVH/ZAwDvhLqT4djGmEP50bI6Yce+lLfh/7jo1OieuM7w/3euI0Ujmj9zqWVqPkeVZre2JqxyOj9vcaRGUqtaTzxb0ZaDT3oB+7UViRYIbYAmB9TDlSB7MXY7cl3CqTfABV2+mZWJVhc0j4iqQyishnnxNeTHTxsiB/jxFqKIBZJtfX6lg8zGBI0pQzyAK+n9vFi6AQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=glasgow.ac.uk; dmarc=pass action=none header.from=glasgow.ac.uk; dkim=pass header.d=glasgow.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gla.onmicrosoft.com; s=selector2-gla-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fVH60nEgJ1/Ie64XmTV6Dm70e7ukuMCgDoKST9h44n0=; b=kyT+BffAad3hN/KY8waWVdf7fRM6zxN92poS0txBO3I34h7u2bQ8tIDs5KM7ivf4Wyq81+7MtEkEWsJgKej+XzLwqLUXOj0ZUVOGtVTRNEohCzclgSvXuNnZ0pkC6kpBH5GyON1xTEfI3yveNKkTWXKKpKE/qs1R3SDlUlyh2G4= Received: from CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:8::19) by CWXP265MB0584.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Tue, 26 May 2020 18:07:39 +0000 Received: from CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM ([fe80::40d7:744b:8734:b8dd]) by CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM ([fe80::40d7:744b:8734:b8dd%6]) with mapi id 15.20.3021.029; Tue, 26 May 2020 18:07:39 +0000 From: "Norman Gray" To: Greg Veldman CC: FreeBSD Questions Subject: Re: Documentation and debugging for NFSv4 Date: Tue, 26 May 2020 19:07:37 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: <6FE7F8A1-F296-4B85-A7C8-E360F8D559B6@glasgow.ac.uk> In-Reply-To: <20200526172613.GN1068@aurora.gregv.net> References: <20200526172613.GN1068@aurora.gregv.net> Content-Type: text/plain; format=flowed X-ClientProxiedBy: LO2P265CA0107.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::23) To CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [130.209.33.142] (81.2.70.164) by LO2P265CA0107.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Tue, 26 May 2020 18:07:39 +0000 X-Mailer: MailMate (1.13.1r5671) X-Originating-IP: [81.2.70.164] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0db802fe-2e68-4248-190c-08d8019fad68 X-MS-TrafficTypeDiagnostic: CWXP265MB0584: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 041517DFAB X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5nfzjg0KzpV5V64NwrWmIO+VCiZT9eTDdWq+5bTQvDwmnnUkAKaCbhAXzcBOd35L3jMA8VJuq6hy8J8HzANQBhlc65yxcqPOO51GvvAHIbyUoF+SFGqwd4irxPC1Z5kaD744i58dL5JEFziWB7r+CcC6Crwnf9dQ5CAw8XvHDxgn8Kicf3RxfOBr9oHbh1i+1QX8CG5Stw3A5Gj+TSdB3EHf6t/VcvUzk/qnAVlEQPCd/tuzoI8Mu0hKsFrFZeF3he1O/vFjXxODZfgBVCja8UPcjrhm33NhGlzr+ZHe7JyUG1n+YbjSJk4SN5PKMq3a7uaY6KrDjHUuvZT0GqvvSSdtXmcSEmMmcHjdqfP605hSUsAtfENb/BEO7JKR5vAahF6sKntxKN73yhuMBRYyAj6dTrYN/bRifEa6OELenyBQ8XWABqKE2m91seeTmdFpqTGEYGZRHnhDKiwpjS6Cfthr/fTs7isHakSOfcJVL5cVS/yyN3uGoNqbUloRMbNx X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFTY:; SFS:(39840400004)(396003)(366004)(136003)(376002)(346002)(186003)(16526019)(26005)(53546011)(66946007)(2906002)(52116002)(956004)(66476007)(66556008)(2616005)(478600001)(6916009)(16576012)(4326008)(6706004)(5660300002)(786003)(316002)(6486002)(33656002)(86362001)(36756003)(8936002)(966005)(8676002)(78286006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: X3N7GmbiLidlqFBWmeVkcA0zkCdvKx6LQj4KdctpyLyXGu8xhzN6n5k1GAJr9nRTqLueO7rEPm3jkrk7bXrLFYxyFTloZKyBF0MEMIObTus5iwmm210wBviceD5UCQLGpDwoE1VoalUuQ81Mk8NF/5GaKrAsTcJsIu5Bd5W7nuBS99oJe6t/sP5cHD9un8GyfU3N8e06M5ruuAYdFwLiJuakA5UmQGrO7iXezB/vJyDDEb5eisp5bJGSZ40TK2D+sQqHcVsNah+2GFUPFa7B3BpGiUX2EbypVXYjVlXl0vPIRvTkJn052IfeIhCExRgrM0tf4LYRdQbTGxkjJ5BRhYil3423RCVkcZbG2GMP2QRsjO2qajD4kSkicBSe5bgCY54EdUm/8cI0woI18FM11MwZBs6O3h1F8gXrHAhpYTW6zKiUB/MfYcSsgFpqOrD0nwYWJPol7OBdZSax26YvfpxanAbOOLqmwNnomAwLWVI= X-MS-Exchange-CrossTenant-Network-Message-Id: 0db802fe-2e68-4248-190c-08d8019fad68 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2020 18:07:39.5892 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6e725c29-763a-4f50-81f2-2e254f0133c8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: H7eiWvFiWIutuflL7jZBbOh6fn84gtiPOgwDqvInjiM4Ny8O9fuyE1bNmXlLP4X9q4tJpazZrlkpNLN5CxbHwIshaF2Yf+J3GsG61RfsDHU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP265MB0584 X-OriginatorOrg: glasgow.ac.uk X-Rspamd-Queue-Id: 49Whl3544Bz4dSK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gla.onmicrosoft.com header.s=selector2-gla-onmicrosoft-com header.b=kyT+BffA; dmarc=none; spf=none (mx1.freebsd.org: domain of Norman.Gray@glasgow.ac.uk has no SPF policy when checking 130.209.16.102) smtp.mailfrom=Norman.Gray@glasgow.ac.uk X-Spamd-Result: default: False [-4.66 / 15.00]; NEURAL_HAM_MEDIUM(-1.07)[-1.073]; R_DKIM_ALLOW(-0.20)[gla.onmicrosoft.com:s=selector2-gla-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[130.209.16.102:from]; NEURAL_HAM_LONG(-0.96)[-0.961]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[glasgow.ac.uk]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[130.209.16.102:from]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gla.onmicrosoft.com:+]; R_SPF_NA(0.00)[no SPF record]; NEURAL_HAM_SHORT(-0.63)[-0.630]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:786, ipnet:130.209.0.0/16, country:GB]; RCVD_COUNT_SEVEN(0.00)[7]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 18:07:44 -0000 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 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