Rsync failed after 4 hours and keeps instant failing afterwards

I tried to start Rsync and at first it ran for about 4 hours then it gave an error (likely the one listed below) after I tried to restart it and it gives me the error listed below

Truenas version: Scale Dragonfish-24.04.2.2
CPU: Ryzen 5 4500
RAM: 16GB 28GB
Storage:
128GB Intenso SSD Sata m.2 boot drive
128GB 2.5” Patriot Spark (for extra applications
2
3TB seagate Ironwolf ST3000VN006-3CW1
Motherboard: ASRock A520M-HDV
NIC: I do not know but it’s plugged into the motherboard

Anyone know what’s going on?

Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 469, in run
    await self.future
  File "/usr/lib/python3/dist-packages/middlewared/job.py", line 513, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *args)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1324, in run_in_thread
    return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1321, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 191, in nf
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 53, in nf
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/rsync.py", line 685, in run
    raise CallError(msg)
middlewared.service_exception.CallError: [EFAULT] rsync command returned 23 - PARTIAL. Check logs for further information.

Hi!
The error point on:

So share the output for a better troubleshout :wink:

Via Shell, the command should be more /var/log/messages

I couldn’t find anything in the file.

I would like to share it but it exceeds the max character count on the forums how should I share it?

Try a pastebin link

Here you go!

I really didn’t see anything usefull there… Actually the only sure thing Is
[EFAULT] rsync command returned 23 - PARTIAL. Check logs for further information. that indicate a partial success of command.
Did you check file permissions? There Is enough space on destination?

rsync from where to where? You could capture the command line executed if possible and try and run manually verbose to see if any messages.

The other NAS i have running also has 2x 3tb hdd disks in it, with file permissions you mean if the rsync user has acces to all the files I want to copy?

The rsync goed from Truenas scale through tailscale to my Synology nas,


I think this may be the issue?

Yep, sure is, you need to fix (and hopefully read about) permissions. You can always think you have permissions, but it doesn’t mean you do, thus the test to get the true error.