What is the problem you are having with rclone?
slow startup time when copying/deleting/moving only one file. It takes double digit number of seconds to do one operation on one file.
example below is with crypt remote on top, but the results are identical without crypt. Any magic to make it faster? What is it doing for dozens of seconds before even starting to copy?
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.0
- os/version: centos 7.9.2009 (64 bit)
- os/kernel: 4.18.0-553.6.1.el8.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone --drive-chunk-size 128M --ignore-checksum move /tmp/jbu-STATS2-20250119191950-2e.tar.bz2 archive2:ftp-extracts/jbu/STATS2/20250119191950
Config
rclone --config /etc/rclone.conf config redacted
[archive2]
type = crypt
remote = archive2_team_drive:
password = XXX
password2 = XXX
server_side_across_configs = true
filename_encryption = off
directory_name_encryption = false
[archive2_team_drive]
team_drive = XXX
type = drive
scope = drive
use_trash = false
chunk_size = 128M
acknowledge_abuse = true
server_side_across_configs = true
stop_on_upload_limit = true
stop_on_download_limit = true
service_account_credentials = XXX
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
2025/01/20 21:08:49 DEBUG : 12 go routines active
2025/01/20 21:08:50 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "--config" "/etc/rclone.conf" "--drive-chunk-size" "128M" "--ignore-checksum" "--log-level" "DEBUG" "--log-file" "/tmp/extracts.rclone.debug.log" "move" "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2" "archive2:ftp-extracts/jbu/STATS2/20250119191950"]
2025/01/20 21:08:50 DEBUG : Creating backend with remote "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2"
2025/01/20 21:08:50 DEBUG : Using config file from "/etc/rclone.conf"
2025/01/20 21:08:50 DEBUG : fs cache: renaming child cache item "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2" to be canonical for parent "/tmp"
2025/01/20 21:08:50 DEBUG : Creating backend with remote "archive2:ftp-extracts/jbu/STATS2/20250119191950"
2025/01/20 21:08:50 DEBUG : Creating backend with remote "archive2_team_drive:ftp-extracts/jbu/STATS2/20250119191950.bin"
2025/01/20 21:08:50 DEBUG : archive2_team_drive: detected overridden config - adding "{OgfZc}" suffix to name
2025/01/20 21:09:02 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "--config" "/etc/rclone.conf" "--drive-chunk-size" "128M" "--ignore-checksum" "--log-level" "DEBUG" "--log-file" "/tmp/extracts.rclone.debug.log" "move" "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2" "archive2:ftp-extracts/jbu/STATS2/20250119191950"]
2025/01/20 21:09:02 DEBUG : Creating backend with remote "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2"
2025/01/20 21:09:02 DEBUG : Using config file from "/etc/rclone.conf"
2025/01/20 21:09:02 DEBUG : fs cache: renaming child cache item "/tmp/jbu-STATS2-20250119191950-2e.tar.bz2" to be canonical for parent "/tmp"
2025/01/20 21:09:02 DEBUG : Creating backend with remote "archive2:ftp-extracts/jbu/STATS2/20250119191950"
2025/01/20 21:09:02 DEBUG : Creating backend with remote "archive2_team_drive:ftp-extracts/jbu/STATS2/20250119191950.bin"
2025/01/20 21:09:02 DEBUG : archive2_team_drive: detected overridden config - adding "{OgfZc}" suffix to name
2025/01/20 21:09:14 DEBUG : fs cache: renaming cache item "archive2_team_drive:ftp-extracts/jbu/STATS2/20250119191950.bin" to be canonical "archive2_team_drive{OgfZc}:ftp-extracts/jbu/STATS2/20250119191950.bin"
2025/01/20 21:09:14 DEBUG : Creating backend with remote "archive2_team_drive:ftp-extracts/jbu/STATS2/20250119191950"
2025/01/20 21:09:14 DEBUG : archive2_team_drive: detected overridden config - adding "{OgfZc}" suffix to name
2025/01/20 21:09:24 DEBUG : fs cache: renaming cache item "archive2_team_drive:ftp-extracts/jbu/STATS2/20250119191950" to be canonical "archive2_team_drive{OgfZc}:ftp-extracts/jbu/STATS2/20250119191950"
2025/01/20 21:09:25 DEBUG : jbu-STATS2-20250119191950-2e.tar.bz2: Need to transfer - File not found at Destination
2025/01/20 21:09:39 INFO : jbu-STATS2-20250119191950-2e.tar.bz2: Copied (new)
2025/01/20 21:09:39 INFO : jbu-STATS2-20250119191950-2e.tar.bz2: Deleted
2025/01/20 21:09:39 INFO :
Transferred: 728.968 KiB / 728.968 KiB, 100%, 52.068 KiB/s, ETA 0s
Checks: 1 / 1, 100%
Deleted: 1 (files), 0 (dirs), 728.749 KiB (freed)
Renamed: 1
Transferred: 1 / 1, 100%
Elapsed time: 14.3s