2 partition (ext4 and ntfs) mounted on server side as dir1 dir2, which are all symlinked together and access-able with in 1 samba share i tried in windows 8.1 moving file from dir1 to dir2, after some seconds waiting for the progress ping/pong back and forth windows says failed, and when i look at samba side, smbd is eating CPU resource, so i strace -p pid of the busy process i get sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) sendfile(30, 33, [59188192], 56352) = -1 EAGAIN (Resource temporarily unavailable) lsof shows smbd 19167 downloader 30u inet 125533 0t0 TCP 192.168.1.2:microsoft-ds->192.168.1.3:5693 (ESTABLISHED) smbd 19167 downloader 31r DIR 8,19 4096 10586 /mnt/downloads/Video/\xe6\x95\x99\xe8\x82\xb2\xe7\x89\x87/C++/CppCon smbd 19167 downloader 32r DIR 8,19 8192 5 /mnt/downloads smbd 19167 downloader 33u REG 8,4 715106305 9964897 /mnt/data/downloader/Incoming/HalpernOverviewofParallel_high.mp4 smbd 19167 downloader 34u REG 8,19 715106305 6068 /mnt/downloads/Video/\xe6\x95\x99\xe8\x82\xb2\xe7\x89\x87/C++/CppCon/HalpernOverviewofParallel_high.mp4 the move (cut & paste) is done using explorer. this doesn't happen when copying (copy & paste)
What happens if you set "use sendfile = no"?
with "use sendfile = no" the copy is done and file is same, but explorer still says error Error: 0x8007003B: An unexpected network error occurred.
Can you get a debug level 10 log + wireshark capture trace and post here please ?
the file is as big as 1~2GB, so i don't think i can attach wireshark dump file i any way. but i can't reproduce the bug for now, maybe because i did a clean rebuild of samba
still happens, don't close this bug yet. this time with samba 4.0.21 (build in openwrt tobiaswaldvogel), trying to get a level 10 log
no feedback, closing this bug.