What is the problem you are having with rclone?
A problem to copy (copyto, sync) local files to One Google.
Some part of my files is not copied with the message
Failed to copy: read : input/output error
Note:
- The same files are copied from one local directory to another local one
- The other files in the same directory are copied successfully, with the same RW properties, similar names (latin or cyrillic, with or without spaces)
- The files successfully copied are tens of thousands, not copied - hundreds, different sizes, types, names and so on.
What is your rclone version (output from rclone version
)
rclone v1.55.0
- os/type: linux
- os/arch: amd64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux Mint 64 bit
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
)
sudo rclone copyto /mnt/vol1/wxona/1/test/ drvlas:vol1/wcomm/wxona/1/test
sudo rclone sync -i /mnt/vol1/wxona/1/test/ drvlas:vol1/wcomm/wxona/1/test
The rclone config contents with secrets removed.
[drvlas]
type = drive
scope = drive
token = {"access_token":"...","token_type":"Bearer","refresh_token":"...","expiry":"2021-04-25T13:49:03.011640185+03:00"}
A log from the command with the -vv
flag
2021/04/25 12:57:03 DEBUG : Using config file from "/home/<username>/.config/rclone/rclone.conf"
2021/04/25 12:57:03 DEBUG : rclone: Version "v1.55.0" starting with parameters ["rclone" "-vv" "copyto" "/mnt/vol1/wxona/1/test/" "drvlas:vol1/wcomm/wxona/1/test"]
2021/04/25 12:57:03 DEBUG : Creating backend with remote "/mnt/vol1/wxona/1/test/"
2021/04/25 12:57:03 DEBUG : Creating backend with remote "drvlas:vol1/wcomm/wxona/1/test"
2021/04/25 12:57:03 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': root_folder_id = "..." - save this in the config to speed up startup
2021/04/25 12:57:05 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for checks to finish
2021/04/25 12:57:05 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for transfers to finish
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 1/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 2/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 3/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 4/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 5/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 6/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 7/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 8/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 9/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 10/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:06 DEBUG : bad.png: Reopen failed after 0 bytes read: failed to reopen: too many retries
2021/04/25 12:57:06 ERROR : bad.png: Failed to copy: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:07 DEBUG : good.jpg: MD5 = d37aaaa182d0a26b51a8eec0add81bb2 OK
2021/04/25 12:57:07 INFO : good.jpg: Copied (new)
2021/04/25 12:57:07 ERROR : Attempt 1/3 failed with 1 errors and: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:07 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for checks to finish
2021/04/25 12:57:07 DEBUG : good.jpg: Size and modification time the same (differ by -900.8µs, within tolerance 1ms)
2021/04/25 12:57:07 DEBUG : good.jpg: Unchanged skipping
2021/04/25 12:57:07 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for transfers to finish
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 1/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 2/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 3/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 4/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 5/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 6/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 7/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 8/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 9/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 10/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopen failed after 0 bytes read: failed to reopen: too many retries
2021/04/25 12:57:08 ERROR : bad.png: Failed to copy: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 ERROR : Attempt 2/3 failed with 1 errors and: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for checks to finish
2021/04/25 12:57:08 DEBUG : good.jpg: Size and modification time the same (differ by -900.8µs, within tolerance 1ms)
2021/04/25 12:57:08 DEBUG : good.jpg: Unchanged skipping
2021/04/25 12:57:08 DEBUG : Google drive root 'vol1/wcomm/wxona/1/test': Waiting for transfers to finish
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 1/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 2/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 3/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 4/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 5/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 6/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 7/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 8/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 9/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopening on read failure after 0 bytes: retry 10/10: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:08 DEBUG : bad.png: Reopen failed after 0 bytes read: failed to reopen: too many retries
2021/04/25 12:57:09 ERROR : bad.png: Failed to copy: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:09 ERROR : Attempt 3/3 failed with 1 errors and: read /mnt/vol1/wxona/1/test/bad.png: input/output error
2021/04/25 12:57:09 INFO :
Transferred: 34.627k / 34.627 kBytes, 100%, 12.638 kBytes/s, ETA 0s
Errors: 1 (retrying may help)
Checks: 2 / 2, 100%
Transferred: 1 / 1, 100%
Elapsed time: 5.8s
2021/04/25 12:57:09 DEBUG : 6 go routines active
2021/04/25 12:57:09 Failed to copyto: read /mnt/vol1/wxona/1/test/bad.png: input/output error