From owner-freebsd-fs@freebsd.org Sun Jan 8 22:13:53 2017 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 0AD39CA6D7A for ; Sun, 8 Jan 2017 22:13:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0055.outbound.protection.outlook.com [104.47.42.55]) (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 A9BE01202; Sun, 8 Jan 2017 22:13:51 +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.817.10; Sun, 8 Jan 2017 20:39:32 +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.0817.015; Sun, 8 Jan 2017 20:39:32 +0000 From: Rick Macklem To: Larry Rosenman , Ben RUBSON CC: Freebsd fs , Rick Macklem Subject: Re: NFS mounted ZFS (From FreeNAS 9.10): Invalid Arg on rsync Thread-Topic: NFS mounted ZFS (From FreeNAS 9.10): Invalid Arg on rsync Thread-Index: AQHSacW8QyjiQyKZdkeuE7n1dBwVOKEuvc4AgAAIrgCAACBkAIAAB52AgAAY84CAAABTzA== Date: Sun, 8 Jan 2017 20:39:31 +0000 Message-ID: References: <6ba7eb62ebbb5174bc93397cba2f1195@lerctr.org> <637634D0-B813-41B1-BC12-456236E3C207@gmail.com> <3181bf2f8627e6ba8f1dcb605a341674@lerctr.org> , <4d9f90734ab13535924ecf9283f3a46d@lerctr.org> In-Reply-To: <4d9f90734ab13535924ecf9283f3a46d@lerctr.org> 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: faf9c75a-bc11-43d7-577b-08d438067341 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:YTXPR01MB0192; x-microsoft-exchange-diagnostics: 1; YTXPR01MB0192; 7:y+U5hVEPUmQNrkFq2E6Bsvetmg8xJ1zBSO/cwXv+xbzWVVGAsggIDGNvsrkyB9TnVZHPpJpz+CSGY2OI9xQpb1nTawMa22rFB/E07eKbfpAxBjodXAeFfM9Vw6JEZ4Pe1ffeort4pP6xKUjVsi8tEaKW4Jk32m43roQJ4WHcxyuUp/3uQSyDc53M9+i5mIlh9h0lnyw54N1RR67xFkFGx/dLMU9zLYFDrNUbyaKgwarRDqKchat4boNhVRRoRnqXxpCFbCujgw2kfV39VfhfVa+9v8OyxO3T5Lzk4gAmbxFeEX23/EUsx5zwpTj+0uc7RhKLW6QdlUNXki1UOlHdULAwqCVb23cBBLpVJv/Np8FsDESn6K4X9rGmwAK9QMrgCBxeaKMP6hpeTAszX1gf8juAzbYIG+RlUMU9OTcN4Q/3jfkC0O5UVcN/sHB41Eb9PDO/4p6UWpNtCBSv4HXhrQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:YTXPR01MB0192; BCL:0; PCL:0; RULEID:; SRVR:YTXPR01MB0192; x-forefront-prvs: 0181F4652A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(7916002)(39450400003)(199003)(24454002)(189002)(97736004)(5001770100001)(189998001)(3660700001)(3280700002)(33656002)(68736007)(122556002)(2906002)(74482002)(4326007)(5660300001)(86362001)(7696004)(106356001)(38730400001)(93886004)(39060400001)(106116001)(105586002)(102836003)(8936002)(92566002)(2900100001)(76176999)(54356999)(77096006)(50986999)(81166006)(6506006)(2950100002)(6436002)(74316002)(305945005)(229853002)(101416001)(8676002)(81156014)(54906002)(9686003)(55016002)(969003)(989001)(999001)(1009001)(1019001); 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: 08 Jan 2017 20:39:31.9522 (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-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, 08 Jan 2017 22:13:53 -0000 Larry Rosenman wrote: > that's my assumption as well. > If I touch it with that exact string (including the #'s) it works, > HOWEVER, I suspect when rsync > copies it uses the real Unicode/UTF-8 bytes. > > And, I suspect NFSv4.1 has an issue. The original NFSv4 RFC #3530 required that all names be UTF-8 compliant and that the server return an error for any filenames with non-UTF-8 compliant = chars. (I think more recent RFCs have become less stringent w.r.t. this, but I'm not sure.) The FreeBSD NFSv4 server has a sysctl that loosens this restriction. I don'= t know if it is FreeNAS or not? # sysctl vfs.nfsd.enable_checkutf8=3D0 I have no idea if these bytes are valid UTF-8 or not, but the sysctl is wor= th a try. > Rick? Yep, it's me... [stuff snipped]