Error reading destination directory with i/o errors

What is the problem you are having with rclone?

Many error reading destination directory, connection error, i/o timeout. However, it is connecting and transferring files, but files are re-uploading on every run with many errors.

Run the command 'rclone version' and share the full output of the command.

rclone v1.70.1

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 6.12.24-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

truenas SMB

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone sync -P -vv --dry-run /mnt/user/origPictures truenas:origPictures

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[Google Drive]
type = drive
scope = drive

[idrive]
type = s3
provider = IDrive
access_key_id = XXX
secret_access_key = XXX
acl = private
endpoint = i1m6.ca.idrivee2-17.com

[onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

[truenas]
type = smb
host = XXX
user = XXX
pass = XXX

A log from the command that you were trying to run with the -vv flag

It is a very large log file due to the amount of files. I have attached start of log, all errors in the log, and ending. Please let me know if additional information is required. Log was too large for pastebin

Script Starting Jun 27, 2025  22:16.11

Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone/log.txt

2025/06/27 22:16:11 DEBUG : rclone: Version "v1.70.1" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "sync" "-P" "-vv" "--dry-run" "/mnt/user/origPictures" "truenas:origPictures"]
2025/06/27 22:16:11 DEBUG : Creating backend with remote "/mnt/user/origPictures"
2025/06/27 22:16:11 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2025/06/27 22:16:11 DEBUG : Creating backend with remote "truenas:origPictures"

2025/06/27 22:16:11 DEBUG : 20210531110152_647A3462.JPG: Size and modification time the same (differ by 0s, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 40, 0%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110151_647A3461.JPG: checking
 *                   20210531110152_647A3462.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110152_647A3462.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 41, 0%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110151_647A3461.JPG: checking
 *                   20210531110152_647A3462.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110151_647A3461.JPG: Size and modification time the same (differ by -14ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 42, 0%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110151_647A3461.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110151_647A3461.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 0 / 44, 0%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110151_647A3461.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110224_647A3464.JPG: Size and modification time the same (differ by -78ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 1 / 127, 1%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110213_647A3463.JPG: checking
 *                   20210531110224_647A3464.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110224_647A3464.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 2 / 129, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110213_647A3463.JPG: checking
 *                   20210531110224_647A3464.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110213_647A3463.JPG: Size and modification time the same (differ by -66ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 2 / 129, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110213_647A3463.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110213_647A3463.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 3 / 131, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210531110213_647A3463.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110226_647A3465_1.JPG: Size and modification time the same (differ by -15ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 4 / 191, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                 20210531110226_647A3465_1.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210531110226_647A3465_1.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 4 / 193, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                 20210531110226_647A3465_1.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210602074137_647A3466.JPG: Size and modification time the same (differ by -76ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 5 / 216, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210602074137_647A3466.JPG: checking
 *                   20210602074153_647A3467.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210602074137_647A3466.JPG: Unchanged skipping
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 5 / 216, 2%, Listed 5512
Elapsed time:         0.4s
Checking:
 *                   20210602074137_647A3466.JPG: checking
 *                   20210602074153_647A3467.JPG: checking
 *                   20210602074155_647A3468.JPG: checking
2025/06/27 22:16:11 DEBUG : 20210602074153_647A3467.JPG: Size and modification time the same (differ by -34ns, within tolerance 1ms)
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                 5 / 215, 2%, Listed 5512
Elapsed time:         0.4s

	Line 269222: 2025/06/27 22:21:11 ERROR : 8YearAnniversary: error reading destination directory: readdir 8YearAnniversary: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 275589: 2025/06/27 22:21:11 ERROR : 2021/2021-01-04: error reading destination directory: readdir 2021\2021-01-04: connection error: read tcp 192.168.50.6:56590->192.168.50.10:445: i/o timeout
	Line 284436: 2025/06/27 22:21:12 ERROR : 2021-01-08: error reading destination directory: readdir 2021-01-08: connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
	Line 284973: 2025/06/27 22:21:12 ERROR : Nonna Rosa Interview: error reading destination directory: open Nonna Rosa Interview: connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
	Line 285648: 2025/06/27 22:21:12 ERROR : Luminar/Backups: error reading destination directory: open Luminar\Backups: connection error: read tcp 192.168.50.6:56590->192.168.50.10:445: i/o timeout
	Line 287801: 2025/06/27 22:21:12 ERROR : Muhsroom Hike: error reading destination directory: open Muhsroom Hike: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 288184: 2025/06/27 22:21:12 ERROR : 2021/2021-01-07: error reading destination directory: readdir 2021\2021-01-07: connection error: read tcp 192.168.50.6:56654->192.168.50.10:445: i/o timeout
	Line 290225: 2025/06/27 22:21:12 ERROR : Nonno Michele Birthday: error reading destination directory: open Nonno Michele Birthday: connection error: read tcp 192.168.50.6:56590->192.168.50.10:445: i/o timeout
	Line 290251: 2025/06/27 22:21:12 ERROR : MobileBackup/REDACTED: error reading destination directory: open MobileBackup\REDACTED: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 295681: 2025/06/27 22:21:12 ERROR : Nonna Rosa's 88th: error reading destination directory: open Nonna Rosa's 88th: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 295917: 2025/06/27 22:21:12 ERROR : Rockies: error reading destination directory: open Rockies: connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
	Line 295972: 2025/06/27 22:21:12 ERROR : System Volume Information: error reading destination directory: open System Volume Information: connection error: read tcp 192.168.50.6:56590->192.168.50.10:445: i/o timeout
	Line 296421: 2025/06/27 22:21:12 ERROR : Luminar/PreviewCache: error reading destination directory: open Luminar\PreviewCache: connection error: read tcp 192.168.50.6:56654->192.168.50.10:445: i/o timeout
	Line 297518: 2025/06/27 22:21:12 ERROR : Violet: error reading destination directory: open Violet: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 324150: 2025/06/27 22:21:12 ERROR : Grand Bend: error reading destination directory: readdir Grand Bend: connection error: read tcp 192.168.50.6:56610->192.168.50.10:445: i/o timeout
	Line 326650: 2025/06/27 22:21:12 ERROR : Mosport: error reading destination directory: open Mosport: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 327014: 2025/06/27 22:21:12 ERROR : 2025 Mothers Day/Lightroom Output: error reading destination directory: readdir 2025 Mothers Day\Lightroom Output: connection error: read tcp 192.168.50.6:56626->192.168.50.10:445: i/o timeout
	Line 345354: 2025/06/27 22:21:12 ERROR : Luminar/CacheDocuments: error reading destination directory: open Luminar\CacheDocuments: connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
	Line 346661: 2025/06/27 22:21:12 ERROR : 2021/2021-04-20: error reading destination directory: readdir 2021\2021-04-20: connection error: read tcp 192.168.50.6:56622->192.168.50.10:445: i/o timeout
	Line 346954: 2025/06/27 22:21:13 ERROR : 2021/2021-04-22: error reading destination directory: readdir 2021\2021-04-22: connection error: read tcp 192.168.50.6:56638->192.168.50.10:445: i/o timeout
	Line 346990: 2025/06/27 22:21:13 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting files as there were IO errors
	Line 346996: 2025/06/27 22:21:13 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting directories as there were IO errors
	Line 347002: 2025/06/27 22:21:13 ERROR : Attempt 1/3 failed with 21 errors and: march failed with 20 error(s): first error: readdir 8YearAnniversary: connection error: read tcp 192.168.50.6:56586->192.168.50.10:445: i/o timeout
	Line 388462: 2025/06/27 22:21:13 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: error reading destination root directory: open : connection error: read tcp 192.168.50.6:56654->192.168.50.10:445: i/o timeout
	Line 388813: 2025/06/27 22:21:13 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting files as there were IO errors
	Line 388819: 2025/06/27 22:21:13 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting directories as there were IO errors
	Line 388825: 2025/06/27 22:21:13 ERROR : Attempt 2/3 failed with 1 errors and: open : connection error: read tcp 192.168.50.6:56654->192.168.50.10:445: i/o timeout
	Line 430195: 2025/06/27 22:21:14 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: error reading destination root directory: open : connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
	Line 430249: 2025/06/27 22:21:14 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting files as there were IO errors
	Line 430255: 2025/06/27 22:21:14 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting directories as there were IO errors
	Line 430261: 2025/06/27 22:21:14 ERROR : Attempt 3/3 failed with 1 errors and: open : connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout

2025/06/27 22:21:14 ERROR : smb://REDACTED@192.168.50.10:445/origPictures/: not deleting directories as there were IO errors
Transferred:   	  570.276 GiB / 570.276 GiB, 100%, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:             11468 / 11468, 100%, Listed 33268
Transferred:         9905 / 9905, 100%
Elapsed time:       5m3.0s
2025/06/27 22:21:14 ERROR : Attempt 3/3 failed with 1 errors and: open : connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout
Transferred:   	  570.276 GiB / 570.276 GiB, 100%, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:             11468 / 11468, 100%, Listed 33268
Transferred:         9905 / 9905, 100%
Elapsed time:       5m3.0sTransferred:   	  570.276 GiB / 570.276 GiB, 100%, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:             11468 / 11468, 100%, Listed 33268
Transferred:         9905 / 9905, 100%
Elapsed time:       5m3.0s
2025/06/27 22:21:14 NOTICE: 
Transferred:   	  570.276 GiB / 570.276 GiB, 100%, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Checks:             11468 / 11468, 100%, Listed 33268
Transferred:         9905 / 9905, 100%
Elapsed time:       5m3.0s

2025/06/27 22:21:14 DEBUG : 4 go routines active
2025/06/27 22:21:14 DEBUG : smb://REDACTED@192.168.50.10:445/origPictures/: Closing 8 unused connections
2025/06/27 22:21:14 NOTICE: Failed to sync: open : connection error: read tcp 192.168.50.6:56596->192.168.50.10:445: i/o timeout

welcome to the forum,

did not see that?


please use and post the output of a rclone debug log, not screen output of progress statistics.


fwiw, i cannot trust the smb remote:

  • lacks file verification using checksums
  • other bugs and issues
  • the upstream library has not been updated in over three years.

check out my How to access SMB/SAMBA with rclone


as a test, might copy files using sftp. see if you get the same errors...