From owner-freebsd-fs@freebsd.org Sun Dec 11 23:55:46 2016 Return-Path: Delivered-To: freebsd-fs@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 0920FC72356 for ; Sun, 11 Dec 2016 23:55:46 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0070.outbound.protection.outlook.com [207.46.100.70]) (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 B928F1909 for ; Sun, 11 Dec 2016 23:55:45 +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.761.9; Sun, 11 Dec 2016 19:23:51 +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.0761.021; Sun, 11 Dec 2016 19:23:51 +0000 From: Rick Macklem To: "freebsd-fs@freebsd.org" CC: "jmader2@gmu.edu" Subject: what should mountd do for NFSv4 only servers? Thread-Topic: what should mountd do for NFSv4 only servers? Thread-Index: AQHSU+NLjj1rWizCIka+uFyjSBl5Xw== Date: Sun, 11 Dec 2016 19:23:51 +0000 Message-ID: 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-ms-office365-filtering-correlation-id: 29d3986a-7201-4c74-3127-08d421fb3d66 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0189; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0189; 7:BuNcqTKF0ZP+TAK/ir4pzQHlgjKNtPjCYx6DXyLm5HRDdjCcYDtLUDaTIPnRCfXM2NS4x7mpXYduwO47Ms+tdHL4sLL86vBP3nUge5QdmeQAu10Ec9lGm2c+Bu2DPenLJdEo13qyBlYI3o5JHx3HpUVuCXTDd3A2z8EEabmJ5LNZecwWMHLnuYx7wNWNN/aiB7xrTZv0tYMGHmVBTRV6ZtLIZkVUAom+A+u7irNSmgADXzXiNMIKxlxAmVst2uc2HviEL7QDp98TS4SwR9C929uE38EOcEjZJ7x5DheyeKttmjHZxdc5AYOF40Q86bSjuXjdh7UXMH/wkcd8245uY9LuRFJI3i3DPSiHsX7pLnasvospGWuuDlmOnZLSfu/j1mD8itKPrY4VtjfFodhuF7uPjJTQQT9KsB3DPmMzUI7LQqs4KDV422XR0H1+yoE6iZ27f50nc3PnGYRGkUU7kg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(265634631926514); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(6072148); SRVR:YTXPR01MB0189; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0189; x-forefront-prvs: 0153A8321A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(189002)(199003)(102836003)(5640700002)(6506006)(2906002)(4326007)(3280700002)(86362001)(9686002)(8936002)(92566002)(6436002)(97736004)(77096006)(5660300001)(122556002)(3660700001)(38730400001)(2900100001)(7696004)(110136003)(189998001)(54356999)(50986999)(2501003)(81166006)(81156014)(8676002)(33656002)(105586002)(74316002)(106356001)(106116001)(305945005)(6916009)(74482002)(101416001)(2351001)(8666005)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0189; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; 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: 11 Dec 2016 19:23:51.4345 (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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2016 23:55:46 -0000 I recall an email discussion with Jason Mader w.r.t. what the behaviour of mountd(8) should be when an NFSv4 only server is being run. (I seem to have misplaced the email, so if I recall incorrectly, I apologiz= e and hope that Jason will correct me.;-) mountd(8) serves the Mount protocol, which is related to NFSv2 and NFSv3, b= ut has nothing to do with NFSv4. - At first glance, that would suggest that mountd(8) shouldn't serve Mount = protocol RPCs at all for a NFSv4 only server. However, this would imply that "showmount -e" would not work. I recall that Jason felt that "showmount -e" is useful, at least when run= locally on the server. As such, how does having mountd(8) service Mount protocol requests only fro= m localhost (127.0.0.1 and ::1) and only handle the Export RPC, when the NFS server is = configured as NFSv4 only via vfs.nfsd.server_min_nfsvers =3D=3D 4? Any comments, concerns or other ideas please, rick