It seems that I am unable to copy directly from my PC to my Samba drives- It seems the data first goes through the internet and not the local LAN. I have a 1000Mb/s router but data gets copied at 10MB’s
When I disconnect the outside network I lose access to my shared drives.
Please assist as this is the first time I have ever worked with a NAS Server. I have my PLEX everything running but now the moving of the data takes forever (I am using LAN cables at present not my WIFI)
@Derek, welcome to the Rockstor community.
Can you show how you connect to the Samba shares on Rockstor?
Meaning, are you using the IP address from Rockstor to connect to them? Something along the lines of:
\\xxx.xx.xx.xx\Rockstor_Samba_Share_Name (if you’re using a windows PC to do so).
hi there
thank you so much for the quick reply
\ \192.168.0.25\MultiMedia
As soon as I cut my connection to the internet the access is gone. As if I am working outside the LAN
that is indeed very strange. i assume you don’t have issues like that with any other devices in your network like this (e.g. PC to PC connections)?
Are you using your Internet providers router for obtaining IP addresses, or do you have your own router set up behind the modem?
I do suspect, it has something to do with your network setup, but if this is not an issue for any other connections that you run, then I am a little surprised why Rockstor only seems to be affected by it.
I have now just tested a shared folder between my 2 windows PC’s. Copies 20MB’s no problem. still slightly slow but not the 10MB’s of Rockstor Server. (Both PC’s were on Wifi)
I still don’t understand why that seems necessary (I have not run into this problem), but you could try this comment on the other thread you posted in:
And see whether that both improves your speed and also makes you “independent” of the WAN connection …
Otherwise, you can try to dig into the logs and see whether you see other error messages (you can also check in that other thread for more details on what they had observed).
And finally, just to be sure, when you have a connection to the Rockstor server open on your windows PC, can you open a PowerShell in Administrator mode and run the command Get-SmbConnection. I am curious in what you find in the “dialect” column (which represents the Samba version/level it’s connecting). In Windows 11 it should be something like 3.1.1
@Derek rarely a dumb question
When you go to the command line on the Rockstor instance (now, I am assuming you know how to do that, let me know if I’m mistaken), you can open the hostfile using nano /etc/hosts
Like under windows you can now map an IP address to a host name, so the system knows not to try to do a hostname lookup.
There should already be a line in that file that states:
127.0.0.1 localhost
You can add a line now that represents the host name for your Rockstor Server. For example, your Rockstor hostname (that you created during the installation) is rockleaper then the entry in your case would be something like:
192.168.0.25 rockleaper
then use key combination +o to save the file again. To quit the nano editor, just use +x
I hope, you used your Rockstor Server name instead of rockleaper in the file. Otherwise, this can cause other issues. You can still access the shares the same way you did before. The intent was to see whether possible attempts at server name resolution via the internet connection can be avoided (which could cause some of the slowness).
And the powershell command shows it’s using the 3.1.1. version of Samba, so that at least is good.
Since I don’t run into this problem at all, I am not sure on how to proceed here.
Only other thing to look for direct Samba problems would be to check out the smbd and nmbd logs for errors that might explain what’s going on.
You can find those under the System menu → Logs Manager
Might be easier to read when you download the displayed 200 rows and check for error and/or timeout messages … most of them will likely just be informational on connections, transfers, etc. but you can also isolate what’s happening when, since they do contain some date/time stamps: