Samba fileshares unreliable

Hello everyone,
I upgraded my OpenWrt to the current 22.x version and rest everything and started clean.
I installed the following packages

mdadm
blockd
mount-utils
kmod-md-raid0
kmod-md-raid1
kmod-fs-ext4
libext2fs2
ntfs-3g 
ntfs-3g-utils
kmod-fs-ntfs
dropbear
openssh-sftp-server
kmod-fs-exfat
sudo
kmod-usb-storage
kmod-usb-storage-extras
kmod-usb-storage-uas
luci-app-samba4
nano-full
luci-app-hd-idle

I am now finding that I can connect to my network shares from Windows (after creating a Samba user) but I cannot properly write or transfer files.

nano /etc/passwd
sambauser:x:1001:1001:smb user:/dev/null:/bin/false

nano /etc/group
sambauser:x:1001:sambauser

smbpasswd -a sambauser

I can see and read e.g. small text files. But when I want to transfer larger files, the transfer aborts.
Or when I try to use FreeFileSync, it throws an error because it cannot get a lock on its syncfile.

Does anybody know what might be going wrong?

Thank you
Alex

1 Like