服务端: 树莓派3+CentOS7+NTFS格式移动硬盘+Samba-4.7.1-6.el7.armv7hl
客户端: Win10专业版
smb.conf:
[global]
workgroup = WORKGROUP
security = user
map to guest = Bad User
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=1024 SO_SNDBUF=1024 IPTOS_LOWDELAY
getwd cache = yes
read raw = yes
write raw = yes
min protocol = SMB3
log level = 4
server string = Samba in RaspBerryPi3
netbios name = RaspBerrySamba
passdb backend = tdbsam
log file = /var/log/samba/log.%m
max log size = 100
printing = cups
printcap name = cups
load printers = yes
cups options = raw
wins support = yes
[Share]
comment = Share Directory
path = /mnt/HDD
public = yes
writeable = yes
browseable = yes
从抓包来看, 如果没有发生丢包的话是能正常传输的, 但是在丢包之后, 服务端未进行重传, 在多次TCP DUP ACK之后, 链接转为Keep-Alive