Date: Mon, 8 Oct 2018 15:22:15 +0300 From: Stefan Lambrev <cheffo@freebsd-bg.org> To: FreeBSD <freebsd-ports@freebsd.org>, mi@aldan.algebra.com Subject: Strange error and behaviour with sysutils/fusefs-smbnetfs Message-ID: <CAHtsMQ2jy_vK995U9xPEK-HEBR5shGfJmj-vg9f-0w5iMiug7Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtsMQ2jy_vK995U9xPEK-HEBR5shGfJmj-vg9f-0w5iMiug7Q>