I can’t seem to find this anywhere in the TrueNAS or rclone documentation - what exactly do the different stats represent for an active sync task?
Is it normal for the totals to continually increase during the transfer? I was under the impression this functioned like rsync - step 1, figure out what needs to sync, then step 2, do the transfer. I have one transfer that just never seems to complete, as the goal seems to always get further and further away as the transfer goes on.
This’d have to be a guess but in order of appearance:
* # of files completed / # of total files remaining
* amount of data completed / amount of data remaining
* transfer speed
* estimated time of completion (based on current xfer speed vs remaining data amount)
* checksums completed successfully / total checksums performed
As for goal getting further away? Could be transfer speeds fluctuating due to: host network speeds fluctuating, client network speeds fluctuating, host read storage media speeds getting slower, client write storage media speeds getting slower. Take your pick of any combination of those reasons.
As for transfers not completing at all? No clue.
Thank you for this, that’s the legend I was looking for. I’m still unsure why my total # of files remaining
increases slowly over the lifetime of the transfer, I should think that would be static once the sync starts. I’ll start a separate thread for that.
Once again, a guess, but I think that the drives are reading the files & comparing changes during the sync instead of having them all catalogued & ready to go. So as the sync progresses it is doing both reads & writes on the client as well as reads on the host. Reads on host to get updated files, writes on client to sync files, as well as reads on client & host to compare to host and find which files to sync.
If this is indeed true, it could be more time efficient than doing a full pass of reads on both host & client to find the total # of changed files & then doing a sync. Though it makes the initial report a bit wonky as it continues to update the amount of stuff it has to complete.
But yeah, a separate post, honestly on rclone forums, might be the best way to get the more relevant answer as to the how/why instead of my guesses.
1 Like