Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2017 16:07:16 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Ben RUBSON <ben.rubson@gmail.com>, Freebsd fs <freebsd-fs@freebsd.org>, Rick Macklem <rmacklem@freebsd.org>
Subject:   Re: NFS mounted ZFS (From FreeNAS 9.10): Invalid Arg on rsync
Message-ID:  <9965a181994067de30d9c59b97320033@lerctr.org>
In-Reply-To: <0331b4c532d4bc2a49c602062a2e3b17@lerctr.org>
References:  <6ba7eb62ebbb5174bc93397cba2f1195@lerctr.org> <637634D0-B813-41B1-BC12-456236E3C207@gmail.com> <3181bf2f8627e6ba8f1dcb605a341674@lerctr.org> <a2245ae80ec28396672293440f6bb705@lerctr.org> <EB8A96B4-CED4-48CD-BB5B-1EBE0E1C1072@gmail.com>, <4d9f90734ab13535924ecf9283f3a46d@lerctr.org> <YTXPR01MB01893055F0CBC2175632F1E0DD650@YTXPR01MB0189.CANPRD01.PROD.OUTLOOK.COM> <fca1b327c69fdbc431365e0c316761eb@lerctr.org> <0331b4c532d4bc2a49c602062a2e3b17@lerctr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-01-08 15:42, Larry Rosenman wrote:
> On 2017-01-08 14:42, Larry Rosenman wrote:
>> 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.
> 
> vfs.nfsd.disable_checkutf8
> 
> this IS on FreeNAS, so I set it.  Does it have the same effect?

and setting it to one, allows the sync:
ler/MT/update/update_110/css/fontAwesome/Font Awesome 
Icons_files/underscore-min.js.sta\#247en\#354 soubor

Thanks for pointing me there.

-- 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9965a181994067de30d9c59b97320033>