NFS mounted ZFS (From FreeNAS 9.10): Invalid Arg on rsync

Rick Macklem rmacklem at uoguelph.ca
Sun Jan 8 22:13:53 UTC 2017


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]


More information about the freebsd-fs mailing list