From owner-freebsd-fs@freebsd.org Sun Jan 8 20:42:10 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 6CB8DCA587B for ; Sun, 8 Jan 2017 20:42:10 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48A1B1CD6; Sun, 8 Jan 2017 20:42:10 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gLu204rCCo3EYjzmmxuA77evL+us86vyCHh04qz3iPc=; b=Noxilnuhowgj2D8VKlf+Q0F1E7 NkiNyJYaZ6V41nNYwNDcj/ICDoMRIwQi+uodcnNNlt167+G+jJ/GK4kwqv3t+GBI41ionVGlhw8hJ 0V+zrGbdM54mo4KqCfQj4idBovEVm9RYMYfdQoRXubqz2mnOHjqtr40gg/EWIXcT20nw=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:20199 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87_1 (FreeBSD)) (envelope-from ) id 1cQKI5-0003rP-9U; Sun, 08 Jan 2017 14:42:09 -0600 Received: from 2001:470:1f0f:42c:6d1d:a817:4442:35b by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sun, 08 Jan 2017 14:42:09 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 08 Jan 2017 14:42:09 -0600 From: Larry Rosenman To: Rick Macklem Cc: Ben RUBSON , Freebsd fs , Rick Macklem Subject: Re: NFS mounted ZFS (From FreeNAS 9.10): Invalid Arg on rsync In-Reply-To: References: <6ba7eb62ebbb5174bc93397cba2f1195@lerctr.org> <637634D0-B813-41B1-BC12-456236E3C207@gmail.com> <3181bf2f8627e6ba8f1dcb605a341674@lerctr.org> , <4d9f90734ab13535924ecf9283f3a46d@lerctr.org> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.2.3 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 20:42:10 -0000 On 2017-01-08 14:39, Rick Macklem wrote: > 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=0 > > I have no idea if these bytes are valid UTF-8 or not, but the sysctl > is worth a try. > >> Rick? Yep, it's me... > [stuff snipped] ler@freenas.lerctr.org's password: Last login: Sun Jan 8 09:40:47 2017 from 192.168.200.4 FreeBSD 10.3-STABLE (FreeNAS.amd64) #0 r295946+47645f1(9.10.2-STABLE): Mon Dec 19 08:30:01 UTC 2016 FreeNAS (c) 2009-2016, The FreeNAS Development Team All rights reserved. FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org Welcome to FreeNAS $ sudo sysctl vfs.nfsd.enable_checkutf8=0 Password: sysctl: unknown oid 'vfs.nfsd.enable_checkutf8' $ :( Ok, I'll just live with the noise. I back this stuff up with Bacula as well. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281