From owner-freebsd-questions@freebsd.org Mon Jun 1 10:46:45 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 A135C331A31 for ; Mon, 1 Jun 2020 10:46:45 +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 49bBgS4qkGz4cm2 for ; Mon, 1 Jun 2020 10:46:44 +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 1jfhxq-0007mS-1q; Mon, 01 Jun 2020 11:46:42 +0100 Received: from cas07.campus.gla.ac.uk (130.209.14.164) by cas07.campus.gla.ac.uk (130.209.14.164) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 1 Jun 2020 11:46:39 +0100 Received: from GBR01-LO2-obe.outbound.protection.outlook.com (104.47.21.58) by cas07.campus.gla.ac.uk (130.209.14.164) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 1 Jun 2020 11:46:39 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ji+w5CtaWBJYpm4eRbxpOrA7JHQKbc0thC14BHZKgTZgOgrGf2fyK1pxsuvRUyiE7R4wNyc8NdYbiQnCTOMNcqvmkaIEqnLDrj1jAc5pPtxE7rt9F0IOyHbVgLH0DGXE+5fhskMS4tCNsagSpDWA0qUP/msggxk53MrmYkRwtrUC0MFn28L9s3jsDBKCCRl0EDmAdG11dfExs9BhHb5SCbqpQZdTjvOpEQddiSCyNeAaV49ItcRgGYKaolFJ5llROnRiXX1+7MU0EUTdEsj8t/MiwE1W6mZOIIPgxrjnnXOyUmYTrycfghC55jgtuZX89CGjF1Ybw7YUDNXojitSDQ== 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=6qv6YfqtTGVqR3jXVE5CgaIou+IFfyq50HseGd8S60I=; b=eFwkBFdF20WnAYpgiozdIA+BGuelDs/irXPp3wDncvFsyOwN+1SEaku0Ah82ZvQLQxKtuKKRxYiVi6Ph3CsTQAQnRT6aG4Di6/uOmPzfm9dtL9uR+HsM6rrthrVpXJbJwPIpkgyeteq4IuwiVPF68HeLkF8Lpwhs4pom3zfwzfTE0yi/33ugKKjS/iNZOS+gTO6tJ7ROM2Kin7kAwSSQxbbMVm02hO7o66mtbxNR+X04+CFIq9Wzx7ttn4LJINTA9qWwyYDdlDS+PG+ya6hgyDKuNDBtHFyJL2c3exJHo9D2BF/8EnmX7nhvlmhcvMXHidPbwVytPhc1EodShO2g0A== 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=6qv6YfqtTGVqR3jXVE5CgaIou+IFfyq50HseGd8S60I=; b=TSZ1Z5WwXiCSOipWi4juOqF4AQMbTWZAa+UNdseynVx+P8KMSFXj+jcPfCjT87qJqgBhIfMo8lQinbvz7+43/n8hnbTgR/dmcW0LIkb4snHrxZMl4FNGSay7PShqJytorFq5TWyYAPnoij6oLPb33pVdhYX6lz9e3JFPPdpUTlw= Received: from CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:8::19) by CWXP265MB1781.GBRP265.PROD.OUTLOOK.COM (2603:10a6:400:34::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Mon, 1 Jun 2020 10:46: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.3045.024; Mon, 1 Jun 2020 10:46:39 +0000 From: "Norman Gray" To: Thomas Mueller CC: Subject: Re: Documentation and debugging for NFSv4 Date: Mon, 01 Jun 2020 11:46:36 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: <44E6BA74-F5D7-4A18-96D3-09D4CD1C2BA9@glasgow.ac.uk> In-Reply-To: <070e490e389244058480297b6b83dd14@cas07.campus.gla.ac.uk> References: <20200522182635.GA4515@geeks.org> <070e490e389244058480297b6b83dd14@cas07.campus.gla.ac.uk> Content-Type: text/plain; format=flowed X-ClientProxiedBy: LNXP265CA0048.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::36) 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.154] (81.2.70.164) by LNXP265CA0048.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Mon, 1 Jun 2020 10:46:38 +0000 X-Mailer: MailMate (1.13.1r5671) X-Originating-IP: [81.2.70.164] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: efa47cb3-697f-47b8-160e-08d806191068 X-MS-TrafficTypeDiagnostic: CWXP265MB1781: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 0421BF7135 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RfsiTEfZ/IPRWwehtmBgssZoi+Cl2oVvVUunt0GG5RiySWUKGUqyysj56qufU0QUe4liq21kB9xZsS7mpK6rhLcBLzh2qi/SbWLTbNmW1DW+7d9P0agbYFQPf9ECr9PoIOi1WSUhwY63oPba6YBaLi07Fv3P1YDiYEh+lr3jyA0Syeb6i0v/GKOcv/7UuFZoAzIOsKfjaJ6+00QMlaYn0ja2/Sum2IqiNK+0vCf3qzX/R03lSZUib+ctQpQuQEnlm2a3iEtY4sArrQaw/dM3HGa9ln3uXu6FwZ4HUWm7NqnrAx9O19w2AtUEinIG/L21ZwS4/7K8Hme9pRAIvjw6NGZUJ8wU8/KuIH2L0i1zaWUbh5hpqiDUBu0lfCvYFsdANQxC2rjibsa8DuEHJjKMqarlKs6OhCn9I1S2NJTynS6Oirqq0mtMCTKfy4MjuUgikRy9CgXBC8SHitSURbE9A9v0lBKTgL8Y13S/ClEYeh5MJBGRLWUsbxMCNInJEsD0 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:(396003)(366004)(136003)(346002)(39860400002)(376002)(786003)(316002)(16576012)(6486002)(33656002)(2906002)(66556008)(66946007)(4326008)(26005)(956004)(478600001)(966005)(83380400001)(2616005)(8676002)(6706004)(53546011)(5660300002)(6916009)(86362001)(36756003)(4744005)(52116002)(66476007)(186003)(8936002)(16526019)(78286006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: S2oNyrSH0z2pcgfhvE1ToTQi4DUE9qSw9pMuCelJv7SQ74O3+RXPTPh4pNlc0r70gxYawBcFP0H3VmBEd3j8JTgGAr53LNWVoRheSqtgUj7ePyLg3cL4Ru8clU438wmLkBj6zWJjVVNFp2ofHADE7t984EQ1r628Koxxw4TF+CTnYaly1oDjIxhVjQlstR194PPBLfJvI3S5FClyl+YE3bMINYgbNRgAIGVaEyEmiok93s+xBhuMV7sIKoCR8O2wF2Jk9S78i3Zc+VRlRM5RQ7zVuTKCRNdUVS/lDzC3WseV3w/DNEJzc7rIqFJbIL3MC+EtyKoUdLZNqcxciS+v7tyhMq3RpZQPUhNHYk5cHmgwbKxQLgPC02apAyNZTaKAofiWUehDCQfZplJIsCQaKkdXDbJQPVmUOymnD8Hu6v7UFVIcfu/he+Za9nb2dU9Oo/bNl+b6SUu7yYszCE0Kwm6i/FFfggaO1Fnn/ZDEk28= X-MS-Exchange-CrossTenant-Network-Message-Id: efa47cb3-697f-47b8-160e-08d806191068 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2020 10:46:39.3300 (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: DxbTfrA+HwgBMs1RUrBsABiFGjOKuAaW5NZdOxnuet1I7gulnLfv437CIii0QD2kBAhrFXoS2pkCItept8rC7b36m9dLjwiVCh27mMmb0Kk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP265MB1781 X-OriginatorOrg: glasgow.ac.uk X-Rspamd-Queue-Id: 49bBgS4qkGz4cm2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gla.onmicrosoft.com header.s=selector2-gla-onmicrosoft-com header.b=TSZ1Z5Ww; 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.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.003]; R_DKIM_ALLOW(-0.20)[gla.onmicrosoft.com:s=selector2-gla-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[130.209.16.102:from]; NEURAL_HAM_LONG(-0.95)[-0.951]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[glasgow.ac.uk]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; NEURAL_HAM_SHORT(-1.03)[-1.033]; TO_MATCH_ENVRCPT_SOME(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]; FREEMAIL_TO(0.00)[twc.com]; 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: Mon, 01 Jun 2020 10:46:45 -0000 Thomas, hello. On 1 Jun 2020, at 8:31, Thomas Mueller wrote: > One question has bugged me, how to set up /etc/exports to be able to > export by either NFSv3 or NFSv4, without having to have two files and > copy to /etc/exports every time you want to use the other (NFSv3 or 4) > protocol. It should be that if you include V4: / in the /etc/exports, setting the NFS-root, then the same paths will be accessible via both v3 and v4. I recall this did work for me, though in my case I'm committing to NFSv4 only, so have set a NFS-root different from /. In the case of 'V4: /foo', then the directory /foo/bar will be accessible as that via NFSv3 and as /bar via NFSv4. Best wishes, Norman -- Norman Gray : http://www.astro.gla.ac.uk/users/norman/it/ Research IT Coordinator SUPA School of Physics and Astronomy, University of Glasgow, UK Charity number SC004401