Strange error and behaviour with sysutils/fusefs-smbnetfs
Stefan Lambrev
cheffo at freebsd-bg.org
Mon Oct 8 12:22:17 UTC 2018
Hi,
On recently updated freebsd 11 machine with samba47
and fusefs-smbnetfs-0.6.1_1 creating files on smb mount is impossible.
When I try to create file on the mount receive the following error:
cp /var/log/smbnet.log .
cp: ./smbnet.log: Input/output error
The error message which I receive in debug mode is:
2018-10-08 14:49:42.220 srv(24576)->smb_conn_srv_listen: process query=13,
query_len=8
2018-10-08 14:49:42.221 srv(24576)->smb_conn_srv_fstat: errno=22, Invalid
argument
After this error the file is created with zero size e.g. empty. I can read
and delete the file.
I found this bug report in ubuntu -
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892841
and this patch -
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=892841;filename=0001-fix-opening-a-file-with-O_CREAT-and-reading-created-.patch;msg=10
But unfortunately this workaround leads to another error (e.g. call not
implemented).
A month ago everything worked fine, so I'm suspecting changing default
samba from 46 to 47 (https://reviews.freebsd.org/D16904) as the reason for
this.
More information about the freebsd-ports
mailing list