From owner-freebsd-net@freebsd.org Mon Dec 5 23:10:26 2016 Return-Path: Delivered-To: freebsd-net@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 77E02C68785 for ; Mon, 5 Dec 2016 23:10:26 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0093.outbound.protection.outlook.com [157.56.110.93]) (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 2384512B8 for ; Mon, 5 Dec 2016 23:10:25 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM (10.165.218.133) by YTXPR01MB0192.CANPRD01.PROD.OUTLOOK.COM (10.165.218.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Mon, 5 Dec 2016 22:54:19 +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.016; Mon, 5 Dec 2016 22:54:19 +0000 From: Rick Macklem To: Jordan Ladora , "freebsd-net@freebsd.org" Subject: Re: File duplication on NFSv4 exported ZFS filesystems to centos client Thread-Topic: File duplication on NFSv4 exported ZFS filesystems to centos client Thread-Index: AQHSTNGLvid/pn4fzkGYDop7p0LBoKD1MwKFgAMEAACAAcK/Qg== Date: Mon, 5 Dec 2016 22:54:19 +0000 Message-ID: References: , In-Reply-To: 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: b4756085-bc0f-417e-cf3a-08d41d61a5c8 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0192; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0192; 7:Rqh3xLCwsFh5xep/POb3YxOgz+RsRm1rJ+SHolEDBhCjvNaCUcXfc1aEmG4jtj72E1cGc4rhraUNUtToo9RsRPcIUXXmr1VOIhkOMuP4yHOizrC4F0MFK+eJ0Y8D2Ca6c2ljsrL1PyD+hOQUCFpxibBMeizfhlO45E+o3knPFwMaGLU9DV3XtnChKMDkyxo4z8UYw1HtjckStV1wDgEkcZHVilNhSIsctHF3mN2lao8dfnZ53beVmJmXixeL5I9R4MyUxef5FT2wbReYCG7GZAGvuqJrxTG9ZXLv8/EQ+r9X99K199VQpkrN24NznQZSnG/JrRh/P8FgJQKVYxvOHlaoOIeSw12PBvdOp7DLOGrkyMk2qP3uiVjWJEvI6vJYU9shvgu+fM3rIAcuibqIfYgA70Mo0r4D547D4XPbt2kIRS7iDbe/VQPh23oIgMTNihbkxTxDPLIym805z6pfjw== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148); SRVR:YTXPR01MB0192; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0192; x-forefront-prvs: 0147E151B5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(189002)(24454002)(122556002)(74482002)(6506006)(38730400001)(39060400001)(33656002)(3280700002)(2906002)(5001770100001)(86362001)(97736004)(229853002)(107886002)(74316002)(2900100001)(5890100001)(3660700001)(77096006)(2501003)(39450400002)(105586002)(106116001)(189998001)(106356001)(102836003)(7846002)(50986999)(9686002)(54356999)(76176999)(8936002)(8676002)(81156014)(81166006)(92566002)(68736007)(7696004)(305945005)(101416001)(5660300001)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:YTXPR01MB0192; H:YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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: 05 Dec 2016 22:54:19.4114 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YTXPR01MB0192 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 23:10:26 -0000 Jordan Ladora wrote: >Ahh!! Thank you! > >Previously, I tried exporting just the top-level zfs, but then couldn't >access the zfs filesystems inside from the client, but listing *all* of >them in /etc/exports and only mounting the top-level zfs works perfectly. > >Just wondering, by the way, if you knew why 'echo' doesn't work on NFS shares? How does it "not work?". I did a trivial test with the FreeBSD client and i= t seemed to work. If you run a test of "echo" while running the following on the FreeBSD serv= er and then email me the out.pcap file as an attachment, I can take a look at it. # tcpdump -s 0 -w out.pcap host rick