That could be it. I'm running MacOS and get the same speeds as csmanul.Maybe it's your client that's having an effect. It looks like you're using macOS? whereas I'm using Windows. Can you test from another client device?
That could be it. I'm running MacOS and get the same speeds as csmanul.Maybe it's your client that's having an effect. It looks like you're using macOS? whereas I'm using Windows. Can you test from another client device?
This is where a DIY solution takes care of all your needs. I got sick of having ~6 devices and rolled them all into a single server including the Roter / WIFI / NAS and some others. A router isn't a NAS because it has a USB port on the side of it. It's not designed or meant to be anything more than a router / wifi solution. It's under powered and susceptible to corrupting your data when used as such. There's been plenty of horror stories about this here and other boards. It's just asking for trouble in the long run.no i do not see any advantage in having 2 always on devices nas + router
[global]
netbios name = Entware-SMB4
interfaces = lo br0
server string = Samba on Entware
workgroup = WORKGROUP
guest account = nobody
security = user
map to guest = Bad User
guest ok = yes
#guest only = no
timestamp logs = no
preserve case = yes
short preserve case = yes
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
log level = 0
syslog = 0
passdb backend = smbpasswd
smb encrypt = disabled
smb passwd file = /opt/etc/samba/smbpasswd
printcap name = /opt/etc/printcap
[rack1tb]
comment = Realtek RTL9210B-CG's rack1tb
veto files = /.__*.txt*/asusware*/asus_lighttpdpasswd/
path = /tmp/mnt/rack1tb
writeable = yes
dos filetimes = yes
fake directory create times = yes
i like to think that a m1 mini with a wired connection to the router (cat6 cable) can do better than 50MB/s when copying files from samba, but i will follow on this suggestion and try on another machine and os.That could be it. I'm running MacOS and get the same speeds as csmanul.
Based on the speed at which you tried, it must have been fairly quick and painless.i disabled merlin fw samba then installed and configured samba v4.14.7 i just added my drive to the standard config result .... 45MB/s
with this samba version the negotiated protocol is now SMB_3.1.1
below my config file i used
Code:[global] netbios name = Entware-SMB4 interfaces = lo br0 server string = Samba on Entware workgroup = WORKGROUP guest account = nobody security = user map to guest = Bad User guest ok = yes #guest only = no timestamp logs = no preserve case = yes short preserve case = yes socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 log level = 0 syslog = 0 passdb backend = smbpasswd smb encrypt = disabled smb passwd file = /opt/etc/samba/smbpasswd printcap name = /opt/etc/printcap [rack1tb] comment = Realtek RTL9210B-CG's rack1tb veto files = /.__*.txt*/asusware*/asus_lighttpdpasswd/ path = /tmp/mnt/rack1tb writeable = yes dos filetimes = yes fake directory create times = yes
i got luckyBased on the speed at which you tried, it must have been fairly quick and painless.
smb.postconf
script and paste the content below:#!/bin/sh
CONFIG=$1
sed -i "/deadtime/d;/strict locking/d;/socket options/d" "$CONFIG"
sed -i "/global/a\socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE" "$CONFIG"
sed -i "/global/a\strict locking = no" "$CONFIG"
sed -i "/global/a\deadtime = 10" "$CONFIG"
All these options and others have been discussed at length for years. None of them make any significant difference.Try to create asmb.postconf
script and paste the content below:
/jffs/scripts/smb.postconf
Code:#!/bin/sh CONFIG=$1 sed -i "/deadtime/d;/strict locking/d;/socket options/d" "$CONFIG" sed -i "/global/a\socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE" "$CONFIG" sed -i "/global/a\strict locking = no" "$CONFIG" sed -i "/global/a\deadtime = 10" "$CONFIG"
Now unmount the USB drive and reboot the router.
If it works please let me know
Reference
beefy router like ax86u
thank you for your suggestion, unfortunately it does not increase the read or write throughput.Try to create asmb.postconf
script and paste the content below:
/jffs/scripts/smb.postconf
Code:#!/bin/sh CONFIG=$1 sed -i "/deadtime/d;/strict locking/d;/socket options/d" "$CONFIG" sed -i "/global/a\socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE" "$CONFIG" sed -i "/global/a\strict locking = no" "$CONFIG" sed -i "/global/a\deadtime = 10" "$CONFIG"
Now unmount the USB drive and reboot the router.
If it works please let me know
Reference
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!