Rclone copy stops copying after about 2 seconds

Hallo, I am new in this forum and have problems with rclone copy.

rclone version:

rclone v1.68.1
- os/version: Microsoft Windows 10 Home 22H2 (64 bit)
- os/kernel: 10.0.19045.5131 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount

rclone config:

[Dell-SMB]
type = smb
host = 192.168.1.53
user = Kalli-HP
pass = ***********
domain = LAN

[Thinkcentre]
type = smb
host = 192.168.1.30
user = kalli
pass = *************
domain = LAN

rclone config redacted:

C:\Users\Kalli-HP\Downloads\rclone-v1.68.1-windows-amd64\rclone-v1.68.1-windows-amd64>rclone config redacted
[Dell-SMB]
type = smb
host = XXX
user = XXX
pass = XXX
domain = XXX

[Thinkcentre]
type = smb
host = XXX
user = XXX
pass = XXX
domain = XXX

smb Server: Openmediavault VM on Proxmox

In D:\Download there are about 100 folders with sub folders and files. And I like to copy everything in Download with same structure to Dell-SMB:\Kalli/Download

When I try: rclone copy -P -vv D:\Download Dell-SMB:\Kalli/Download the copy starts but already stops after 2 to 3 seconds. Some folders and files were transferred but not all.
When I do the same command again, the next bunch of folders will be transferred, but again only for about 2 seconds.

Here the DEBUG (as it is very long only some lines at the beginning and at the end):

C:\Users\Kalli-HP\Downloads\rclone-v1.68.1-windows-amd64\rclone-v1.68.1-windows-amd64>rclone copy -P -vv D:\Download Dell-SMB:\Kalli/Download
2024/11/16 18:33:28 DEBUG : rclone: Version "v1.68.1" starting with parameters ["rclone" "copy" "-P" "-vv" "D:\\Download" "Dell-SMB:\\Kalli/Download"]
2024/11/16 18:33:28 DEBUG : Creating backend with remote "D:\\Download"
2024/11/16 18:33:28 DEBUG : Using config file from "C:\\Users\\Kalli-HP\\AppData\\Roaming\\rclone\\rclone.conf"
2024/11/16 18:33:28 DEBUG : fs cache: renaming cache item "D:\\Download" to be canonical "//?/D:/Download"
2024/11/16 18:33:28 DEBUG : Creating backend with remote "Dell-SMB:\\Kalli/Download"
2024/11/16 18:33:28 DEBUG : fs cache: renaming cache item "Dell-SMB:\\Kalli/Download" to be canonical "Dell-SMB:Kalli/Download"
2024/11/16 18:33:28 DEBUG : Bluetooth.txt: Need to transfer - File not found at Destination
2024/11/16 18:33:28 DEBUG : Mobile_de Harley.txt: Need to transfer - File not found at Destination
2024/11/16 18:33:28 DEBUG : nextcloud-docker.txt: Need to transfer - File not found at Destination
2024/11/16 18:33:28 DEBUG : Xiami Sensor Token.txt: Need to transfer - File not found at Destination

2024/11/16 18:33:30 DEBUG : Lotus Organizer/Lotus/EXTRA/EXPAST/STDOLE2.TL_: Need to transfer - File not found at Destination
2024/11/16 18:33:30 DEBUG : LCDHype/lcdhype_version_036/data/help/english/menu/working.htm: Need to transfer - File not found at Destination
2024/11/16 18:33:30 DEBUG : Mercedes C180/C 180 T-Modell-Dateien/SOME_018.jpg: Need to transfer - File not found at Destination
2024/11/16 18:33:30 DEBUG : Lotus Organizer/Lotus/LOTUS/LOTUS070.DSK: Need to transfer - File not found at Destination
Transferred:       19.341 MiB / 6.044 GiB, 0%, 9.170 MiB/s, ETA 11m12s
Transferred:            6 / 2286, 0%
Elapsed time:         2.2s
Transferring:
 *                        Xiami Sensor Token.txt:100% /372, 186/s, 0s
 * Balkonkraftwerk Alpha …023-06-03 19.12.11.jpg: 76% /10.472Mi, 6.996Mi/s, 0s
 *               ALFA WIFI Adapter/windows_7.zip: 34% /17.526Mi, 4.996Mi/s, 2s
 * Balkonkraftwerk Alpha …023-06-03 19.12.15.jpg: 41% /9.661Mi, 1.996Mi/s, 2s
C:\Users\Kalli-HP\Downloads\rclone-v1.68.1-windows-amd64\rclone-v1.68.1-windows-amd64>

Any idea how to solve this problem?

Many thanks

welcome to the fourm,

that is strange, not sure what the issue is


might check out my howto guide about rclone+smb.

fwiw, the rclone smb remote has some serious limitations, so, i never use it.

in your case, the source and dest are local and/or smb
so, i would follow my guide. that way, get native os mounting and rclone can verify file transfer using checksums.

  1. use net use to mount the smb share
  2. use rclone to do the file copy.

for the last ten years, i have been using fastcopy. verifies file transfers, works on command line, has a gui, easy to integrate with double commander, total commander and as per its name, very fast.

Thank you very much for your reply.

Recently I have made very good experience with rclone when copying few files from smb to paperless ngx. It works without problems.
Therefore I have tried rclone again for copying a big number of folders and files. Unfortunately with above problems.

Following your proposal I am now using fastcopy and that works perfectly.

Thanks again.

welcome. another reason i do not use rclone for local.
i do not want to trust a single copy tool for everything.
if there ever is a serious bug in rclone, it would affect local+smb and cloud.

fwiw, i use fastcopy with my own backup scripts. this is what the command looks like

fc_flags=/verify /no_ui /error_stop /filelog="!LOGDIR\fastcopy.log" 
cmd03=fastcopy /cmd=sync  ${fc_flags} "!SOURCEDIR\*"     /to="!DESTDIR\fastcopy\current"

and this is the actual command from the debug log

\\\\ts-credserver01\\agent_en10_ro\\fastcopy /cmd=sync  /verify /no_ui /error_stop /filelog="\\\\ts-credserver01\\agent_en10_rw\\backups\\keepass\\logs\\20241121.103915\\fastcopy.log" "b:\\falconer\\vss\\keepass_20241121.103915\\users\\user01\\keepass\\*"     /to="\\\\ts-vserver.falconer.en.keepass\\falconer.en.keepass\\falconer\\en10\\user01\\keepass\\fastcopy\\current"'

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.