# Problem with copy/check files (SMB+SD)

**URL:** <https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220>\
**Category:** Help and Support\
**Created:** [October 14, 2024, 8:52pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220 "2024-10-14T20:52:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![w.v](https://forum.rclone.org/letter_avatar_proxy/v4/letter/w/b5e925/32.png) [@w.v](https://forum.rclone.org/u/w.v)\
**Post date:** [October 14, 2024, 8:52pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220/1 "2024-10-14T20:52:37Z")

</div>

#### What is the problem you are having with rclone?

Having 2 questions.

1. Why after copy some files differs from source even 1,8s? So when i dry-run after it i get again some files need to transfer
2. (Done) Why debug says that? I tried md5sum and it works on this files  
`No common hash found - not using a hash for checks`

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

/ # rclone version  
rclone v1.68.1-termux

- os/version: unknown
- os/kernel: 4.14.197-Xtended (armv8l)
- os/type: android
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.1
- go/linking: dynamic
- go/tags: noselfupdate

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

SMB (linux,laptop) -\> SDcard on android

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

```auto
"rclone" "copy" "-n" "--modify-window" "2s" "-vv" "--exclude" "/Ringtones/ **" "--exclude" "**.sync.ffs_db" "SMB:/Музыка/VA/" "/storage/395A-8B60/Музыка/VA/"
##and also
"rclone" check "--modify-window" "1s" "-vv" "--exclude" "/Ringtones/ **" "--exclude" "**.sync.ffs_db" "SMB:/Музыка/VA/" "/storage/395A-8B60/Музыка/VA/" &>/data/local/tmp/1.txt

```

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

```auto
[SMB]
type = smb
host = 192.168.1.149

```

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

```auto
2024/10/14 20:29:02 DEBUG : rclone: Version "v1.68.1-termux" starting with parameters ["rclone" "check" "--modify-window" "1s" "-vv" "--exclude" "/Ringtones/ **" "--exclude" "**.sync.ffs_db" "SMB:/Музыка/VA/" "/storage/395A-8B60/Музыка/VA/"]
2024/10/14 20:29:02 DEBUG : Creating backend with remote "SMB:/Музыка/VA/"
2024/10/14 20:29:02 DEBUG : Using config file from "/storage/emulated/0/Скрипты/rclone.conf"
2024/10/14 20:29:03 DEBUG : smb://root@192.168.1.149:445/Музыка/VA: Using root directory "Музыка/VA"
2024/10/14 20:29:03 DEBUG : fs cache: renaming cache item "SMB:/Музыка/VA/" to be canonical "SMB:Музыка/VA"
2024/10/14 20:29:03 DEBUG : Creating backend with remote "/storage/395A-8B60/Музыка/VA/"
2024/10/14 20:29:03 DEBUG : fs cache: renaming cache item "/storage/395A-8B60/Музыка/VA/" to be canonical "/storage/395A-8B60/Музыка/VA"
2024/10/14 20:29:03 ERROR : No common hash found - not using a hash for checks
2024/10/14 20:29:03 DEBUG : Local file system at /storage/395A-8B60/Музыка/VA: Waiting for checks to finish
...
2024/10/14 20:29:03 DEBUG : Trance/Believe In Me - ATB.flac: OK - could not check hash
...
2024/10/14 20:29:03 NOTICE: Local file system at /storage/395A-8B60/Музыка/VA: 1603 matching files
2024/10/14 20:29:03 INFO : 
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 1603 / 1603, 100%
Elapsed time: 1.0s

2024/10/14 20:29:03 DEBUG : 19 go routines active

```

#and copy try (after copy)

```auto
2024/10/14 20:48:43 DEBUG : rclone: Version "v1.68.1-termux" starting with parameters ["rclone" "copy" "-n" "--modify-window" "1s" "-vv" "--exclude" "/Ringtones/ **" "--exclude" "**.sync.ffs_db" "SMB:/Музыка/VA/" "/storage/395A-8B60/Музыка/VA/"]
2024/10/14 20:48:43 DEBUG : Creating backend with remote "SMB:/Музыка/VA/"
2024/10/14 20:48:43 DEBUG : Using config file from "/storage/emulated/0/Скрипты/rclone.conf"
2024/10/14 20:48:44 DEBUG : smb://root@192.168.1.149:445/Музыка/VA: Using root directory "Музыка/VA"
2024/10/14 20:48:44 DEBUG : fs cache: renaming cache item "SMB:/Музыка/VA/" to be canonical "SMB:Музыка/VA"
2024/10/14 20:48:44 DEBUG : Creating backend with remote "/storage/395A-8B60/Музыка/VA/"
2024/10/14 20:48:44 DEBUG : fs cache: renaming cache item "/storage/395A-8B60/Музыка/VA/" to be canonical "/storage/395A-8B60/Музыка/VA"
...
2024/10/14 20:48:45 DEBUG : Trance/Believe In Me - ATB.flac: Modification times differ by -1.84s: 2021-07-05 19:08:15.84 +0000 UTC, 2021-07-05 19:08:14 +0000 UTC
...
Transferred: 866.885 MiB / 866.885 MiB, 100%, 0 B/s, ETA -
Checks: 1603 / 1603, 100%
Transferred: 50 / 50, 100%
Elapsed time: 1.5s

2024/10/14 20:48:45 DEBUG : 19 go routines active

```

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [October 14, 2024, 9:01pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220/2 "2024-10-14T21:01:52Z")

</div>

> [@w.v](#):
>
> Why debug says that? I tried md5sum and it works on this files  
> `No common hash found - not using a hash for checks`

afiak, rclone smb remote does not support checksums.

```auto
rclone backend features smb: | grep "Hashes"
        "Hashes": [],

```

[https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754](https://forum.rclone.org/t/how-to-accesssmb-samba-with-rclone/42754)  
check out my howto guide for details and workarounds.  
tho the workaround requires mount, which termux cannot do without root.

as for `rclone check`, might try  
`--download Check by downloading rather than with hash`

> [@w.v](#):
>
> SDcard on android

as a workaround, termux support sftp server, which can support hashes.  
or run `rclone serve sftp`

---

<div class="post-metadata">

**Author:** ![w.v](https://forum.rclone.org/letter_avatar_proxy/v4/letter/w/b5e925/32.png) [@w.v](https://forum.rclone.org/u/w.v)\
**Post date:** [October 14, 2024, 11:04pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220/3 "2024-10-14T23:04:31Z")

</div>

Get it, thanks.  
Maybe someone else knows about time difference problem?

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [October 14, 2024, 11:11pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220/4 "2024-10-14T23:11:21Z")

</div>

welcome.

about the time difference, without a debug log, no way to know, can be many reasons for it.  
can copy a single file using `--dry-run -vv` and post the output.

different backends(smb), different file systems(fat), etc.., each with different resolution for timestamps.  
much discussed in the forum, can search about that.

there are a few possible workarounds,  
might try `--refresh-times`, `--modify-window`

```auto
rclone v1.68.0-termux
- os/version: unknown
- os/kernel: 5.10.198-android13-4-00050-g12f3388846c3-ab11920634 (aarch64)
- os/type: android
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.23.0
- go/linking: dynamic
- go/tags: noselfupdate

rclone backend features local | grep "Precision"
        "Precision": 1

```

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [November 13, 2024, 11:11pm UTC](https://forum.rclone.org/t/problem-with-copy-check-files-smb-sd/48220/5 "2024-11-13T23:11:57Z")

</div>

Closed on November 13, 2024, 11:11pm UTC

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