I recently built a new server and decided to go with Scale. My old server is running the most recent version of Core. I’m having an issue getting Rsync to work from Core to Scale. I’ve used Rsync in the past many time but always Core to Core.
I’ve tried many things mostly related to users and permissions but can’t seem to get things working. One thing to note is that my old (core) build probably did not use users and permissions correctly and was running most things under root. I’m trying to do things the right way this time around, but running into this issue. Any help would be apreciated. i’ve tried running this under a user I’ve defined but also tried under root. I’ve provided the log below but can’t get much out of it other than it doesn’t work.
rsync: [sender] failed to connect to [remote IP address] ([remote IP address]): Connection refused (61)
rsync error: error in socket IO (code 10) at clientserver.c(139) [sender=3.2.7]
Please explain in detail your whole process along with the TrueNAS versions.
Core could be TrueNAS-13.0-U6.2 or the 13 Beta verison and just wanting to verify you are talking TrueNAS-SCALE-24.04.2.
The rest is so others know what you have tried or, maybe, not tried.
I have just performed this on my system. BEFORE you copy anything over, make a SMB dataset or NFS, whichever you prefer. Let the system create the username and set permissions. Only after letting that system create your dataset begin to copy over. You will find many issues with creating directories and using your system properly if each section of shares is not in its own proper container before you begin moving the data. Save yourself some time and read some guidelines for best practices. There are many warnings and precautions built into SCALE that will not let you thow things incorrectly into it.
Final update to not leave this thread hanging. I was never able to get the RSync modules to work, but I was able to get the SSH “SSH Connection from the Keychain” to work. Once the system created the connection automatically using the remote server’s account, all worked as expected. I’m now having issues with shares showing and allowing access when the user shouldn’t get access but that’s another issue that I will create a new thread if I can’t figure it out by myself. Thanks!
In changing my boot drive on my bare metal truenas scale, I created a total mess of things and i deleted everything truenas pools and all.
I reinstalled from scratch truenas scale on a much larger ssd built the pool and datasets as usual and i replicated the settings from my main nas.
Both servers have the same version of truenas scale, the same pool and dataset names and permissions
I installed rsync on both and configured it identically to each other.
All my datasets on both servers have acl with me as uid and root as gid with full control.
I tried to build a rsync task by using the module and root ( or as me) as a user and /mnt/media as my path and read write privileges or when i configure the task by using ssh newly generated key
When i run the task I get:
[EFAULT] rsync command returned 255
I truly believe i cover all the steps and bases, yet i cannot seem to figure out what i messed up