From owner-freebsd-current@freebsd.org Mon Mar 20 21:53:38 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0058D1320E for ; Mon, 20 Mar 2017 21:53:38 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660053.outbound.protection.outlook.com [40.107.66.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 613881823; Mon, 20 Mar 2017 21:53:37 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Mon, 20 Mar 2017 21:53:35 +0000 Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) by YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM ([10.165.218.133]) with mapi id 15.01.0977.019; Mon, 20 Mar 2017 21:53:35 +0000 From: Rick Macklem To: Baptiste Daroussin , Toomas Soome CC: FreeBSD Current Subject: Re: NFSv2 boot & OLD_NFSV2 Thread-Topic: NFSv2 boot & OLD_NFSV2 Thread-Index: AQHSoabzN3fGlEoBW0OV/vmFdatswaGeGqEAgAAonNo= Date: Mon, 20 Mar 2017 21:53:35 +0000 Message-ID: References: <38DD1950-AD12-4A27-8335-54F997E408DF@me.com>, <20170320192000.6hal22ibnr3ajog3@ivaldir.net> In-Reply-To: <20170320192000.6hal22ibnr3ajog3@ivaldir.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0189; 7:/9+1AewgYnDxi4ypyKW8SPcTZaISG+5jDWk2Wp9JV+QI7lasxusWggsVaCjUgTtB2GtCjlshuaqaLLRP8TapzayBrMvmFiP50lMxO5eF/UnBx2sNKzEGBcmVxB4u3UeS7LrsmAlaaJvRnWtOsQ9dpzSFGfu9E9oyPMMejzHvydUiUzoGXl1hF8UiHWQ32aKdM9EAYeUyzKrIXz6RuW+O4PypltryaENni2/W+Goj9aExzasPWbywhb3Oqel7bWjeI+PyxvacHSmDTLgwQqSFRERsfWFuT+OFCUWc/PbhROfLt45+FkskpTfTZ6dUMPUuyFJhTP4k5PwLr2pMFiIsfA== x-ms-office365-filtering-correlation-id: b62b4c6f-3544-4f17-766b-08d46fdb8f47 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075); SRVR:YTXPR01MB0189; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(20161123558025)(6072148); SRVR:YTXPR01MB0189; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0189; x-forefront-prvs: 02524402D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(24454002)(106356001)(5660300001)(38730400002)(39060400002)(8656002)(77096006)(6436002)(6246003)(53936002)(4326008)(9686003)(6506006)(2906002)(55016002)(86362001)(74316002)(3660700001)(102836003)(3280700002)(305945005)(74482002)(189998001)(2950100002)(7696004)(2900100001)(229853002)(50986999)(54356999)(76176999)(122556002)(33656002)(81166006)(8676002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0189; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2017 21:53:35.7137 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0189 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2017 21:53:38 -0000 Baptiste Daroussin wrote: > On Mon, Mar 20, 2017 at 08:22:12PM +0200, Toomas Soome wrote: > > Hi! > > > > The current boot code is building NFSv3, with preprocessor conditional = OLD_NFSV2. Should NFSv2 code still be kept around or can we burn it? > > > > rgds, > > toomas > > I vote burn > > Bapt I would be happy to see NFSv2 go away. However, depending on how people con= figure their diskless root fs, they do end up using NFSv2 for their root fs. Does booting over NFSv3 affect this? I think the answer is no for a FreeBSD server (since the NFSv2 File Handle = is the same as the NFSv3 one, except padded with 0 bytes to 32bytes long). However, there might be non-FreeBSD NFS servers where the NFSv2 file handle= is different than the NFSv3 one and for that case, the user would need NFSv2 boot code (= or reconfigure their root fs to use NFSv3). To be honest, I suspect few realize that they are using NFSv2 for their roo= t fs. (They'd see it in a packet trace or via "nfsstat -m", but otherwise they pr= obably think they are using NFSv3 for their root fs.) rick=